Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -26,7 +26,7 @@ namespace Server.Items
|
|||
|
||||
if (ret)
|
||||
{
|
||||
DestroyItem(@from);
|
||||
DestroyItem(from);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
@ -38,7 +38,7 @@ namespace Server.Items
|
|||
|
||||
if (ret)
|
||||
{
|
||||
DestroyItem(@from);
|
||||
DestroyItem(from);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
@ -50,7 +50,7 @@ namespace Server.Items
|
|||
|
||||
if (ret && Parent != from.Backpack)
|
||||
{
|
||||
DestroyItem(@from);
|
||||
DestroyItem(from);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -43,11 +43,11 @@ namespace Server.Engines.MLQuests.Items
|
|||
{
|
||||
if (!from.InRange(GetWorldLocation(), 2))
|
||||
{
|
||||
@from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
|
||||
}
|
||||
else if (!IsChildOf(from.Backpack))
|
||||
{
|
||||
@from.SendLocalizedMessage(1042593); // That is not in your backpack.
|
||||
from.SendLocalizedMessage(1042593); // That is not in your backpack.
|
||||
}
|
||||
else if (MLQuestSystem.Enabled && CanGiveMLQuest && from is PlayerMobile mobile)
|
||||
{
|
||||
|
|
@ -121,11 +121,11 @@ namespace Server.Engines.MLQuests.Items
|
|||
{
|
||||
if (!from.InRange(GetWorldLocation(), 2))
|
||||
{
|
||||
@from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1019045); // I can't reach that.
|
||||
}
|
||||
else if (!IsChildOf(from.Backpack))
|
||||
{
|
||||
@from.SendLocalizedMessage(1042593); // That is not in your backpack.
|
||||
from.SendLocalizedMessage(1042593); // That is not in your backpack.
|
||||
}
|
||||
else if (MLQuestSystem.Enabled && CanGiveMLQuest && from is PlayerMobile mobile)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue