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

@ -18,7 +18,7 @@ namespace Server.Mobiles
public static readonly TimeSpan AbandonDelay = MLQuestSystem.Enabled ? TimeSpan.FromMinutes( 1.0 ) : TimeSpan.FromMinutes( 2.0 );
public static readonly TimeSpan DeleteTime = MLQuestSystem.Enabled ? TimeSpan.FromSeconds( 100 ) : TimeSpan.FromSeconds( 30 );
public override bool StaticMLQuester { get { return false; } } // Suppress automatic quest registration on creation/deserialization
public override bool StaticMLQuester => false; // Suppress automatic quest registration on creation/deserialization
private MLQuest m_MLQuest;
@ -104,7 +104,7 @@ namespace Server.Mobiles
get { return ( m_DeleteTimer != null ); }
}
public override bool Commandable { get { return false; } } // Our master cannot boss us around!
public override bool Commandable => false; // Our master cannot boss us around!
public override bool DeleteCorpseOnDeath { get { return m_DeleteCorpse; } }
[CommandProperty(AccessLevel.GameMaster)]
@ -775,4 +775,4 @@ namespace Server.Mobiles
m_Mobile.Delete(); // OSI just seems to delete instantly
}
}
}
}