Adds settings (#126)
This commit is contained in:
parent
8028a85ffe
commit
f336a56364
17 changed files with 229 additions and 99 deletions
|
|
@ -3266,7 +3266,12 @@ namespace Server.Mobiles
|
|||
{
|
||||
}
|
||||
|
||||
public const bool BondingEnabled = true;
|
||||
public static void Initialize()
|
||||
{
|
||||
BondingEnabled = ServerConfiguration.GetOrUpdateSetting("taming.enableBonding", true);
|
||||
}
|
||||
|
||||
public static bool BondingEnabled { get; private set; }
|
||||
|
||||
public virtual bool IsBondable => BondingEnabled && !Summoned;
|
||||
public virtual TimeSpan BondingDelay => TimeSpan.FromDays(7.0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue