Removes literal variables (#257)

This commit is contained in:
Kamron Batman 2020-09-18 18:41:26 -07:00 committed by GitHub
parent 580da8a0cc
commit 4d6e584b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
359 changed files with 1306 additions and 1306 deletions

View file

@ -89,11 +89,11 @@ namespace Server.Items
{
if (IsChildOf(from.Backpack))
{
@from.Target = new InternalTarget(this);
from.Target = new InternalTarget(this);
}
else
{
@from.SendLocalizedMessage(1062334); // This item must be in your backpack to be used.
from.SendLocalizedMessage(1062334); // This item must be in your backpack to be used.
}
}
@ -145,23 +145,23 @@ namespace Server.Items
}
else if (res == AddonFitResult.Blocked)
{
@from.SendLocalizedMessage(500269); // You cannot build that there.
from.SendLocalizedMessage(500269); // You cannot build that there.
}
else if (res == AddonFitResult.NotInHouse)
{
@from.SendLocalizedMessage(500274); // You can only place this in a house that you own!
from.SendLocalizedMessage(500274); // You can only place this in a house that you own!
}
else if (res == AddonFitResult.DoorsNotClosed)
{
@from.SendMessage("You must close all house doors before placing this.");
from.SendMessage("You must close all house doors before placing this.");
}
else if (res == AddonFitResult.DoorTooClose)
{
@from.SendLocalizedMessage(500271); // You cannot build near the door.
from.SendLocalizedMessage(500271); // You cannot build near the door.
}
else if (res == AddonFitResult.NoWall)
{
@from.SendLocalizedMessage(500268); // This object needs to be mounted on something.
from.SendLocalizedMessage(500268); // This object needs to be mounted on something.
}
if (res == AddonFitResult.Valid)