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

@ -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)

View file

@ -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