Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue