Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -6,10 +6,7 @@ namespace Server.Items
|
|||
{
|
||||
public class BarkeepContract : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a barkeep contract"; }
|
||||
}
|
||||
public override string DefaultName => "a barkeep contract";
|
||||
|
||||
[Constructible]
|
||||
public BarkeepContract() : base( 0x14F0 )
|
||||
|
|
|
|||
|
|
@ -53,10 +53,7 @@ namespace Server.Items
|
|||
|
||||
public class ClothingBlessDeed : Item // Create the item class which is derived from the base item class
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a clothing bless deed"; }
|
||||
}
|
||||
public override string DefaultName => "a clothing bless deed";
|
||||
|
||||
[Constructible]
|
||||
public ClothingBlessDeed() : base( 0x14F0 )
|
||||
|
|
|
|||
|
|
@ -14,13 +14,7 @@ namespace Server.Items
|
|||
private Item m_Commodity;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public Item Commodity
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_Commodity;
|
||||
}
|
||||
}
|
||||
public Item Commodity => m_Commodity;
|
||||
|
||||
public bool SetCommodity( Item item )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -14,13 +14,16 @@ namespace Server.Items
|
|||
public override int LabelNumber => m_Exceptional ? 1053181 : 1053012; // dragon barding deed
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public Mobile Crafter{ get{ return m_Crafter; } set{ m_Crafter = value; InvalidateProperties(); } }
|
||||
public Mobile Crafter{ get => m_Crafter;
|
||||
set{ m_Crafter = value; InvalidateProperties(); } }
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool Exceptional{ get{ return m_Exceptional; } set{ m_Exceptional = value; InvalidateProperties(); } }
|
||||
public bool Exceptional{ get => m_Exceptional;
|
||||
set{ m_Exceptional = value; InvalidateProperties(); } }
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public CraftResource Resource{ get{ return m_Resource; } set{ m_Resource = value; Hue = CraftResources.GetHue( value ); InvalidateProperties(); } }
|
||||
public CraftResource Resource{ get => m_Resource;
|
||||
set{ m_Resource = value; Hue = CraftResources.GetHue( value ); InvalidateProperties(); } }
|
||||
|
||||
public DragonBardingDeed() : base( 0x14F0 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,10 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public class NameChangeDeed : Item
|
||||
{
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "a name change deed"; }
|
||||
}
|
||||
public override string DefaultName => "a name change deed";
|
||||
|
||||
[Constructible]
|
||||
public NameChangeDeed() : base( 0x14F0 )
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ namespace Server.Items
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public Mobile Owner
|
||||
{
|
||||
get{ return m_Owner; }
|
||||
set{ m_Owner = value; }
|
||||
get => m_Owner;
|
||||
set => m_Owner = value;
|
||||
}
|
||||
|
||||
public override int LabelNumber => 1062094; // a young player ticket
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Server.Items
|
|||
|
||||
public VendorRentalDuration Duration
|
||||
{
|
||||
get{ return m_Duration; }
|
||||
get => m_Duration;
|
||||
set
|
||||
{
|
||||
if ( value != null )
|
||||
|
|
@ -32,20 +32,20 @@ namespace Server.Items
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int Price
|
||||
{
|
||||
get{ return m_Price; }
|
||||
set{ m_Price = value; }
|
||||
get => m_Price;
|
||||
set => m_Price = value;
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool LandlordRenew
|
||||
{
|
||||
get{ return m_LandlordRenew; }
|
||||
set{ m_LandlordRenew = value; }
|
||||
get => m_LandlordRenew;
|
||||
set => m_LandlordRenew = value;
|
||||
}
|
||||
|
||||
public Mobile Offeree
|
||||
{
|
||||
get{ return m_Offeree; }
|
||||
get => m_Offeree;
|
||||
set
|
||||
{
|
||||
if ( m_OfferExpireTimer != null )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue