Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
#region References
using System;
using Server.Accounting;
using Server.Network;
using Server.Services.TownCryer;
#endregion
namespace Server
{
public class CurrentExpansion
{
public static readonly Expansion Expansion = Config.GetEnum("Expansion.CurrentExpansion", Expansion.EJ);
[CallPriority(Int32.MinValue)]
public static void Configure()
{
Core.Expansion = Expansion;
AccountGold.Enabled = Core.TOL;
AccountGold.ConvertOnBank = true;
AccountGold.ConvertOnTrade = false;
VirtualCheck.UseEditGump = true;
TownCryerSystem.Enabled = Core.TOL;
ObjectPropertyList.Enabled = Core.AOS;
Mobile.InsuranceEnabled = Core.AOS && !Siege.SiegeShard;
Mobile.VisibleDamageType = Core.AOS ? VisibleDamageType.Related : VisibleDamageType.None;
Mobile.GuildClickMessage = !Core.AOS;
Mobile.AsciiClickMessage = !Core.AOS;
if (!Core.AOS)
{
return;
}
AOS.DisableStatInfluences();
if (ObjectPropertyList.Enabled)
{
PacketHandlers.SingleClickProps = true; // single click for everything is overriden to check object property list
}
Mobile.ActionDelay = Core.TOL ? 500 : Core.AOS ? 750 : 500;
Mobile.AOSStatusHandler = AOS.GetStatus;
}
}
}