Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,102 @@
using System;
using Server;
using Server.Items;
using Server.Gumps;
using System.Collections.Generic;
using Server.ContextMenus;
using Server.Engines.Points;
using Server.Mobiles;
namespace Server.Engines.TreasuresOfDoom
{
public class Carey : BaseTurnInMobile
{
public override int TitleLocalization { get { return 1155595; } } // Artifacts of Doom
public override int CancelLocalization { get { return 1155591; } } // Bring me items of Doom and I will reward you with valuable items.
public override int TurnInLocalization { get { return 1155595; } } // Artifacts of Doom
public static Carey Instance { get; set; }
public static readonly Point3D SpawnLocation = new Point3D(2373, 1278, -90);
[Constructable]
public Carey() : base("the Researcher")
{
Instance = this;
}
public override void InitBody()
{
base.InitBody();
Name = "Carey";
Female = true;
SpeechHue = 0x3B2;
Hue = Utility.RandomSkinHue();
Body = 0x191;
}
public override void InitOutfit()
{
SetWearable(new Robe(), 1364);
SetWearable(new ThighBoots(), 1908);
}
public override void GetProperties(ObjectPropertyList list)
{
base.GetProperties(list);
list.Add(1155594); // Artifacts of Doom Trader
}
private DateTime _NextSpeak;
public override void OnMovement(Mobile m, Point3D oldLocation)
{
base.OnMovement(m, oldLocation);
if (_NextSpeak < DateTime.UtcNow)
{
SayTo(m, 1155591); // Bring me items of the Kotl and I will reward you with valuable items.
_NextSpeak = DateTime.UtcNow + TimeSpan.FromSeconds(25);
}
}
public override void AwardPoints(PlayerMobile pm, Item item, int amount)
{
PointsSystem.TreasuresOfDoom.AwardPoints(pm, amount);
}
public override bool IsRedeemableItem(Item item)
{
if (item is ICombatEquipment && ((ICombatEquipment)item).ReforgedSuffix == ReforgedSuffix.Doom)
return true;
return false;
}
public override void SendRewardGump(Mobile m)
{
if (m.Player && m.CheckAlive())
m.SendGump(new DoomRewardGump(this, m as PlayerMobile));
}
public Carey(Serial serial)
: base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
Instance = this;
}
}
}

View File

@@ -0,0 +1,85 @@
using System;
using Server;
using Server.Items;
using Server.Gumps;
using System.Collections.Generic;
using Server.ContextMenus;
using Server.Engines.Points;
using Server.Mobiles;
namespace Server.Engines.TreasuresOfDoom
{
public class Elizabeth : BaseVendor
{
protected readonly List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos { get { return m_SBInfos; } }
public override bool IsActiveVendor { get { return false; } }
public static Elizabeth Instance { get; set; }
public static readonly Point3D SpawnLocation = new Point3D(2364, 1284, -90);
public override void InitSBInfo()
{
}
[Constructable]
public Elizabeth() : base("the Professor")
{
Instance = this;
}
public override void OnDoubleClick(Mobile m)
{
if (m.InRange(Location, 5))
{
BaseGump.SendGump(new StoryGump(m as PlayerMobile,
1155648,
new PageData(1, 1155649, new SelectionEntry(1155650, 2)),
new PageData(2, 1155651, new SelectionEntry(1155652, 3), new SelectionEntry(1155653, 4)),
new PageData(3, 1155654, new SelectionEntry(1155653, 5), new SelectionEntry(1155655, 6)),
new PageData(4, 1155657, new SelectionEntry(1155652, 5)),
new PageData(5, 1155654, new SelectionEntry(1155655, 6)),
new PageData(6, 1155656)));
}
}
public override void InitBody()
{
base.InitBody();
Name = "Elizabeth";
Female = true;
SpeechHue = 0x3B2;
Hue = Utility.RandomSkinHue();
Body = 0x191;
}
public override void InitOutfit()
{
SetWearable(new FancyShirt(), 1255);
SetWearable(new JinBaori(), 2722);
SetWearable(new Kilt(), 2012);
SetWearable(new ThighBoots(), 1908);
}
public Elizabeth(Serial serial)
: base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
Instance = this;
}
}
}

View File

@@ -0,0 +1,84 @@
using System;
using Server;
using Server.Items;
using Server.Gumps;
using System.Collections.Generic;
using Server.ContextMenus;
using Server.Engines.Points;
using Server.Mobiles;
namespace Server.Engines.TreasuresOfDoom
{
public class Owain : BaseVendor
{
protected readonly List<SBInfo> m_SBInfos = new List<SBInfo>();
protected override List<SBInfo> SBInfos { get { return m_SBInfos; } }
public override bool IsActiveVendor { get { return false; } }
public static Owain Instance { get; set; }
public static readonly Point3D SpawnLocation = new Point3D(86, 223, -1);
public override void InitSBInfo()
{
}
[Constructable]
public Owain() : base("the blind")
{
Instance = this;
}
public override void OnDoubleClick(Mobile m)
{
if (m.InRange(Location, 5))
{
BaseGump.SendGump(new StoryGump(m as PlayerMobile,
1155664,
new PageData(1, 1155665, new SelectionEntry(1155666, 2)),
new PageData(2, 1155667, new SelectionEntry(1155668, 3), new SelectionEntry(1155669, 4)),
new PageData(3, 1155670, new SelectionEntry(1155671, 5)),
new PageData(4, 1155672, new SelectionEntry(1155673, 6)),
new PageData(5, 1155674, new SelectionEntry(1155675, 7)),
new PageData(6, 1155676, new SelectionEntry(1155677, 8)),
new PageData(7, 1155678),
new PageData(8, 1155679)));
}
}
public override void InitBody()
{
base.InitBody();
Name = "Owain";
SpeechHue = 0x3B2;
Hue = Utility.RandomSkinHue();
Body = 0x190;
}
public override void InitOutfit()
{
SetWearable(new Robe(), 1255);
SetWearable(new ThighBoots(), 1908);
}
public Owain(Serial serial)
: base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
Instance = this;
}
}
}