Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -22,7 +22,7 @@ namespace Server.Items
|
|||
|
||||
if (Core.AOS)
|
||||
{
|
||||
list.Add(new TitheEntry(@from));
|
||||
list.Add(new TitheEntry(from));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace Server.Items
|
|||
|
||||
if (!string.IsNullOrEmpty(m_Subtext))
|
||||
{
|
||||
LabelTo(@from, m_Subtext);
|
||||
LabelTo(from, m_Subtext);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue