Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -73,7 +73,7 @@ namespace Server.Items
|
|||
}
|
||||
else
|
||||
{
|
||||
m.CloseGump(typeof(AnkhResurrectGump));
|
||||
m.CloseGump<AnkhResurrectGump>();
|
||||
m.SendGump(new AnkhResurrectGump(m, ResurrectMessage.VirtueShrine));
|
||||
}
|
||||
}
|
||||
|
|
@ -310,7 +310,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(RewardOptionGump));
|
||||
from.CloseGump<RewardOptionGump>();
|
||||
from.SendGump(new RewardOptionGump(this));
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ namespace Server.Items
|
|||
|
||||
if (house != null && house.IsOwner(from))
|
||||
{
|
||||
from.CloseGump(typeof(RewardDemolitionGump));
|
||||
from.CloseGump<RewardDemolitionGump>();
|
||||
from.SendGump(new RewardDemolitionGump(this, 1018318)); // Do you wish to re-deed this banner?
|
||||
}
|
||||
else
|
||||
|
|
@ -164,7 +164,7 @@ namespace Server.Items
|
|||
|
||||
if (house != null && house.IsOwner(from))
|
||||
{
|
||||
from.CloseGump(typeof(InternalGump));
|
||||
from.CloseGump<InternalGump>();
|
||||
from.SendGump(new InternalGump(this));
|
||||
}
|
||||
else
|
||||
|
|
@ -209,7 +209,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
@ -296,7 +296,7 @@ namespace Server.Items
|
|||
|
||||
if (north && west)
|
||||
{
|
||||
from.CloseGump(typeof(FacingGump));
|
||||
from.CloseGump<FacingGump>();
|
||||
from.SendGump(new FacingGump(m_Banner, m_ItemID, p3d, house));
|
||||
}
|
||||
else if (north || west)
|
||||
|
|
@ -352,7 +352,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(InternalGump));
|
||||
from.CloseGump<InternalGump>();
|
||||
from.SendGump(new InternalGump(this));
|
||||
}
|
||||
else
|
||||
|
|
@ -213,7 +213,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
@ -455,7 +455,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(RewardOptionGump));
|
||||
from.CloseGump<RewardOptionGump>();
|
||||
from.SendGump(new RewardOptionGump(this));
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ namespace Server.Items
|
|||
|
||||
if (house != null && house.IsOwner(from))
|
||||
{
|
||||
from.CloseGump(typeof(RewardDemolitionGump));
|
||||
from.CloseGump<RewardDemolitionGump>();
|
||||
from.SendGump(new RewardDemolitionGump(this, 1049783)); // Do you wish to re-deed this decoration?
|
||||
}
|
||||
else
|
||||
|
|
@ -163,7 +163,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(InternalGump));
|
||||
from.CloseGump<InternalGump>();
|
||||
from.SendGump(new InternalGump(this));
|
||||
}
|
||||
else
|
||||
|
|
@ -217,7 +217,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
@ -312,7 +312,7 @@ namespace Server.Items
|
|||
|
||||
if (north && west)
|
||||
{
|
||||
from.CloseGump(typeof(FacingGump));
|
||||
from.CloseGump<FacingGump>();
|
||||
from.SendGump(new FacingGump(m_Shield, m_ItemID, p3d, house));
|
||||
}
|
||||
else if (north || west)
|
||||
|
|
@ -368,7 +368,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ namespace Server.Items
|
|||
|
||||
if (house != null && house.IsOwner(from))
|
||||
{
|
||||
from.CloseGump(typeof(RewardDemolitionGump));
|
||||
from.CloseGump<RewardDemolitionGump>();
|
||||
from.SendGump(new RewardDemolitionGump(this, 1018329)); // Do you wish to re-deed this skull?
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ namespace Server.Items
|
|||
|
||||
if (house != null && house.IsOwner(from))
|
||||
{
|
||||
from.CloseGump(typeof(RewardDemolitionGump));
|
||||
from.CloseGump<RewardDemolitionGump>();
|
||||
from.SendGump(new RewardDemolitionGump(this, 1049783)); // Do you wish to re-deed this decoration?
|
||||
}
|
||||
else
|
||||
|
|
@ -169,7 +169,7 @@ namespace Server.Items
|
|||
|
||||
if (house != null && house.IsOwner(from))
|
||||
{
|
||||
from.CloseGump(typeof(InternalGump));
|
||||
from.CloseGump<InternalGump>();
|
||||
from.SendGump(new InternalGump(this));
|
||||
}
|
||||
else
|
||||
|
|
@ -221,7 +221,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
@ -304,7 +304,7 @@ namespace Server.Items
|
|||
|
||||
if (north && west)
|
||||
{
|
||||
from.CloseGump(typeof(FacingGump));
|
||||
from.CloseGump<FacingGump>();
|
||||
from.SendGump(new FacingGump(m_Skeleton, m_ItemID, p3d, house));
|
||||
}
|
||||
else if (north || west)
|
||||
|
|
@ -360,7 +360,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(RewardOptionGump));
|
||||
from.CloseGump<RewardOptionGump>();
|
||||
from.SendGump(new RewardOptionGump(this));
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(RewardOptionGump));
|
||||
from.CloseGump<RewardOptionGump>();
|
||||
from.SendGump(new RewardOptionGump(this));
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(InternalGump));
|
||||
from.CloseGump<InternalGump>();
|
||||
from.SendGump(new InternalGump(this));
|
||||
}
|
||||
else
|
||||
|
|
@ -141,7 +141,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ namespace Server.Items
|
|||
|
||||
if (house != null && house.IsOwner(from))
|
||||
{
|
||||
from.CloseGump(typeof(RewardDemolitionGump));
|
||||
from.CloseGump<RewardDemolitionGump>();
|
||||
from.SendGump(new RewardDemolitionGump(this, 1049783)); // Do you wish to re-deed this decoration?
|
||||
}
|
||||
else
|
||||
|
|
@ -192,7 +192,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(InternalGump));
|
||||
from.CloseGump<InternalGump>();
|
||||
from.SendGump(new InternalGump(this));
|
||||
}
|
||||
else
|
||||
|
|
@ -242,7 +242,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(RewardOptionGump));
|
||||
from.CloseGump<RewardOptionGump>();
|
||||
from.SendGump(new RewardOptionGump(this));
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -317,7 +317,7 @@ namespace Server.Items
|
|||
|
||||
if (IsChildOf(from.Backpack))
|
||||
{
|
||||
from.CloseGump(typeof(InternalGump));
|
||||
from.CloseGump<InternalGump>();
|
||||
from.SendGump(new InternalGump(this));
|
||||
}
|
||||
else
|
||||
|
|
@ -361,7 +361,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddBackground(25, 0, 500, 265, 0xA28);
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public virtual bool ShowUsesRemaining
|
||||
public bool ShowUsesRemaining
|
||||
{
|
||||
get => true;
|
||||
set { }
|
||||
|
|
@ -211,7 +211,7 @@ namespace Server.Items
|
|||
|
||||
if (targeted is BaseWeapon item)
|
||||
{
|
||||
from.CloseGump(typeof(InternalGump));
|
||||
from.CloseGump<InternalGump>();
|
||||
from.SendGump(new InternalGump(m_Tool, item));
|
||||
}
|
||||
else
|
||||
|
|
@ -233,7 +233,7 @@ namespace Server.Items
|
|||
|
||||
Closable = true;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddBackground(50, 50, 400, 300, 0xA28);
|
||||
|
|
@ -310,7 +310,7 @@ namespace Server.Items
|
|||
|
||||
Closable = false;
|
||||
Disposable = true;
|
||||
Dragable = true;
|
||||
Draggable = true;
|
||||
Resizable = false;
|
||||
|
||||
AddPage(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue