Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -143,15 +143,15 @@ namespace Server.Items
|
|||
{
|
||||
if (!from.InRange(m_Tub.GetWorldLocation(), 1) || !from.InRange(item.GetWorldLocation(), 1))
|
||||
{
|
||||
@from.SendLocalizedMessage(500446); // That is too far away.
|
||||
from.SendLocalizedMessage(500446); // That is too far away.
|
||||
}
|
||||
else if (item.Parent is Mobile)
|
||||
{
|
||||
@from.SendLocalizedMessage(500861); // Can't Dye clothing that is being worn.
|
||||
from.SendLocalizedMessage(500861); // Can't Dye clothing that is being worn.
|
||||
}
|
||||
else if (dyable.Dye(from, m_Tub))
|
||||
{
|
||||
@from.PlaySound(0x23E);
|
||||
from.PlaySound(0x23E);
|
||||
}
|
||||
}
|
||||
else if ((FurnitureAttribute.Check(item) || item is PotionKeg) && m_Tub.AllowFurniture)
|
||||
|
|
@ -172,11 +172,11 @@ namespace Server.Items
|
|||
|
||||
if (house == null || !house.HasLockedDownItem(item) && !house.HasSecureItem(item))
|
||||
{
|
||||
@from.SendLocalizedMessage(501022); // Furniture must be locked down to paint it.
|
||||
from.SendLocalizedMessage(501022); // Furniture must be locked down to paint it.
|
||||
}
|
||||
else if (!house.IsCoOwner(from))
|
||||
{
|
||||
@from.SendLocalizedMessage(501023); // You must be the owner to use this item.
|
||||
from.SendLocalizedMessage(501023); // You must be the owner to use this item.
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ namespace Server.Items
|
|||
{
|
||||
/*
|
||||
public bool ShowUsesRemaining { get { return false; } set { } }
|
||||
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public virtual int UsesRemaining { get { return m_UsesRemaining; } set { m_UsesRemaining = value; } }
|
||||
|
||||
|
||||
private int m_UsesRemaining;
|
||||
*/
|
||||
|
||||
|
|
@ -69,15 +69,15 @@ namespace Server.Items
|
|||
{
|
||||
if (tub.MetallicHues) /* OSI has three metallic tubs now */
|
||||
{
|
||||
@from.SendGump(new MetallicHuePicker<DyeTub>(@from, SetTubHue, tub));
|
||||
from.SendGump(new MetallicHuePicker<DyeTub>(from, SetTubHue, tub));
|
||||
}
|
||||
else if (tub.CustomHuePicker != null)
|
||||
{
|
||||
@from.SendGump(new CustomHuePickerGump<DyeTub>(@from, tub.CustomHuePicker, SetTubHue, tub));
|
||||
from.SendGump(new CustomHuePickerGump<DyeTub>(from, tub.CustomHuePicker, SetTubHue, tub));
|
||||
}
|
||||
else
|
||||
{
|
||||
@from.SendHuePicker(new InternalPicker(tub));
|
||||
from.SendHuePicker(new InternalPicker(tub));
|
||||
}
|
||||
}
|
||||
else if (tub is BlackDyeTub)
|
||||
|
|
|
|||
|
|
@ -87,9 +87,9 @@ namespace Server.Items
|
|||
{
|
||||
if (item is IScissorable obj && (obj is PlagueBeastInnard || obj is PlagueBeastMutationCore))
|
||||
{
|
||||
if (CanScissor(@from, obj) && obj.Scissor(@from, m_Item))
|
||||
if (CanScissor(from, obj) && obj.Scissor(from, m_Item))
|
||||
{
|
||||
@from.PlaySound(0x248);
|
||||
from.PlaySound(0x248);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -97,7 +97,7 @@ namespace Server.Items
|
|||
{
|
||||
if (CanScissor(from, obj) && obj.Scissor(from, m_Item))
|
||||
{
|
||||
@from.PlaySound(0x248);
|
||||
from.PlaySound(0x248);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -112,7 +112,7 @@ namespace Server.Items
|
|||
{
|
||||
if (CanScissor(from, obj) && obj.Scissor(from, m_Item))
|
||||
{
|
||||
@from.PlaySound(0x248);
|
||||
from.PlaySound(0x248);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue