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

@ -22,7 +22,7 @@ namespace Server.Items
if (Core.AOS)
{
list.Add(new TitheEntry(@from));
list.Add(new TitheEntry(from));
}
}

View file

@ -221,11 +221,11 @@ namespace Server.Items
if (list.Count == 1)
{
@from.SendMessage("Target the second door to link.");
from.SendMessage("Target the second door to link.");
}
else
{
@from.SendMessage("Target another door to link. To complete the chain, retarget the first door.");
from.SendMessage("Target another door to link. To complete the chain, retarget the first door.");
}
}
}
@ -440,11 +440,11 @@ namespace Server.Items
{
if (Hue == 0x44E && Map == Map.Malas) // doom door into healer room in doom
{
SendLocalizedMessageTo(@from, 1060014); // Only the dead may pass.
SendLocalizedMessageTo(from, 1060014); // Only the dead may pass.
}
else
{
@from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 502503); // That is locked.
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 502503); // That is locked.
}
return;
@ -458,11 +458,11 @@ namespace Server.Items
if (m_Open)
{
OnClosed(@from);
OnClosed(from);
}
else
{
OnOpened(@from);
OnOpened(from);
}
if (UseChainedFunctionality)
@ -501,11 +501,11 @@ namespace Server.Items
{
if (from.AccessLevel == AccessLevel.Player && !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
{
Use(@from);
Use(from);
}
}

View file

@ -175,7 +175,7 @@ namespace Server.Items
if (house?.IsFriend(from) == true && from.AccessLevel == AccessLevel.Player && house.RefreshDecay())
{
@from.SendLocalizedMessage(1043293); // Your house's age and contents have been refreshed.
from.SendLocalizedMessage(1043293); // Your house's age and contents have been refreshed.
}
if (house?.Public == true && !house.IsFriend(from))
@ -190,11 +190,11 @@ namespace Server.Items
{
if (!CheckAccess(from))
{
@from.SendLocalizedMessage(1061637); // You are not allowed to access this.
from.SendLocalizedMessage(1061637); // You are not allowed to access this.
}
else
{
base.Use(@from);
base.Use(from);
}
}

View file

@ -36,7 +36,7 @@ namespace Server.Items
if (!string.IsNullOrEmpty(m_Subtext))
{
LabelTo(@from, m_Subtext);
LabelTo(from, m_Subtext);
}
}