public enum PointsType
{
None = -1,
QueensLoyalty,
VoidPool,
DespiseCrystals,
ShameCrystals,
CasinoData,
//City Trading
CityTrading,
// City Loyalty System
Moonglow,
Britain,
Jhelom,
Yew,
Minoc,
Trinsic,
SkaraBrae,
NewMagincia,
Vesper,
Blackthorn,
CleanUpBritannia,
ViceVsVirtue,
TreasuresOfKotlCity,
PVPArena,
Khaldun,
Doom,
SorcerersDungeon,
RisingTide,
GauntletPoints,
TOT,
VAS,
FellowshipData,
TOFeudalLands,
TearsOfTheIceDragon,
TreasuresOfHythloth,
TreasuresOfWildfire,
TreasuresOfFeyWrath,
TreasuresOfTheUndeadLords,
TreasuresOfTheArchlich,
TreasuresOfTheShatteredSanctum,
}
public static TreasuresOfTokuno TreasuresOfTokuno { get; set; }
public static VirtueArtifactsSystem VirtueArtifacts { get; set; }
public static FellowshipData FellowshipData { get; set; }
public static FeudalLandsData TreasuresOfTheFeudalLands { get; set; }
public static TearsOfTheIceDragonData TearsOfTheIceDragon { get; set; }
public static TreasuresOfHythlothData TreasuresOfHythloth { get; set; }
public static TreasuresOfWildfireData TreasuresOfWildfire { get; set; }
public static TreasuresOfFeyWrathData TreasuresOfFeyWrath { get; set; }
public static TreasuresOfTheUndeadLordsData TreasuresOfTheUndeadLords { get; set; }
public static TreasuresOfTheArchlichData TreasuresOfTheArchlich { get; set; }
public static TreasuresOfTheShatteredSanctumData TreasuresOfTheShatteredSanctum { get; set; }
public static void Configure()
{
EventSink.WorldSave += OnSave;
EventSink.WorldLoad += OnLoad;
EventSink.QuestComplete += CompleteQuest;
EventSink.OnKilledBy += OnKilledBy;
Systems = new List<PointsSystem>();
QueensLoyalty = new QueensLoyalty();
VoidPool = new VoidPool();
DespiseCrystals = new DespiseCrystals();
ShameCrystals = new ShameCrystals();
CasinoData = new CasinoData();
Blackthorn = new BlackthornData();
CleanUpBritannia = new CleanUpBritanniaData();
ViceVsVirtue = new ViceVsVirtueSystem();
TreasuresOfKotlCity = new KotlCityData();
CityLoyaltySystem.ConstructSystems();
ArenaSystem = new PVPArenaSystem();
Khaldun = new KhaldunData();
TreasuresOfDoom = new DoomData();
SorcerersDungeon = new SorcerersDungeonData();
RisingTide = new RisingTide();
DoomGauntlet = new DoomGauntlet();
TreasuresOfTokuno = new TreasuresOfTokuno();
VirtueArtifacts = new VirtueArtifactsSystem();
FellowshipData = new FellowshipData();
TreasuresOfTheFeudalLands = new FeudalLandsData();
TearsOfTheIceDragon = new TearsOfTheIceDragonData();
TreasuresOfHythloth = new TreasuresOfHythlothData();
TreasuresOfWildfire = new TreasuresOfWildfireData();
TreasuresOfFeyWrath = new TreasuresOfFeyWrathData();
TreasuresOfTheUndeadLords = new TreasuresOfTheUndeadLordsData();
TreasuresOfTheArchlich = new TreasuresOfTheArchlichData();
TreasuresOfTheShatteredSanctum = new TreasuresOfTheShatteredSanctumData();
}
public enum ReforgedSuffix
{
None,
Vitality,
Sorcery,
Haste,
Wizadry,
Quality,
Vampire,
Restoration,
Defense,
Fortune,
Alchemy,
Slaughter,
Aegis,
Blackthorn,
Minax,
Kotl,
Khaldun,
Doom,
EnchantedOrigin,
Fellowship,
FeudalLands,
TearsOfTheIceDragon,
TreasuresOfHythloth,
TreasuresOfWildfire,
TreasuresOfFeyWrath,
TreasuresOfTheUndeadLords,
TreasuresOfTheArchlich,
TreasuresOfTheShatteredSanctum,
}
public static void AddSuffixName(ObjectPropertyList list, ReforgedSuffix suffix, string name)
{
if (suffix >= ReforgedSuffix.Blackthorn && suffix <= ReforgedSuffix.Fellowship)
{
list.Add(GetSuffixName(suffix), name);
return;
}
//Only need to put an entry here if there's not a cliloc in the list above!
if(suffix == ReforgedSuffix.TreasuresOfHythloth)
{
list.Add(1151758, String.Format(format: "{0}\t{1}", name, "Demonic Forces"));// ~1_ITEM~ of ~2_SUFFIX~
return;
}
if(suffix == ReforgedSuffix.TreasuresOfFeyWrath)
{
list.Add(1151758, String.Format(format: "{0}\t{1}", name, "Fey Wrath"));// ~1_ITEM~ of ~2_SUFFIX~
return;
}
if(suffix == ReforgedSuffix.TreasuresOfTheUndeadLords)
{
list.Add(1151758, String.Format(format: "{0}\t{1}", name, "The Three"));// ~1_ITEM~ of ~2_SUFFIX~
return;
}
if(suffix == ReforgedSuffix.TreasuresOfTheArchlich)
{
list.Add(1151758, String.Format(format: "{0}\t{1}", name, "The Archlich"));// ~1_ITEM~ of ~2_SUFFIX~
return;
}
if(suffix == ReforgedSuffix.FeudalLands)
{
list.Add(1151758, String.Format(format: "{0}\t{1}", name, "The Shogun"));// ~1_ITEM~ of ~2_SUFFIX~
return;
}
if (suffix == ReforgedSuffix.TreasuresOfTheShatteredSanctum)
{
list.Add(1151758, String.Format(format: "{0}\t{1}", name, "The Shattered Sanctum"));// ~1_ITEM~ of ~2_SUFFIX~
return;
}
//All others
list.Add(1151758, String.Format(format: "{0}\t#{1}", name, GetSuffixName(suffix)));// ~1_ITEM~ of ~2_SUFFIX~
}
switch (suffix)
{
case ReforgedSuffix.Minax: item.Hue = 1157; break;
case ReforgedSuffix.Khaldun: item.Hue = 2745; break;
case ReforgedSuffix.Kotl: item.Hue = 2591; break;
case ReforgedSuffix.EnchantedOrigin: item.Hue = 1171; break;
case ReforgedSuffix.Doom: item.Hue = 2301; break;
case ReforgedSuffix.Fellowship: item.Hue = 2751; break;
case ReforgedSuffix.FeudalLands: item.Hue = 2764; break;
case ReforgedSuffix.TearsOfTheIceDragon: item.Hue = 1154; break;
case ReforgedSuffix.TreasuresOfHythloth: item.Hue = 2753; break;
case ReforgedSuffix.TreasuresOfWildfire: item.Hue = 2758; break;
case ReforgedSuffix.TreasuresOfFeyWrath: item.Hue = 2755; break;
case ReforgedSuffix.TreasuresOfTheUndeadLords: item.Hue = 2744; break;
case ReforgedSuffix.TreasuresOfTheArchlich: item.Hue = 2702; break;
case ReforgedSuffix.TreasuresOfTheShatteredSanctum: item.Hue = 2768; break;
}
using Server;
using Server.Mobiles;
using Server.Gumps;
using Server.Misc;
using Server.Commands;
using Server.Engines.TreasuresOfDoom;
using Server.Engines.Khaldun;
using Server.Engines.SorcerersDungeon;
using Server.Engines.RisingTide;
using Server.Engines.Fellowship;
using Server.Engines.TreasuresOfTheFeudalLands;
using Server.Engines.TearsOfTheIceDragon;
using Server.Engines.TreasuresOfHythloth;
using Server.Engines.TreasuresOfWildfire;
using Server.Engines.TreasuresOfFeyWrath;
using Server.Engines.TreasuresOfTheUndeadLords;
using Server.Engines.TreasuresOfTheArchlich;
using Server.Engines.TreasuresOfTheShatteredSanctum;
public enum EventType
{
TreasuresOfTokuno,
VirtueArtifacts,
TreasuresOfKotlCity,
SorcerersDungeon,
TreasuresOfDoom,
TreasuresOfKhaldun,
KrampusEncounter,
RisingTide,
Fellowship,
TreasuresOfTheFeudalLands,
TearsOfTheIceDragon,
TreasuresOfHythloth,
TreasuresOfWildfire,
TreasuresOfFeyWrath,
TreasuresOfTheUndeadLords,
TreasuresOfTheArchlich,
TreasuresOfTheShatteredSanctum,
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.