Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -115,7 +115,7 @@ namespace Server.Items
|
|||
// ********** SweetDough **********
|
||||
public class SweetDough : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1041340; } } // sweet dough
|
||||
public override int LabelNumber => 1041340; // sweet dough
|
||||
|
||||
[Constructible]
|
||||
public SweetDough() : base( 0x103d )
|
||||
|
|
@ -184,12 +184,12 @@ namespace Server.Items
|
|||
t.Start();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private class InternalTimer : Timer
|
||||
{
|
||||
private Mobile m_From;
|
||||
private Campfire m_Campfire;
|
||||
|
||||
|
||||
public InternalTimer( Mobile from, Campfire campfire ) : base( TimeSpan.FromSeconds( 5.0 ) )
|
||||
{
|
||||
m_From = from;
|
||||
|
|
@ -276,7 +276,7 @@ namespace Server.Items
|
|||
|
||||
from.AddToBackpack( new SweetDough() );
|
||||
}
|
||||
|
||||
|
||||
if (targeted is BowlFlour)
|
||||
{
|
||||
((BowlFlour)targeted).Delete();
|
||||
|
|
@ -490,7 +490,7 @@ namespace Server.Items
|
|||
// ********** SackFlourOpen **********
|
||||
public class SackFlourOpen : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1024166; } } // open sack of flour
|
||||
public override int LabelNumber => 1024166; // open sack of flour
|
||||
|
||||
[Constructible]
|
||||
public SackFlourOpen() : base(UtilityItem.RandomChoice( 0x1046, 0x103a ))
|
||||
|
|
@ -653,4 +653,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue