Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -51,11 +51,11 @@ namespace Server.Items
|
|||
|
||||
if (from.InRange(GetWorldLocation(), 1))
|
||||
{
|
||||
CheckGate(@from, 1);
|
||||
CheckGate(from, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
@from.SendLocalizedMessage(500446); // That is too far away.
|
||||
from.SendLocalizedMessage(500446); // That is too far away.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -164,7 +164,7 @@ namespace Server.Items
|
|||
{
|
||||
if (message)
|
||||
{
|
||||
@from.SendLocalizedMessage(500446); // That is too far away.
|
||||
from.SendLocalizedMessage(500446); // That is too far away.
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
@ -180,7 +180,7 @@ namespace Server.Items
|
|||
{
|
||||
if (from.AccessLevel == AccessLevel.Player || !from.Hidden)
|
||||
{
|
||||
@from.Send(new PlaySound(0x20E, @from.Location));
|
||||
from.Send(new PlaySound(0x20E, from.Location));
|
||||
}
|
||||
|
||||
from.CloseGump<MoongateConfirmGump>();
|
||||
|
|
@ -211,11 +211,11 @@ namespace Server.Items
|
|||
|
||||
if (TargetMap != null)
|
||||
{
|
||||
BeginConfirmation(@from);
|
||||
BeginConfirmation(from);
|
||||
}
|
||||
else
|
||||
{
|
||||
@from.SendMessage("This moongate does not seem to go anywhere.");
|
||||
from.SendMessage("This moongate does not seem to go anywhere.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -283,7 +283,7 @@ namespace Server.Items
|
|||
{
|
||||
if (okay)
|
||||
{
|
||||
EndConfirmation(@from);
|
||||
EndConfirmation(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ namespace Server.Items
|
|||
|
||||
if (--Held == 0)
|
||||
{
|
||||
@from.SendLocalizedMessage(502245); // The keg is now empty.
|
||||
from.SendLocalizedMessage(502245); // The keg is now empty.
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -293,7 +293,7 @@ namespace Server.Items
|
|||
|
||||
if (!pot.Deleted)
|
||||
{
|
||||
pot.Bounce(@from);
|
||||
pot.Bounce(from);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
@ -323,7 +323,7 @@ namespace Server.Items
|
|||
|
||||
if (!pot.Deleted)
|
||||
{
|
||||
pot.Bounce(@from);
|
||||
pot.Bounce(from);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ namespace Server.Items
|
|||
if (m_TargetMap == Map.Tokuno)
|
||||
{
|
||||
LabelTo(
|
||||
@from,
|
||||
from,
|
||||
House != null ? 1063260 : 1063259,
|
||||
string.Format(RuneFormat, desc)
|
||||
); // ~1_val~ (Tokuno Islands)[(House)]
|
||||
|
|
@ -270,7 +270,7 @@ namespace Server.Items
|
|||
else if (m_TargetMap == Map.Malas)
|
||||
{
|
||||
LabelTo(
|
||||
@from,
|
||||
from,
|
||||
House != null ? 1062454 : 1060804,
|
||||
string.Format(RuneFormat, desc)
|
||||
); // ~1_val~ (Malas)[(House)]
|
||||
|
|
@ -278,7 +278,7 @@ namespace Server.Items
|
|||
else if (m_TargetMap == Map.Felucca)
|
||||
{
|
||||
LabelTo(
|
||||
@from,
|
||||
from,
|
||||
House != null ? 1062452 : 1060805,
|
||||
string.Format(RuneFormat, desc)
|
||||
); // ~1_val~ (Felucca)[(House)]
|
||||
|
|
@ -286,7 +286,7 @@ namespace Server.Items
|
|||
else if (m_TargetMap == Map.Trammel)
|
||||
{
|
||||
LabelTo(
|
||||
@from,
|
||||
from,
|
||||
House != null ? 1062453 : 1060806,
|
||||
string.Format(RuneFormat, desc)
|
||||
); // ~1_val~ (Trammel)[(House)]
|
||||
|
|
@ -294,7 +294,7 @@ namespace Server.Items
|
|||
else
|
||||
{
|
||||
LabelTo(
|
||||
@from,
|
||||
from,
|
||||
House != null ? "{0} ({1})(House)" : "{0} ({1})",
|
||||
string.Format(RuneFormat, desc),
|
||||
m_TargetMap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue