Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -152,11 +152,11 @@ namespace Server.Items
|
|||
{
|
||||
if (from.AccessLevel > AccessLevel.Player || from.InRange(GetWorldLocation(), 2) || RootParent is PlayerVendor)
|
||||
{
|
||||
Open(@from);
|
||||
Open(from);
|
||||
}
|
||||
else
|
||||
{
|
||||
@from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -349,7 +349,7 @@ namespace Server.Items
|
|||
|
||||
if (IsShipwreckedItem)
|
||||
{
|
||||
LabelTo(@from, 1041645); // recovered from a shipwreck
|
||||
LabelTo(from, 1041645); // recovered from a shipwreck
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ namespace Server.Items
|
|||
|
||||
for (var i = 0; i < items.Length; i++)
|
||||
{
|
||||
@from.AddToBackpack(items[i]);
|
||||
from.AddToBackpack(items[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -331,7 +331,7 @@ namespace Server.Items
|
|||
|
||||
if (from.CheckAlive())
|
||||
{
|
||||
m_Bag.SalvageAll(@from);
|
||||
m_Bag.SalvageAll(from);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -362,7 +362,7 @@ namespace Server.Items
|
|||
|
||||
if (from.CheckAlive())
|
||||
{
|
||||
m_Bag.SalvageIngots(@from);
|
||||
m_Bag.SalvageIngots(from);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -393,7 +393,7 @@ namespace Server.Items
|
|||
|
||||
if (from.CheckAlive())
|
||||
{
|
||||
m_Bag.SalvageCloth(@from);
|
||||
m_Bag.SalvageCloth(from);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace Server.Items
|
|||
{
|
||||
if (m_House?.Deleted != false || m_Owner?.Deleted != false || from == m_Owner || m_House.IsOwner(from))
|
||||
{
|
||||
Chop(@from);
|
||||
Chop(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ namespace Server.Items
|
|||
|
||||
if (CheckContentDisplay(from))
|
||||
{
|
||||
LabelTo(@from, "({0} items, {1} stones)", TotalItems, TotalWeight);
|
||||
LabelTo(from, "({0} items, {1} stones)", TotalItems, TotalWeight);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace Server.Items
|
|||
|
||||
if (TrapOnOpen)
|
||||
{
|
||||
ExecuteTrap(@from);
|
||||
ExecuteTrap(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ namespace Server.Items
|
|||
{
|
||||
if (from.InRange(loc, 1))
|
||||
{
|
||||
@from.Damage(TrapPower);
|
||||
from.Damage(TrapPower);
|
||||
}
|
||||
// AOS.Damage( from, m_TrapPower, 0, 100, 0, 0, 0 );
|
||||
|
||||
|
|
@ -198,7 +198,7 @@ namespace Server.Items
|
|||
{
|
||||
if (!TrapOnOpen || !ExecuteTrap(from))
|
||||
{
|
||||
base.Open(@from);
|
||||
base.Open(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@ namespace Server.Items
|
|||
{
|
||||
if (m.Alive)
|
||||
{
|
||||
@from.SendLocalizedMessage(
|
||||
from.SendLocalizedMessage(
|
||||
1046448
|
||||
); // You must first kill the guardians before you may open this chest.
|
||||
return true;
|
||||
|
|
@ -390,7 +390,7 @@ namespace Server.Items
|
|||
|
||||
if (Utility.RandomDouble() <= 0.1) // 10% chance to spawn a new monster
|
||||
{
|
||||
TreasureMap.Spawn(Level, GetWorldLocation(), Map, @from, false);
|
||||
TreasureMap.Spawn(Level, GetWorldLocation(), Map, from, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -486,7 +486,7 @@ namespace Server.Items
|
|||
|
||||
if (from.Alive)
|
||||
{
|
||||
list.Add(new RemoveEntry(@from, this));
|
||||
list.Add(new RemoveEntry(from, this));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue