Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -756,31 +756,31 @@ namespace Server.Multis
|
|||
|
||||
if (result == DryDockResult.Dead)
|
||||
{
|
||||
@from.SendLocalizedMessage(502493); // You appear to be dead.
|
||||
from.SendLocalizedMessage(502493); // You appear to be dead.
|
||||
}
|
||||
else if (result == DryDockResult.NoKey)
|
||||
{
|
||||
@from.SendLocalizedMessage(502494); // You must have a key to the ship to dock the boat.
|
||||
from.SendLocalizedMessage(502494); // You must have a key to the ship to dock the boat.
|
||||
}
|
||||
else if (result == DryDockResult.NotAnchored)
|
||||
{
|
||||
@from.SendLocalizedMessage(1010570); // You must lower the anchor to dock the boat.
|
||||
from.SendLocalizedMessage(1010570); // You must lower the anchor to dock the boat.
|
||||
}
|
||||
else if (result == DryDockResult.Mobiles)
|
||||
{
|
||||
@from.SendLocalizedMessage(502495); // You cannot dock the ship with beings on board!
|
||||
from.SendLocalizedMessage(502495); // You cannot dock the ship with beings on board!
|
||||
}
|
||||
else if (result == DryDockResult.Items)
|
||||
{
|
||||
@from.SendLocalizedMessage(502496); // You cannot dock the ship with a cluttered deck.
|
||||
from.SendLocalizedMessage(502496); // You cannot dock the ship with a cluttered deck.
|
||||
}
|
||||
else if (result == DryDockResult.Hold)
|
||||
{
|
||||
@from.SendLocalizedMessage(502497); // Make sure your hold is empty, and try again!
|
||||
from.SendLocalizedMessage(502497); // Make sure your hold is empty, and try again!
|
||||
}
|
||||
else if (result == DryDockResult.Valid)
|
||||
{
|
||||
@from.SendGump(new ConfirmDryDockGump(@from, this));
|
||||
from.SendGump(new ConfirmDryDockGump(from, this));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -795,27 +795,27 @@ namespace Server.Multis
|
|||
|
||||
if (result == DryDockResult.Dead)
|
||||
{
|
||||
@from.SendLocalizedMessage(502493); // You appear to be dead.
|
||||
from.SendLocalizedMessage(502493); // You appear to be dead.
|
||||
}
|
||||
else if (result == DryDockResult.NoKey)
|
||||
{
|
||||
@from.SendLocalizedMessage(502494); // You must have a key to the ship to dock the boat.
|
||||
from.SendLocalizedMessage(502494); // You must have a key to the ship to dock the boat.
|
||||
}
|
||||
else if (result == DryDockResult.NotAnchored)
|
||||
{
|
||||
@from.SendLocalizedMessage(1010570); // You must lower the anchor to dock the boat.
|
||||
from.SendLocalizedMessage(1010570); // You must lower the anchor to dock the boat.
|
||||
}
|
||||
else if (result == DryDockResult.Mobiles)
|
||||
{
|
||||
@from.SendLocalizedMessage(502495); // You cannot dock the ship with beings on board!
|
||||
from.SendLocalizedMessage(502495); // You cannot dock the ship with beings on board!
|
||||
}
|
||||
else if (result == DryDockResult.Items)
|
||||
{
|
||||
@from.SendLocalizedMessage(502496); // You cannot dock the ship with a cluttered deck.
|
||||
from.SendLocalizedMessage(502496); // You cannot dock the ship with a cluttered deck.
|
||||
}
|
||||
else if (result == DryDockResult.Hold)
|
||||
{
|
||||
@from.SendLocalizedMessage(502497); // Make sure your hold is empty, and try again!
|
||||
from.SendLocalizedMessage(502497); // Make sure your hold is empty, and try again!
|
||||
}
|
||||
|
||||
if (result != DryDockResult.Valid)
|
||||
|
|
|
|||
|
|
@ -79,11 +79,11 @@ namespace Server.Multis
|
|||
{
|
||||
if (Core.SE)
|
||||
{
|
||||
@from.SendLocalizedMessage(502482); // Where do you wish to place the ship?
|
||||
from.SendLocalizedMessage(502482); // Where do you wish to place the ship?
|
||||
}
|
||||
else
|
||||
{
|
||||
@from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 502482); // Where do you wish to place the ship?
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 502482); // Where do you wish to place the ship?
|
||||
}
|
||||
|
||||
from.Target = new InternalTarget(this);
|
||||
|
|
@ -185,15 +185,15 @@ namespace Server.Multis
|
|||
|
||||
if (region.IsPartOf<DungeonRegion>())
|
||||
{
|
||||
@from.SendLocalizedMessage(502488); // You can not place a ship inside a dungeon.
|
||||
from.SendLocalizedMessage(502488); // You can not place a ship inside a dungeon.
|
||||
}
|
||||
else if (region.IsPartOf<HouseRegion>() || region.IsPartOf<ChampionSpawnRegion>())
|
||||
{
|
||||
@from.SendLocalizedMessage(1042549); // A boat may not be placed in this area.
|
||||
from.SendLocalizedMessage(1042549); // A boat may not be placed in this area.
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Deed.OnPlacement(@from, p);
|
||||
m_Deed.OnPlacement(from, p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,11 +118,11 @@ namespace Server.Multis
|
|||
{
|
||||
if (m_ShipName != null)
|
||||
{
|
||||
LabelTo(@from, m_ShipName);
|
||||
LabelTo(from, m_ShipName);
|
||||
}
|
||||
else
|
||||
{
|
||||
base.OnSingleClick(@from);
|
||||
base.OnSingleClick(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -207,15 +207,15 @@ namespace Server.Multis
|
|||
|
||||
if (region.IsPartOf<DungeonRegion>())
|
||||
{
|
||||
@from.SendLocalizedMessage(502488); // You can not place a ship inside a dungeon.
|
||||
from.SendLocalizedMessage(502488); // You can not place a ship inside a dungeon.
|
||||
}
|
||||
else if (region.IsPartOf<HouseRegion>() || region.IsPartOf<ChampionSpawnRegion>())
|
||||
{
|
||||
@from.SendLocalizedMessage(1042549); // A boat may not be placed in this area.
|
||||
from.SendLocalizedMessage(1042549); // A boat may not be placed in this area.
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Model.OnPlacement(@from, p);
|
||||
m_Model.OnPlacement(from, p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ namespace Server.Items
|
|||
}
|
||||
else
|
||||
{
|
||||
base.OnDoubleClick(@from);
|
||||
base.OnDoubleClick(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ namespace Server.Misc
|
|||
|
||||
if (canFit)
|
||||
{
|
||||
@from.Location = new Point3D(x, y, z);
|
||||
from.Location = new Point3D(x, y, z);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,11 +62,11 @@ namespace Server.Items
|
|||
{
|
||||
if (m_Boat?.ShipName != null)
|
||||
{
|
||||
LabelTo(@from, 1042884, m_Boat.ShipName); // the tiller man of the ~1_SHIP_NAME~
|
||||
LabelTo(from, 1042884, m_Boat.ShipName); // the tiller man of the ~1_SHIP_NAME~
|
||||
}
|
||||
else
|
||||
{
|
||||
base.OnSingleClick(@from);
|
||||
base.OnSingleClick(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -74,11 +74,11 @@ namespace Server.Items
|
|||
{
|
||||
if (m_Boat?.Contains(from) == true)
|
||||
{
|
||||
m_Boat.BeginRename(@from);
|
||||
m_Boat.BeginRename(from);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Boat?.BeginDryDock(@from);
|
||||
m_Boat?.BeginDryDock(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue