Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 • committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -6,9 +6,9 @@ namespace Server.Items
{
private const int m_Level = 1;
public override bool Decays { get { return true; } }
public override bool Decays => true;
public override bool IsDecoContainer { get { return false; } }
public override bool IsDecoContainer => false;
public override TimeSpan DecayTime { get { return TimeSpan.FromMinutes( Utility.Random( 15, 60 ) ); } }
@ -116,4 +116,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,9 +6,9 @@ namespace Server.Items
{
private const int m_Level = 2;
public override bool Decays { get { return true; } }
public override bool Decays => true;
public override bool IsDecoContainer { get { return false; } }
public override bool IsDecoContainer => false;
public override TimeSpan DecayTime { get { return TimeSpan.FromMinutes( Utility.Random( 15, 60 ) ); } }
@ -147,4 +147,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,9 +6,9 @@ namespace Server.Items
{
private const int m_Level = 3;
public override bool Decays { get { return true; } }
public override bool Decays => true;
public override bool IsDecoContainer { get { return false; } }
public override bool IsDecoContainer => false;
public override TimeSpan DecayTime { get { return TimeSpan.FromMinutes( Utility.Random( 15, 60 ) ); } }
@ -162,4 +162,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,9 +6,9 @@ namespace Server.Items
{
private const int m_Level = 4;
public override bool Decays { get { return true; } }
public override bool Decays => true;
public override bool IsDecoContainer { get { return false; } }
public override bool IsDecoContainer => false;
public override TimeSpan DecayTime { get { return TimeSpan.FromMinutes( Utility.Random( 15, 60 ) ); } }
@ -171,4 +171,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}