Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CalculationsScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public CalculationsScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(CalculationsGump)))
|
||||
{
|
||||
from.SendGump(new CalculationsGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public CalculationsScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class CalculationsGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("CalculationsLetter", AccessLevel.GameMaster, new CommandEventHandler(CalculationsGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void CalculationsGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new CalculationsGump(e.Mobile));
|
||||
}
|
||||
|
||||
public CalculationsGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(164, 61, 250, 24, 1154400, 1062086, false, false); // Calculations
|
||||
AddHtmlLocalized(147, 90, 250, 24, 1154419, 1062086, false, false); // Champ Huthwait
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154401, 1, false, true); // 1259<BR>-300<BR>-324<BR>-569<BR>-1290<BR>245<BR>867<BR>-3250<BR>9230<BR>-12348<BR>-23398<BR>860<BR>-2407<BR><I>*There appears to be a lot of scratches of the pen all over this paper, as if it were calculated while under duress.*</I>
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CaptainsLogScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public CaptainsLogScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(CaptainsLogGump)))
|
||||
{
|
||||
from.SendGump(new CaptainsLogGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public CaptainsLogScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class CaptainsLogGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("CaptainsLogLetter", AccessLevel.GameMaster, new CommandEventHandler(CaptainsLogGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void CaptainsLogGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new CaptainsLogGump(e.Mobile));
|
||||
}
|
||||
|
||||
public CaptainsLogGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(164, 61, 250, 24, 1154469, 1062086, false, false); // Captain's Log
|
||||
AddHtmlLocalized(180, 90, 250, 24, 1154470, 1062086, false, false); // Johne
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154490, 1, false, true); // What have I done...what...I cannot...these vile creatures...I have managed to lock them away within the central cargo hold and I have destroyed the winch assembly needed to remove the cargo hold's cover. I can only hope my efforts to lock away the repair parts will deter any foolish enough to start smashing the supply barrels in an attempt to recover the locker keys...they're all gone now...it is only I now, forever damned to this watery grave....
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CousteauPerronScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public CousteauPerronScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(CousteauPerronInformationGump)))
|
||||
{
|
||||
from.SendGump(new CousteauPerronInformationGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public CousteauPerronScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class CousteauPerronInformationGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("CousteauPerronScroll", AccessLevel.GameMaster, new CommandEventHandler(CousteauPerronInformationGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void CousteauPerronInformationGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new CousteauPerronInformationGump(e.Mobile));
|
||||
}
|
||||
|
||||
public CousteauPerronInformationGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(130, 61, 250, 24, 1154392, 1062086, false, false); // Request for Information
|
||||
AddHtmlLocalized(150, 90, 250, 24, 1154415, 1062086, false, false); // Cousteau Perron
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154393, 1, false, true); // <I>*A hastily composed note seems scratched out on a shred of a scroll, with a few abstract equations and drawings near the periphery.*</I><BR>Close to breakthrough, require reforged shadow iron ringmail suit(10), power crystal (5), miniaturized clockwork assembly (20), valorite keg (20), and six more verite toolkits of the usual kind. Expect delivery in three days. Usual payment protocol.<BR><I>*At the end, there seems to be a note added on as if in afterthought.*</I><BR>Have reconsidered previous offer and will pay 95% asking price for withheld schematics.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CusteauPerronNote : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public CusteauPerronNote() : base(0x46B2)
|
||||
{
|
||||
this.LootType = LootType.Blessed;
|
||||
this.Weight = 1;
|
||||
}
|
||||
|
||||
public override void AddNameProperties(ObjectPropertyList list)
|
||||
{
|
||||
base.AddNameProperties(list);
|
||||
|
||||
list.Add(1154262); // A Note from Cousteau Perron...
|
||||
list.Add(1072351); // Quest Item
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!(from is PlayerMobile))
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile)from;
|
||||
|
||||
if (!from.HasGump(typeof(CusteauPerronNoteGump)))
|
||||
{
|
||||
from.SendGump(new CusteauPerronNoteGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public CusteauPerronNote(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
}
|
||||
|
||||
public class CusteauPerronNoteGump : Gump
|
||||
{
|
||||
public CusteauPerronNoteGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(104, 61, 250, 24, 1154262, 1062086, false, false); // A Note from Cousteau Perron...
|
||||
AddHtmlLocalized(42, 90, 330, 174, 1154263, 1, false, true); // Now that you have done what I asked, I shall do what you ask of me. Before you may continue your adventure you'll need to collect the components of the suit. I have listed the components and whom you might seek to acquire them from below. Return to see Hepler Paulson in the City of Trinsic when you've got everything!<BR><BR>Nictitating Lenses - Josef Skimmons, the Master Blacksmith at the Cutlass Smithing in Bucaneer's Den will surely know how to craft such a thing.<BR><BR>Canvass Robe - Madeline Harte, Seamstress at the Adventurer's Needle in Jhelom is well known for her prowess with a needle. If anyone can craft this for you, it is her.<BR><BR>Aqua Pendant - Zalia the Gemologist, in her craft few are better. She will surely be able to supply the pendant. She can be found at the Gypsy camp in Northeastern Ilshenar.<BR><BR>Boots of Ballast - Champ Huthwait, a seedy man to say the least but a fine cobbler. Seek him at the Adventurer's Supply in Vesper.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class EliseTrentScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public EliseTrentScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(EliseTrentGump)))
|
||||
{
|
||||
from.SendGump(new EliseTrentGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public EliseTrentScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class EliseTrentGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("EliseTrentScroll", AccessLevel.GameMaster, new CommandEventHandler(EliseTrentGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void EliseTrentGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new EliseTrentGump(e.Mobile));
|
||||
}
|
||||
|
||||
public EliseTrentGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(130, 61, 250, 24, 1154388, 1062086, false, false); // Trinsic Tribune #189
|
||||
AddHtmlLocalized(150, 90, 250, 24, 1154376, 1062086, false, false); // Elise Trent
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154389, 1, false, true); // <I>*The article left out of this paper is entitled 'Terror on the Seas'.*</I>There have long been pirates along the waterways of Britannia, but none were as prevalent as Captain Silver John. His boat and his men were as feared for their piracy as for their innovation, and the intelligent captain kept a highly skilled crew to assist in his raids. Amidst them were a talented alchemist, an incredibly skilled blacksmith, a once renowned mage, and several former Rangers. Despite the attempts of Admiral Duarte of the Royal Navy, their preying upon the merchant vessels of the lands was not stopped until one of Silver's own crew sold them out. An unnamed member of his crew led Royal Guardsman to a hideout that they had utilized in the city of Skara Brae, and they laid in wait for the return of the crew. The informant was slain in the fight, as was Captain Silver John himself, and most of his crew is now safely behind bars, though some seem to have escaped. All those captured are refusing to talk, so it seems that those who escaped will continue to remain at large...though it remains to be seen whether they will join a new crew or form their own.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class JosefSkimmonsScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public JosefSkimmonsScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(JosefSkimmonsPrivateGump)))
|
||||
{
|
||||
from.SendGump(new JosefSkimmonsPrivateGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public JosefSkimmonsScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class JosefSkimmonsPrivateGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("JosefSkimmonsScroll", AccessLevel.GameMaster, new CommandEventHandler(JosefSkimmonsPrivateGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void JosefSkimmonsPrivateGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new JosefSkimmonsPrivateGump(e.Mobile));
|
||||
}
|
||||
|
||||
public JosefSkimmonsPrivateGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(150, 61, 250, 24, 1154390, 1062086, false, false); // Private Journal
|
||||
AddHtmlLocalized(150, 90, 250, 24, 1154416, 1062086, false, false); // Josef Skimmons
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154391, 1, false, true); // <I>*This appears to be private journal of Skimmons Josef.*</I>Bloody old Cousteau keeps on coming around and asking me about things I'd much sooner forget. I never bloody wanted to work for that crazed wench on her blasted clockwork abominations, but there weren't much else I could manage after the mess that got made in Skara. Least I got out of both with my skin intact. Still, she's trying to go even further then we did back then...Lass is still trying to make that dead sister of hers proud I reckon. If we'd had the kinda things she's trying to make back then, nobody could've touched us. Makes the little goggles I used to make look like a kid's toy.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class JournalScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public JournalScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(JournalGump)))
|
||||
{
|
||||
from.SendGump(new JournalGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public JournalScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class JournalGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("JournalLetter", AccessLevel.GameMaster, new CommandEventHandler(JournalGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void JournalGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new JournalGump(e.Mobile));
|
||||
}
|
||||
|
||||
public JournalGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(165, 61, 250, 24, 1094837, 1062086, false, false); // a journal
|
||||
AddHtmlLocalized(170, 90, 250, 24, 1154420, 1062086, false, false); // Mercutio
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154409, 1, false, true); // The idiots constantly think there's some kind of cheating going on here, but nothing could be further from the truth. We don't need to have any kind of cheat to deal with these idiots. They all think they have some kind of special system that'll work here, but the simple fact is that the odds are always on our side. We win because that's how it's always been meant to work...doesn't stop the bloody saps from trying though. Not that we discourage the practices of fools who think they found a way to win.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LedgerScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public LedgerScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(LedgerGump)))
|
||||
{
|
||||
from.SendGump(new LedgerGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public LedgerScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class LedgerGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("LedgerLetter", AccessLevel.GameMaster, new CommandEventHandler(LedgerGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void LedgerGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new LedgerGump(e.Mobile));
|
||||
}
|
||||
|
||||
public LedgerGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(178, 61, 250, 24, 1154407, 1062086, false, false); // Ledger
|
||||
AddHtmlLocalized(170, 90, 250, 24, 1154420, 1062086, false, false); // Mercutio
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154408, 1, false, true); // Collected from Amos, Leto, and Kas. Sent the husks to Nick. 7/21<BR>Collected from Mathias. Sent the husks to Gaff and Bawdewyn. 7/24<BR>Collected from Nick and Bawdewyn. Set the dogs to Gaff. 7/27<BR>Partial collection from Champ. Sent the husks to Reann and Triston. 8/3<BR>Sent the husks to Irvine, Lora, and Visko. 8/5<BR>Collected from Triston. Set the dogs on Reann. 8/6<BR>Collected from Irvine and Lora. Visko fled. Set a warning if they return. 8/8<BR>
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LiamDeFoeScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public LiamDeFoeScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(LiamDeFoeGump)))
|
||||
{
|
||||
from.SendGump(new LiamDeFoeGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public LiamDeFoeScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class LiamDeFoeGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("LiamDeFoe", AccessLevel.GameMaster, new CommandEventHandler(LiamDeFoeGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void LiamDeFoeGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new LiamDeFoeGump(e.Mobile));
|
||||
}
|
||||
|
||||
public LiamDeFoeGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(150, 61, 250, 24, 1154396, 1062086, false, false); // It Is With Regret...
|
||||
AddHtmlLocalized(160, 90, 250, 24, 1154418, 1062086, false, false); // Liam DeFoe
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154397, 1, false, true); // Mrs. Madeline Hart,<BR>It is with our utmost regret that we must inform you of the death of your son, Willem Hart, who accompanied us on our mission into Destard. Despite our best efforts, we were attacked by a horde of dragons...your son fought valiantly and held to the highest pillars of Valor and Sacrifice in doing so. He acquitted himself incredibly so against them, and we thought the day was won, until an Ancient wyrm sprung from the depths of the dungeon. Willem showed some trepidation, but his manner was in the highest dealings of Courage as he assisted us in holding it off until the miners could escape. Unfortunately, this cost him his life, and no manner of magic could coax him back. As such, we have appended all of his commission for his aid, as well as a sizeable fund donated by the miners whose lives he saved. I am sorry for your loss, and will assist in any arrangements that are necessary.<BR>With Regards,<BR>Liam DeFoe.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class MadelineHarteScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public MadelineHarteScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(MadelineHarteGump)))
|
||||
{
|
||||
from.SendGump(new MadelineHarteGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public MadelineHarteScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class MadelineHarteGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("MadelineHarteScroll", AccessLevel.GameMaster, new CommandEventHandler(MadelineHarteGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void MadelineHarteGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new MadelineHarteGump(e.Mobile));
|
||||
}
|
||||
|
||||
public MadelineHarteGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(170, 61, 250, 24, 1154394, 1062086, false, false); // Letter
|
||||
AddHtmlLocalized(150, 90, 250, 24, 1154466, 1062086, false, false); // Madeline Harte
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154399, 1, false, true); // I've been successful in business, in training, in innovation, in invention...in every aspect of my life save for the one I really care about, the relationship with my children. I have lost one to the earth and the other I've effectively lost to the sea. Willem...if only you hadn't been so eager to try and prove yourself to your father. We had enough money to get by, and I would rather live in the street with you than to have had my baby boy die in such a manner. Love is not a commodity worth trading for any amount of gold in the world.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class MasterThinkerSchematics : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public MasterThinkerSchematics() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(MTSchematicsGump)))
|
||||
{
|
||||
from.SendGump(new MTSchematicsGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public MasterThinkerSchematics(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class MTSchematicsGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("MTSchematics", AccessLevel.GameMaster, new CommandEventHandler(MTSchematicsGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void MTSchematicsGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new MTSchematicsGump(e.Mobile));
|
||||
}
|
||||
|
||||
public MTSchematicsGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(164, 61, 250, 24, 1154384, 1062086, false, false); // Schematics
|
||||
AddHtmlLocalized(147, 90, 250, 24, 1154415, 1062086, false, false); // Cousteau Perron
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154385, 1, false, true); // <I>*There are dozens of extremely detailed schematic drawings along the edges of the paper, and mixed throughout the notes. The writing seems somewhat disjointed, and the hand it's written in is a very jagged and harsh one.*</I> Pressure differential needs to be overcome to ensure test subject survival. Initial attempts resulted in implosion twice, leaks and catastrophic failure five times. Cold Temperature survival gear. Research suitable material. Homogenous distribution necessitated to maximize survival...supply carrying object? Possibly some sort of air elemental hybrid magic utilizing clockwork principles...
|
||||
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SealedLettersScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public SealedLettersScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(SealedLettersEntryGump)))
|
||||
{
|
||||
from.SendGump(new SealedLettersEntryGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public SealedLettersScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class SealedLettersEntryGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("SealedLettersEntry", AccessLevel.GameMaster, new CommandEventHandler(SealedLettersEntryGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void SealedLettersEntryGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new SealedLettersEntryGump(e.Mobile));
|
||||
}
|
||||
|
||||
public SealedLettersEntryGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(160, 61, 250, 24, 1154404, 1062086, false, false); // Sealed Letters
|
||||
AddHtmlLocalized(155, 90, 250, 24, 1154419, 1062086, false, false); // Champ Huthwait
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154406, 1, false, true); // <I>*The letters are sealed in tubes capped with wax to make them waterproof and hidden away. Written on the outside is “Open only on the occasion of the death of Champ Huthwait, to be delivered to the Britain Bugle, the Trinsic Tribune, and the Sosarian Scout.”*</I>
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SorcerersScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public SorcerersScroll()
|
||||
:base(0x46B2)
|
||||
{
|
||||
this.Hue = 33;
|
||||
this.Movable = false;
|
||||
}
|
||||
|
||||
public override void AddNameProperties(ObjectPropertyList list)
|
||||
{
|
||||
base.AddNameProperties(list);
|
||||
|
||||
list.Add(1154330); // A Lesson Plan
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!(from is PlayerMobile))
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile)from;
|
||||
|
||||
if (!from.HasGump(typeof(SorcerersScrollGump)))
|
||||
{
|
||||
from.SendGump(new SorcerersScrollGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public SorcerersScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
}
|
||||
|
||||
public class SorcerersScrollGump : Gump
|
||||
{
|
||||
public SorcerersScrollGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(60, 60, 350, 24, 1154328, 1062086, false, false); // Magical Reagents: Identification & Applications
|
||||
AddHtmlLocalized(147, 90, 250, 24, 1154415, 1062086, false, false); // Cousteau Perron
|
||||
AddHtmlLocalized(42, 120, 323, 174, 1154329, 1, false, true); // <I>*The scroll appears to be a lesson plan for some sort of magical study*</I><BR><BR>The identification and application of magical reagents is an important skill for any studying apprentice of the Arcane Arts. Reagents can easily be identified occurring naturally within the world, and as such, being able to identify them as useful is an important skill. Just as a house of cards relies on each individual to support the greater structure, so do reagents support the wider application of magics. Each reagent has well known properties and documented uses that when combined with one another can produce hugely varying results. A keen understanding of those properties as well as the result of any combination thereof is essential to any apprentice wishing to advance beyond their current level. Test your knowledge of reagent identification by placing the correctly identified reagent on the plates. When each plate has the correct reagent placed on it, the Master Instructor will check your work.
|
||||
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
from.Frozen = false;
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SuspicionsScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public SuspicionsScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(SuspicionsGump)))
|
||||
{
|
||||
from.SendGump(new SuspicionsGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public SuspicionsScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class SuspicionsGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("SuspicionsLetters", AccessLevel.GameMaster, new CommandEventHandler(SuspicionsGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void SuspicionsGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new SuspicionsGump(e.Mobile));
|
||||
}
|
||||
|
||||
public SuspicionsGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(164, 61, 250, 24, 1154402, 1062086, false, false); // Suspicions
|
||||
AddHtmlLocalized(147, 90, 250, 24, 1154419, 1062086, false, false); // Champ Huthwait
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154403, 1, false, true); // I'm sure the bastards are cheating, but I can't find out what their system is or why they always win when it's a larger bet. I can't seem to figure out their system, and it's better than mine! If only I didn't have all those distractions with how loud it is in there from the other tables. People talking about how their piddling little days went, how happy they are to meet someone, even that once renowned thief getting hired by someone. It doesn't mean anything, and it's throwing me off my game! Mercutio's breathing down my neck as it is...at least I still have those hidden documents so he doesn't dare kill me outright...but it won't be long before his patience runs out and even that threat won't be enough.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class WillemHarteScroll : Item
|
||||
{
|
||||
public override int LabelNumber { get { return 1023637; } } // scroll
|
||||
|
||||
[Constructable]
|
||||
public WillemHarteScroll() : base(0x46AF)
|
||||
{
|
||||
Movable = false;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (!from.HasGump(typeof(WillemHarteGump)))
|
||||
{
|
||||
from.SendGump(new WillemHarteGump(from));
|
||||
}
|
||||
}
|
||||
|
||||
public WillemHarteScroll(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class WillemHarteGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("WillemHarte", AccessLevel.GameMaster, new CommandEventHandler(WillemHarteGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void WillemHarteGump_OnCommand(CommandEventArgs e)
|
||||
{
|
||||
e.Mobile.SendGump(new WillemHarteGump(e.Mobile));
|
||||
}
|
||||
|
||||
public WillemHarteGump(Mobile owner) : base(50, 50)
|
||||
{
|
||||
this.Closable = true;
|
||||
this.Disposable = true;
|
||||
this.Dragable = true;
|
||||
|
||||
AddPage(0);
|
||||
AddBackground(6, 11, 390, 324, 9380);
|
||||
AddHtmlLocalized(175, 61, 250, 24, 1154394, 1062086, false, false); // Letter
|
||||
AddHtmlLocalized(155, 90, 250, 24, 1154417, 1062086, false, false); // Willem Hart
|
||||
AddHtmlLocalized(42, 121, 323, 174, 1154395, 1, false, true); // <I>*The letter seems to have been read many times and has areas where the ink has run from tears.*</I><BR>Mother, it's time for me to go out and make my own way. Isaiah's long since left and though I know how it has hurt you that he has sent fewer and fewer letters, but I can no longer stay here while my destiny lies out there. I've joined a group of skilled fighters who are planning to earn their keep escorting a group of miners attempting to gather some sort of special ore from Destard. It will be dangerous, but we're being led by an experienced guardsman from Skara Brae.<BR><BR>Virtues be with you, Mother.
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//Cancel
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user