Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a deadly rat's corpse" )]
|
||||
public class DeadlyRat : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public DeadlyRat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "A Deadly Rat";
|
||||
Body = 0xD7;
|
||||
BaseSoundID = 392;
|
||||
Hue = 646;
|
||||
|
||||
SetStr( 85, 105 );
|
||||
SetDex( 55, 70 );
|
||||
SetInt( 16, 30 );
|
||||
|
||||
SetHits( 260, 280 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 12, 16 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 30, 35 );
|
||||
SetResistance( ResistanceType.Fire, 25, 40 );
|
||||
SetResistance( ResistanceType.Poison, 20, 30 );
|
||||
SetResistance( ResistanceType.Cold, 25, 40 );
|
||||
SetResistance( ResistanceType.Energy, 20, 30 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 40.1, 45.0 );
|
||||
SetSkill( SkillName.Tactics, 66.3, 84.0 );
|
||||
SetSkill( SkillName.Wrestling, 70.3, 85.0 );
|
||||
|
||||
Fame = 5000;
|
||||
Karma = -5000;
|
||||
|
||||
VirtualArmor = 19;
|
||||
|
||||
switch ( Utility.Random( 8 ) )
|
||||
{
|
||||
case 0: PackItem( new MoldedCheese() ); break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
|
||||
public DeadlyRat( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a decaying zombie's corpse" )]
|
||||
public class DecayingZombie : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public DecayingZombie() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "A Decaying Zombie";
|
||||
Body = 0x3;
|
||||
BaseSoundID = 471;
|
||||
Hue = 371;
|
||||
|
||||
SetStr( 95, 115 );
|
||||
SetDex( 65, 80 );
|
||||
SetInt( 16, 30 );
|
||||
|
||||
SetHits( 320, 340 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 15, 20 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 42, 47 );
|
||||
SetResistance( ResistanceType.Fire, 30, 50 );
|
||||
SetResistance( ResistanceType.Poison, 30, 40 );
|
||||
SetResistance( ResistanceType.Cold, 30, 45 );
|
||||
SetResistance( ResistanceType.Energy, 30, 40 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 45.1, 55.0 );
|
||||
SetSkill( SkillName.Tactics, 72.3, 92.0 );
|
||||
SetSkill( SkillName.Wrestling, 76.3, 92.0 );
|
||||
|
||||
Fame = 7000;
|
||||
Karma = -7000;
|
||||
|
||||
VirtualArmor = 20;
|
||||
|
||||
switch ( Utility.Random( 8 ) )
|
||||
{
|
||||
case 0: PackItem( new DecayingHead() ); break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
|
||||
public DecayingZombie( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a dreaded wolf's corpse" )]
|
||||
public class DreadedWolf : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public DreadedWolf() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "A Dreaded Wolf";
|
||||
Body = 0x17;
|
||||
BaseSoundID = 229;
|
||||
Hue = 832;
|
||||
|
||||
SetStr( 92, 112 );
|
||||
SetDex( 62, 77 );
|
||||
SetInt( 16, 30 );
|
||||
|
||||
SetHits( 300, 320 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 14, 19 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 40, 45 );
|
||||
SetResistance( ResistanceType.Fire, 25, 40 );
|
||||
SetResistance( ResistanceType.Poison, 20, 30 );
|
||||
SetResistance( ResistanceType.Cold, 25, 40 );
|
||||
SetResistance( ResistanceType.Energy, 20, 30 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 45.1, 55.0 );
|
||||
SetSkill( SkillName.Tactics, 70.3, 90.0 );
|
||||
SetSkill( SkillName.Wrestling, 74.3, 90.0 );
|
||||
|
||||
Fame = 6000;
|
||||
Karma = -6000;
|
||||
|
||||
VirtualArmor = 20;
|
||||
|
||||
switch ( Utility.Random( 8 ) )
|
||||
{
|
||||
case 0: PackItem( new LargeEggs() ); break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
|
||||
public DreadedWolf( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a drunken orc's corpse" )]
|
||||
public class DrunkenOrc : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public DrunkenOrc() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "A Drunken Orc";
|
||||
Body = 0x11;
|
||||
BaseSoundID = 1114;
|
||||
Hue = 548;
|
||||
|
||||
SetStr( 100, 120 );
|
||||
SetDex( 70, 85 );
|
||||
SetInt( 16, 30 );
|
||||
|
||||
SetHits( 340, 360 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 17, 22 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 45, 60 );
|
||||
SetResistance( ResistanceType.Fire, 30, 50 );
|
||||
SetResistance( ResistanceType.Poison, 30, 40 );
|
||||
SetResistance( ResistanceType.Cold, 30, 45 );
|
||||
SetResistance( ResistanceType.Energy, 30, 40 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 45.1, 55.0 );
|
||||
SetSkill( SkillName.Tactics, 72.3, 92.0 );
|
||||
SetSkill( SkillName.Wrestling, 76.3, 92.0 );
|
||||
|
||||
Fame = 8000;
|
||||
Karma = -8000;
|
||||
|
||||
VirtualArmor = 20;
|
||||
|
||||
switch ( Utility.Random( 8 ) )
|
||||
{
|
||||
case 0: PackItem( new KegOfBritishAle() ); break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
|
||||
public DrunkenOrc( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "an enraged goat's corpse" )]
|
||||
public class EnragedGoat : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public EnragedGoat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "An Enraged Goat";
|
||||
Body = 0xD1;
|
||||
BaseSoundID = 153;
|
||||
Hue = 41;
|
||||
|
||||
SetStr( 80, 100 );
|
||||
SetDex( 50, 68 );
|
||||
SetInt( 20, 35 );
|
||||
|
||||
SetHits( 240, 260 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 10, 15 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 30, 35 );
|
||||
SetResistance( ResistanceType.Fire, 25, 40 );
|
||||
SetResistance( ResistanceType.Poison, 20, 30 );
|
||||
SetResistance( ResistanceType.Cold, 25, 40 );
|
||||
SetResistance( ResistanceType.Energy, 20, 30 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 37.1, 42.0 );
|
||||
SetSkill( SkillName.Tactics, 56.3, 80.0 );
|
||||
SetSkill( SkillName.Wrestling, 67.3, 80.0 );
|
||||
|
||||
Fame = 5000;
|
||||
Karma = -5000;
|
||||
|
||||
VirtualArmor = 19;
|
||||
|
||||
switch ( Utility.Random( 8 ) )
|
||||
{
|
||||
case 0: PackItem( new HeadOfBritainLettuce() ); break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
|
||||
public EnragedGoat( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a frenzied mongbat's corpse" )]
|
||||
public class FrenziedMongbat : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public FrenziedMongbat() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "A Frenzied Mongbat";
|
||||
Body = 0x27;
|
||||
BaseSoundID = 422;
|
||||
Hue = 333;
|
||||
|
||||
SetStr( 90, 110 );
|
||||
SetDex( 60, 75 );
|
||||
SetInt( 16, 30 );
|
||||
|
||||
SetHits( 280, 300 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 13, 17 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 30, 35 );
|
||||
SetResistance( ResistanceType.Fire, 25, 40 );
|
||||
SetResistance( ResistanceType.Poison, 20, 30 );
|
||||
SetResistance( ResistanceType.Cold, 25, 40 );
|
||||
SetResistance( ResistanceType.Energy, 20, 30 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 40.1, 45.0 );
|
||||
SetSkill( SkillName.Tactics, 68.3, 86.0 );
|
||||
SetSkill( SkillName.Wrestling, 72.3, 87.0 );
|
||||
|
||||
Fame = 6000;
|
||||
Karma = -6000;
|
||||
|
||||
VirtualArmor = 20;
|
||||
|
||||
switch ( Utility.Random( 8 ) )
|
||||
{
|
||||
case 0: PackItem( new HumongousFish() ); break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
|
||||
public FrenziedMongbat( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.ContextMenus;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a bloody pirate's corpse" )]
|
||||
public class Rackham : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public Rackham() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "Rackham";
|
||||
Title = "the Bloody Pirate";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
|
||||
ThighBoots tb = new ThighBoots();
|
||||
tb.Hue = 0;
|
||||
AddItem( tb );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 633;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 907;
|
||||
AddItem( fs );
|
||||
|
||||
SkullCap sk = new SkullCap();
|
||||
sk.Hue = 413;
|
||||
AddItem( sk );
|
||||
|
||||
BodySash bs = new BodySash();
|
||||
bs.Hue = 633;
|
||||
AddItem( bs );
|
||||
|
||||
Cloak cl = new Cloak();
|
||||
cl.Hue = 688;
|
||||
AddItem( cl );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
sc.Hue = 533;
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
SetStr( 120, 140 );
|
||||
SetDex( 90, 105 );
|
||||
SetInt( 25, 40 );
|
||||
|
||||
SetHits( 450, 500 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 20, 28 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 56, 67 );
|
||||
SetResistance( ResistanceType.Fire, 40, 50 );
|
||||
SetResistance( ResistanceType.Poison, 40, 50 );
|
||||
SetResistance( ResistanceType.Cold, 40, 45 );
|
||||
SetResistance( ResistanceType.Energy, 40, 55 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 55.1, 65.0 );
|
||||
SetSkill( SkillName.Tactics, 85.3, 105.0 );
|
||||
SetSkill( SkillName.Wrestling, 90.3, 105.0 );
|
||||
SetSkill( SkillName.Swords, 90.3, 105.0 );
|
||||
|
||||
Fame = 9900;
|
||||
Karma = -9900;
|
||||
|
||||
VirtualArmor = 25;
|
||||
|
||||
PackItem( new SeafaringBracelet() );
|
||||
PackItem( new TreasureMap( 1, Map.Trammel ) );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
}
|
||||
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
|
||||
public Rackham( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a water serpent's corpse" )]
|
||||
public class WaterSerpent : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public WaterSerpent() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "A Water Serpent";
|
||||
Body = 0x15;
|
||||
BaseSoundID = 219;
|
||||
Hue = 288;
|
||||
|
||||
SetStr( 100, 120 );
|
||||
SetDex( 70, 85 );
|
||||
SetInt( 16, 30 );
|
||||
|
||||
SetHits( 360, 380 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 18, 24 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 50, 60 );
|
||||
SetResistance( ResistanceType.Fire, 40, 50 );
|
||||
SetResistance( ResistanceType.Poison, 40, 50 );
|
||||
SetResistance( ResistanceType.Cold, 40, 45 );
|
||||
SetResistance( ResistanceType.Energy, 40, 55 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 50.1, 60.0 );
|
||||
SetSkill( SkillName.Tactics, 75.3, 95.0 );
|
||||
SetSkill( SkillName.Wrestling, 80.3, 95.0 );
|
||||
|
||||
Fame = 9000;
|
||||
Karma = -9000;
|
||||
|
||||
VirtualArmor = 22;
|
||||
|
||||
switch ( Utility.Random( 8 ) )
|
||||
{
|
||||
case 0: PackItem( new DeepSeaScale() ); break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool AlwaysMurderer{ get{ return true; } }
|
||||
|
||||
public WaterSerpent( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DecayingHead : Item
|
||||
{
|
||||
[Constructable]
|
||||
public DecayingHead() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public DecayingHead( int amount ) : base( 0x1DA0 )
|
||||
{
|
||||
Name = "A Decaying Head";
|
||||
Stackable = false;
|
||||
Hue = 371;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public DecayingHead( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DeepSeaScale : Item
|
||||
{
|
||||
[Constructable]
|
||||
public DeepSeaScale() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public DeepSeaScale( int amount ) : base( 0x26B4 )
|
||||
{
|
||||
Name = "A Deep Sea Scale";
|
||||
Stackable = false;
|
||||
Hue = 288;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public DeepSeaScale( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HeadOfBritainLettuce : Item
|
||||
{
|
||||
[Constructable]
|
||||
public HeadOfBritainLettuce() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public HeadOfBritainLettuce( int amount ) : base( 0xC70 )
|
||||
{
|
||||
Name = "A Head of Britain Lettuce";
|
||||
Stackable = false;
|
||||
Hue = 267;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public HeadOfBritainLettuce( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HumongousFish : Item
|
||||
{
|
||||
[Constructable]
|
||||
public HumongousFish() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public HumongousFish( int amount ) : base( 0x9CC )
|
||||
{
|
||||
Name = "A Humongous Fish";
|
||||
Stackable = false;
|
||||
Hue = 951;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public HumongousFish( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class KegOfBritishAle : Item
|
||||
{
|
||||
[Constructable]
|
||||
public KegOfBritishAle() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public KegOfBritishAle( int amount ) : base( 0x1940 )
|
||||
{
|
||||
Name = "A Keg of British Ale";
|
||||
Stackable = false;
|
||||
Hue = 411;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public KegOfBritishAle( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LargeEggs : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LargeEggs() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public LargeEggs( int amount ) : base( 0x9B5 )
|
||||
{
|
||||
Name = "Large Eggs";
|
||||
Stackable = false;
|
||||
Hue = 542;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public LargeEggs( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class MoldedCheese : Item
|
||||
{
|
||||
[Constructable]
|
||||
public MoldedCheese() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public MoldedCheese( int amount ) : base( 0x97D )
|
||||
{
|
||||
Name = "Molded Cheese";
|
||||
Stackable = false;
|
||||
Hue = 758;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public MoldedCheese( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SeafaringBracelet : Item
|
||||
{
|
||||
[Constructable]
|
||||
public SeafaringBracelet() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public SeafaringBracelet( int amount ) : base( 0x1086 )
|
||||
{
|
||||
Name = "A Seafaring Bracelet";
|
||||
Stackable = false;
|
||||
Hue = 387;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public SeafaringBracelet( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class ArathanFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("ArathanFinishGump", AccessLevel.GameMaster, new CommandEventHandler(ArathanFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void ArathanFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new ArathanFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public ArathanFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>You truly are a person of valor and justice! Here is the Gem of Control to show my appreciation for your assistance with this criminal.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Hopefully, you have acquired the other 3 items that Finlor requested. If so, combine them in your Seafarer's Tool Kit by double-clicking the kit with all 4 items in your backpack.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>This will give you a Completed Seafarer's Tool Kit. Take this to Finlor. I am most certain he can fashion the Mystical Sextant for you now.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Today you have proven your worthiness to hold this item. I hope it makes your voyages on the high seas of Britannia much more pleasant." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Return your Completed Seafarer's Tool Kit to Finlor!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class ArathanGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("ArathanGump", AccessLevel.GameMaster, new CommandEventHandler(ArathanGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void ArathanGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new ArathanGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public ArathanGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I am hunting a thieving pirate at the moment. Please stay out of our way.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If you want to help, I suggest you speak with Caztor in Serpent's Hold. Now please leave us to our work!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Speak with Caztor in Serpent's Hold first..." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class ArathanStartGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("ArathanStartGump", AccessLevel.GameMaster, new CommandEventHandler(ArathanStartGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void ArathanStartGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new ArathanStartGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public ArathanStartGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I see Caztor is requesting that I give up the Gem of Control to you.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>I have no need for this item. However, before I give it up, I must ask your assistance in helping us bring a criminal to justice.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>A few days ago, a bloody pirate named Rackham snuck into my home and stole a precious Seafaring Bracelet from me. We have tracked him down to this island.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>So far, he has evaded us. If you can help us hunt him down and kill him, then you should find the Seafaring Bracelet that he stole from me. Return this to me, and I will give you the Gem of Control that you need.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now go! Help us hunt this criminal Rackham down on this island and bring him to justice!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Bring me the Seafaring Bracelet!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class BarthusFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("BarthusFinishGump", AccessLevel.GameMaster, new CommandEventHandler(BarthusFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void BarthusFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new BarthusFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public BarthusFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Excellent work indeed! Now the citizens will rejoice in knowing that the threat from these vile creatures has diminished.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Tonight, we drink to you! While you were away, I already took the time to fashion this Sturdy Axle for you. I will also tell you that Caztor in Serpent's Hold can build a set of Steel Gears for you.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Take this letter to him. You can normally find him on the docks of Serpent's Hold.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now if you'll excuse me, I must make plans for our celebration tonight. I wish you well in your quest!<BR><BR>" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Take this letter to Caztor of Serpent's Hold...." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class BarthusGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("BarthusGump", AccessLevel.GameMaster, new CommandEventHandler(BarthusGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void BarthusGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new BarthusGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public BarthusGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>My apologies, but I have no time to converse at the moment.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Only if requested from Snyden of Cove, will I take the time to speak with you. Talk with him, then return to me." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Speak with Snyden of Cove first..." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class BarthusStartGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("BarthusStartGump", AccessLevel.GameMaster, new CommandEventHandler(BarthusStartGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void BarthusStartGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new BarthusStartGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public BarthusStartGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I see that Snyden sends you to retrieve a Sturdy Axle from me. I still remember how to make them.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>However, we are in desperate need of a strong fighter such as yourself.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Our local ale shipments typically arrive from Britain via land. However, lately there has been a group of Drunken Orcs that have been stealing from the caravans of ale from Britain. Now we must receive our ale shipments via the sea, which takes much more time for them to arrive, and is much more costly to us.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>We are almost out of ale, and the next shipment of ale is not set to arrive for more than a week. We must deal with these Drunken Orcs. If you can help us rid our supply route of these monsters, I will take the time to craft a Sturdy Axle for you.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>You can find them on the mainland, just to the east of the Ranger Huts that guard this city. Bring me back a Keg of British Ale and I will fashion a Sturdy Axle for your sextant. I can only hope that you find one of the kegs of ale from them. Hopefully they have not consumed all of the last shipment.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now go and rid us of this threat. Return to me when you have acquired a Keg of British Ale from them." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Bring me a Keg of British Ale!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class CaztorFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("CaztorFinishGump", AccessLevel.GameMaster, new CommandEventHandler(CaztorFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void CaztorFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new CaztorFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public CaztorFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>You have proven your worthiness to me. As promised, here is your set of Steel Gears.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>With the killing of some of these serpents, our citizens will be able to sleep better tonight. Because of your actions, our stronghold is much safer now!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>The final item you must acquire for your new sextant is the Gem of Control. Only Commodore Arathan holds this item.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>The last I heard, he was in Buccaneer's Den hunting for a pirate who stole something precious from him. Take this letter to him and see if he will give you the Gem of Control that you seek.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>The citizens of Serpent's Hold thank you for your assistance this day. We wish you well in your quest for your magical sextant." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Take this letter to Commodore Arathan in Buccaneer's Den...." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class CaztorGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("CaztorGump", AccessLevel.GameMaster, new CommandEventHandler(CaztorGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void CaztorGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new CaztorGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public CaztorGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>We are in dire need of assistance here. I have not the time to speak with you.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>I can only hope that my old shipmate Barthus of Skara Brae will send us help soon. Speak with him first." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Speak with Barthus of Skara Brae first..." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class CaztorStartGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("CaztorStartGump", AccessLevel.GameMaster, new CommandEventHandler(CaztorStartGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void CaztorStartGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new CaztorStartGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public CaztorStartGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Barthus sends you? He must know that you are a strong warrior. Interesting. Interesting indeed.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Tell you what. If you can help us with a dire problem, I will build a set of Steel Gears that Barthus requested of me in this letter.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Recently, some Water Serpents have been coming onto the peninsula to the south of us. With each passing day, they are becoming ever more aggressive. They have even ventured into our stronghold lately, attacking our citizens.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If you can help us get rid of them, I will build a set of Steel Gears for your sextant. Kill them until you find a Deep Sea Scale from one of them. Bring this Deep Sea Scale to me and I will build your set of Steel Gears.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Please make haste! We have no time to lose!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Bring me a Deep Sea Scale!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class FinlorFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("FinlorFinishGump", AccessLevel.GameMaster, new CommandEventHandler(FinlorFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void FinlorFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new FinlorFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public FinlorFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Well done! As promised, I have taken the items inside of the Seafarer's Tool Kit and fashioned a Mystical Sextant for you!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>To use this item, simply use it while on your boat. It will allow you to more easily give commands to your tillerman. Experiment with the various buttons to learn which command is given.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>You have done well. I wish you happy sailing in your future travels!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Happy sailing to you!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class FinlorGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("FinlorGump", AccessLevel.GameMaster, new CommandEventHandler(FinlorGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void FinlorGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new FinlorGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public FinlorGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Ahoy! Do you traverse the wild seas of Britannia? If you do, I have an item that might be of great interest to you.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>For you see, I have discovered how to fashion certain items into a magical sextant that will aid you while travelling the Seas of Britannia.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If you are interested, I can give you a special Seafarer's Tool Kit and you can put the necessary items into it. Once this is done, bring me the completed tool kit and I can fashion a Mystical Sextant for you. This sextant will allow you to control your vessel without shouting out commands to your lazy tillerman.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>But before I give you this Seafarer's Tool Kit, you must first do something for me.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Take this Sea Chest. There are 4 artifacts that are of great value to a seaman such as myself. Rumor has it that some of my old shipmates have acquired them. These rare items are an Enchanted Rope, a Special Sea Map, a Glowing Ship Model, and a Sacred Anchor.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If you put these items into the Sea Chest, then that will give you a Full Master of the Sea Chest! Bring this back to me and I will be the envy of all those who sail on the high seas!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>When you return to me with the Full Master of the Sea Chest, I will then give you the Seafarer's Tool Kit. You must then find the necessary items needed for me to create your Mystical Sextant.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>But first, take this letter to one of my old shipmates named Orthal. He roams around one of the docks in Britain. He is known to hold the first artifact, the Enchanted Rope. This letter will let him know that I sent you to retrieve this from him. Once you receive it, make sure to find out where the other 3 artifacts are located.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now go, and fill the Sea Chest with the 4 artifacts that I have requested!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Return to me with the Full Master of the Sea Chest!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class FinlorMidGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("FinlorMidGump", AccessLevel.GameMaster, new CommandEventHandler(FinlorMidGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void FinlorMidGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new FinlorMidGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public FinlorMidGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Splendid! Splendid indeed!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now all of Britannia will know that I am the true Master of the Sea!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Well, I see that you have lived up to your word, so now I will live up to mine!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Take this Seafarer's Tool Kit. This will allow me to use my skills and build the Mystical Sextant from 4 special items. You must retrieve these particular items for me as well.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>My old crew specialized in building 3 of these items. These items are a Reinforced Hinge, a Sturdy Axle, and some Steel Gears. Also, my old Commodore, Arathan, holds a Gem of Control that is the last item necessary to fashion the Mystical Sextant.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If you retrieve all 4 of these items, place them into the Seafarer's Tool Kit to give you a Completed Seafarer's Tool Kit. Bring this back to me and I will fashion a Mystical Sextant for you.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Take this letter to another one of my old shipmates named Snyden. He is routinely patrolling the docks in Cove. He was a master at building your first item, the Reinforced Hinge. This letter will let him know that I sent you to retrieve this from him. Once you receive it, make sure to find out where the other 3 necessary items are located.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now go, and fill the Seafarer's Tool Kit with the 4 necessary items. Return the completed kit to me and you will receive your new Mystical Sextant!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Return to me with the Completed Seafarer's Tool Kit!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class FlintFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("FlintFinishGump", AccessLevel.GameMaster, new CommandEventHandler(FlintFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void FlintFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new FlintFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public FlintFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>You have done well. With these eggs, we can hopefully hatch some more hens that will lay more of the large eggs that the citizens of this city have grown to love.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Here is the Sacred Anchor that I swore to give you if you helped us. This should make Finlor extremely happy. Place this, along with the other 3 artifacts, inside of the Sea Chest. Simply double-click the Sea Chest with all 4 items in your backpack.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Return the Full Master of the Sea Chest to Finlor. He will be most pleased.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>On behalf of the citizens of Trinsic, we thank you immensely." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Return the Full Master of the Sea Chest to Finlor...." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class FlintGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("FlintGump", AccessLevel.GameMaster, new CommandEventHandler(FlintGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void FlintGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new FlintGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public FlintGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I have no time to speak with you at the moment. I must attend to a growing threat to this city.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Only at the request of Sevargas of Vesper will I make time for you. I do apologize." +
|
||||
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Speak with Sevargas of Vesper first..." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class FlintStartGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("FlintStartGump", AccessLevel.GameMaster, new CommandEventHandler(FlintStartGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void FlintStartGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new FlintStartGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public FlintStartGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>So Sevargas wishes for me to hand over the Sacred Anchor to you? My old Captain Finlor must be desperate.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>However, a much more pressing matter is upon me that I must attend to. Perhaps if you can help me, I will give you this Sacred Anchor.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Barrier Isle, the peninsula on the east side of this city, has recently been overrun by some Dreaded Wolves. They were only a mere nuisance at first, but now they have begun stealing our local hens that lay abnormally large eggs.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>These eggs are critical to our local food supply. If you don't mind, please go to the peninsula just outside of the city and kill them. If you can bring me back a group of Large Eggs from them, I will give you the final artifact that Finlor seems to so desperately desire." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Bring me some Large Eggs!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class KyvonFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("KyvonFinishGump", AccessLevel.GameMaster, new CommandEventHandler(KyvonFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void KyvonFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new KyvonFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public KyvonFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Well done! I can now finish my experiment!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>As agreed, I will give you this Special Sea Map. I know that Finlor also wishes to have the famed Glowing Ship Model.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>The shipmate that possesses this Glowing Ship Model is named Sevargas. You may find him on the docks in Vesper. Take this letter to him for me.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now I must leave you. I thank you again for your assistance. And I wish you well in your quest for the Master of the Sea artifacts." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Take this letter to Sevargas in Vesper...." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class KyvonGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("KyvonGump", AccessLevel.GameMaster, new CommandEventHandler(KyvonGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void KyvonGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new KyvonGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public KyvonGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>If it is treasure you seek, then it is treasure I possess. But only at the request of Orthal in Britain will I consider parting with it.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now if you don't mind, I have more pressing matters to attend to. Please leave me be...." +
|
||||
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Speak with Orthal of Britain first..." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class KyvonStartGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("KyvonStartGump", AccessLevel.GameMaster, new CommandEventHandler(KyvonStartGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void KyvonStartGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new KyvonStartGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public KyvonStartGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>So Orthal has told you of a map that I hold? Yes it is true.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>This map I hold is a Special Sea Map that can only be read by the most skilled of sailors. If Finlor truly desires this, then so be it.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>However, I must first ask you for a favor....<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Recently this town has been overrun by vermin. In the northern part of this town, there are Deadly Rats that have taken over the deserted homes. I do not have a problem with rats, but they are sneaking into my home in the middle of the night and eating some experimental cheese that I have been creating. This cheese that I am researching is called Molded Cheese, and can hopefully be used as a great source of food for long voyages on the high seas.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now they have taken my last wheel of cheese, and my experiment will not be completed.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>But if you can help rid us of them, you might find some of this Molded Cheese still on them. If you can find me one wheel of this cheese, I will be more than happy to give you the Special Sea Map that you seek.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>That is the best I can offer you. Search in the deserted part of this town to the north. Please bring me some of this cheese so I may continue with my experiment." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Bring me a wheel of Molded Cheese!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class OrthalFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("OrthalFinishGump", AccessLevel.GameMaster, new CommandEventHandler(OrthalFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void OrthalFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new OrthalFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public OrthalFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>This is wonderful! I can now replant this and begin to grow my famous lettuce yet again. I cannot thank you enough!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>I will keep my word and give you this Enchanted Rope of mine. I also know where you may find the Special Sea Map that Finlor also wants.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>The Special Sea Map is currently being held by Kyvon of Nujel'm. Look for him around the docks in this city. Here's a letter to take to him. Hopefully he will give you the sea map that you seek.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>I thank you again for your assistance. I will never forget this wonderful deed that you have done for me!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Take this letter to Kyvon of Nujel'm...." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class OrthalGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("OrthalGump", AccessLevel.GameMaster, new CommandEventHandler(OrthalGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void OrthalGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new OrthalGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public OrthalGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I have a special item that I am sure many would love to get their hands on.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>However, I will not part with it but at the request of Finlor. Bring me a letter from him, and we will see if we can make an arrangement." +
|
||||
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Speak with Finlor the Sea Captain first...." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class OrthalStartGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register( "OrthalStartGump", AccessLevel.GameMaster, new CommandEventHandler( OrthalStartGump_OnCommand ) );
|
||||
}
|
||||
|
||||
private static void OrthalStartGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new OrthalStartGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public OrthalStartGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I see that Finlor wishes for you to retrieve the Enchanted Rope from me. Very well, but first I must ask something of you.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>I am having problems with a certain breed of goats that come into my farmland outside of Britain and devastate a special type of lettuce that I am now growing. They are known to most in these parts as Enraged Goats.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>This special type of lettuce is called Britain Lettuce. Unfortunately, these goats have taken it all, therefore, I cannot grow anymore of this lettuce unless I have at least one head of this particular lettuce.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If you could bring me a Head of Britain Lettuce, then I can start growing this special lettuce again, and I will gladly part ways with this Enchanted Rope. Sound like a fair trade?<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If so, find these goats and see if you can find one of them with a Head of Britain Lettuce in their mouths. Slay them and retrieve it for me. Then I will trade you that head of lettuce for this old rope.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>I believe that they come across the mountains to the west of the farmlands. Go through the mountain pass to the west of the farmlands, and see if you can find them.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If you accomplish this task, I will be forever indebted to you. Now please, try to find me a Head of Britain Lettuce from one of these Enraged Goats!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Bring me a Head of Britain Lettuce!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class SevargasFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("SevargasFinishGump", AccessLevel.GameMaster, new CommandEventHandler(SevargasFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void SevargasFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new SevargasFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public SevargasFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Splendid! I will fashion a trophy out of this fish and everyone will now believe me!<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Here is the Glowing Ship Model that I promised you. There is one final artifact that you seek, the Sacred Anchor.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>You must seek out Flint in Trinsic. He will be on the docks. Take this letter of request to him and hopefully he will give you the Sacred Anchor.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now I must be off to the tinker to fashion this trophy. Thank you so much for your help!" +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Take this letter to Flint in Trinsic...." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class SevargasGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("SevargasGump", AccessLevel.GameMaster, new CommandEventHandler(SevargasGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void SevargasGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new SevargasGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public SevargasGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I have obtained a rare ship model. However, I will only part with it at the request of Kyvon of Nujel'm.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now if you'll excuse me, I must hunt for a group of annoying mongbats who stole something from me...." +
|
||||
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Speak with Kyvon of Nujel'm first..." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class SevargasStartGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("SevargasStartGump", AccessLevel.GameMaster, new CommandEventHandler(SevargasStartGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void SevargasStartGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new SevargasStartGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public SevargasStartGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I see that Kyvon has sent a request for me to give you the Glowing Ship Model. Very well.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>You seem to be the strong type. I must request that you assist me before I part with this ship model.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>A couple of days ago, I was fishing off of these docks and caught the biggest fish I have ever seen. It must have been a record. But as soon as I pulled the fish onto the docks, a group of Frenzied Mongbats swooped in and stole it from me.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Now no one believes me when I tell them of the Humongous Fish that I caught. If you could find these Frenzied Mongbats and retrieve this Humongous Fish for me, I will give you this Glowing Ship Model with no questions asked.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>The last I have heard, they have made their home in Windemere Woods to the North of the city, on the east side of the bay.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Kill them to see if you can find one of them that holds my Humongous Fish and I will trade you for this Glowing Ship Model." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Bring me the Humongous Fish!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class SnydenFinishGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("SnydenFinishGump", AccessLevel.GameMaster, new CommandEventHandler(SnydenFinishGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void SnydenFinishGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new SnydenFinishGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public SnydenFinishGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>I cannot thank you enough for your assistance. As we agreed upon, here is a Reinforced Hinge for your special sextant.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>I know that you also desire a Sturdy Axle. Barthus in Skara Brae is a master at creating these. Take this letter to him that requests he make one for you.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>The citizens of Cove are forever indebted to you. I thank you again for your services." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Take this letter to Barthus in Skara Brae...." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class SnydenGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("SnydenGump", AccessLevel.GameMaster, new CommandEventHandler(SnydenGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void SnydenGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new SnydenGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public SnydenGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Please do not disturb me at the moment. There is a growing threat to this town.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>Only at the request of Finlor, my old Sea Captain, will I take the time to speak with anyone. I apologize for being short with you, but there are more urgent issues that I must deal with at the moment." +
|
||||
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Find Finlor, and speak with him first..." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class SnydenStartGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("SnydenStartGump", AccessLevel.GameMaster, new CommandEventHandler(SnydenStartGump_OnCommand));
|
||||
}
|
||||
|
||||
private static void SnydenStartGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new SnydenStartGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public SnydenStartGump( Mobile owner ) : base( 50,50 )
|
||||
{
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
||||
AddPage( 0 );
|
||||
AddImageTiled( 54, 33, 369, 400, 2624 );
|
||||
AddAlphaRegion( 54, 33, 369, 400 );
|
||||
|
||||
AddImageTiled( 416, 39, 44, 389, 203 );
|
||||
//--------------------------------------Window size bar--------------------------------------------
|
||||
|
||||
AddImage( 97, 49, 9005 );
|
||||
AddImageTiled( 58, 39, 29, 390, 10460 );
|
||||
AddImageTiled( 412, 37, 31, 389, 10460 );
|
||||
AddLabel( 140, 60, 0x34, "Master of the Sea" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=YELLOW>Finlor sends you? I suppose he desires me to fashion for you a Reinforced Hinge that I specialize in creating.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>So be it. But first you must help the locals here in Cove.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>We depend much on the city of Vesper for our local supplies. However, there are some Decaying Zombies that occupy some ruins along one of our main secret routes through the woods to the East of this town. They frighten our caravans and prevent many of our supplies from reaching us.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If you can assist us in eradicating this group of zombies, I will gladly take the time to fashion a Reinforced Hinge for you. Find one of the zombies which have recently sprung up and has not decayed very much, and bring me a head as proof of your assistance. Most of the zombies are too decayed to retrieve a head, but keep trying. I am most certain you will be successful.<BR><BR>" +
|
||||
"<BASEFONT COLOR=YELLOW>If I receive a Decaying Head, I will make you the Reinforced Hinge that you desire." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
AddImage( 430, 9, 10441);
|
||||
AddImageTiled( 40, 38, 17, 391, 9263 );
|
||||
AddImage( 6, 25, 10421 );
|
||||
AddImage( 34, 12, 10420 );
|
||||
AddImageTiled( 94, 25, 342, 15, 10304 );
|
||||
AddImageTiled( 40, 427, 415, 16, 10304 );
|
||||
AddImage( -10, 314, 10402 );
|
||||
AddImage( 56, 150, 10411 );
|
||||
AddImage( 155, 120, 2103 );
|
||||
AddImage( 136, 84, 96 );
|
||||
|
||||
AddButton( 225, 390, 0xF7, 0xF8, 0, GumpButtonType.Reply, 0 );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
|
||||
{
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 0: //Case uses the ActionIDs defenied above. Case 0 defenies the actions for the button with the action id 0
|
||||
{
|
||||
//Cancel
|
||||
from.SendMessage( "Bring me a Decaying Head!" );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class EnchantedRope : Item
|
||||
{
|
||||
[Constructable]
|
||||
public EnchantedRope() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public EnchantedRope( int amount ) : base( 0x14F8 )
|
||||
{
|
||||
Name = "Enchanted Rope";
|
||||
Stackable = false;
|
||||
Hue = 1153;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public EnchantedRope( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GemOfControl : Item
|
||||
{
|
||||
[Constructable]
|
||||
public GemOfControl() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public GemOfControl( int amount ) : base( 0x1ED0 )
|
||||
{
|
||||
Name = "Gem Of Control";
|
||||
Stackable = false;
|
||||
Hue = 1152;
|
||||
Weight = 0.1;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public GemOfControl( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GlowingShipModel : Item
|
||||
{
|
||||
[Constructable]
|
||||
public GlowingShipModel() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public GlowingShipModel( int amount ) : base( 0x14F4 )
|
||||
{
|
||||
Name = "A Glowing Ship Model";
|
||||
Stackable = false;
|
||||
Hue = 1153;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public GlowingShipModel( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ReinforcedHinge : Item
|
||||
{
|
||||
[Constructable]
|
||||
public ReinforcedHinge() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public ReinforcedHinge( int amount ) : base( 0x1055 )
|
||||
{
|
||||
Name = "A Reinforced Hinge";
|
||||
Stackable = false;
|
||||
Hue = 1153;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public ReinforcedHinge( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SacredAnchor : Item
|
||||
{
|
||||
[Constructable]
|
||||
public SacredAnchor() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public SacredAnchor( int amount ) : base( 0x14F9 )
|
||||
{
|
||||
Name = "A Sacred Anchor";
|
||||
Stackable = false;
|
||||
Hue = 683;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public SacredAnchor( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SpecialSeaMap : Item
|
||||
{
|
||||
[Constructable]
|
||||
public SpecialSeaMap() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public SpecialSeaMap( int amount ) : base( 0x14EC )
|
||||
{
|
||||
Name = "A Special Sea Map";
|
||||
Stackable = false;
|
||||
Hue = 1153;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public SpecialSeaMap( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SteelGears : Item
|
||||
{
|
||||
[Constructable]
|
||||
public SteelGears() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public SteelGears( int amount ) : base( 0x1053 )
|
||||
{
|
||||
Name = "Steel Gears";
|
||||
Stackable = false;
|
||||
Hue = 1153;
|
||||
Weight = 0.1;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public SteelGears( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SturdyAxle : Item
|
||||
{
|
||||
[Constructable]
|
||||
public SturdyAxle() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public SturdyAxle( int amount ) : base( 0x105B )
|
||||
{
|
||||
Name = "A Sturdy Axle";
|
||||
Stackable = false;
|
||||
Hue = 1153;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public SturdyAxle( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Prompts;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LetterToArathan : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LetterToArathan() : base( 0x14ED )
|
||||
{
|
||||
Weight = 1.0;
|
||||
Name = "Letter to Commodore Arathan of Buccaneer's Den";
|
||||
}
|
||||
|
||||
public LetterToArathan( 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 override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "Caztor's Letter to Commodore Arathan of Buccaneer's Den." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Prompts;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LetterToBarthus : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LetterToBarthus ()
|
||||
: base(0x14ED)
|
||||
{
|
||||
base.Weight = 1.0;
|
||||
base.Name = "Letter to Barthus of Skara Brae";
|
||||
}
|
||||
|
||||
public LetterToBarthus( 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 override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "Snyden's Letter to Barthus of Skara Brae." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Prompts;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LetterToCaztor : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LetterToCaztor ()
|
||||
: base(0x14ED)
|
||||
{
|
||||
base.Weight = 1.0;
|
||||
base.Name = "Letter to Caztor of Serpent's Hold";
|
||||
}
|
||||
|
||||
public LetterToCaztor( 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 override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "Barthus's Letter to Caztor of Serpent's Hold." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Prompts;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LetterToFlint : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LetterToFlint ()
|
||||
: base(0x14ED)
|
||||
{
|
||||
base.Weight = 1.0;
|
||||
base.Name = "Letter to Flint of Trinsic";
|
||||
}
|
||||
|
||||
public LetterToFlint( 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 override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "Sevargas's Letter to Flint of Trinsic." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Prompts;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LetterToKyvon : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LetterToKyvon ()
|
||||
: base(0x14ED)
|
||||
{
|
||||
base.Weight = 1.0;
|
||||
base.Name = "Letter to Kyvon of Nujel'm";
|
||||
}
|
||||
|
||||
public LetterToKyvon( 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 override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "Orthal's Letter to Kyvon of Nujel'm." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Prompts;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LetterToOrthal : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LetterToOrthal ()
|
||||
: base(0x14ED)
|
||||
{
|
||||
base.Weight = 1.0;
|
||||
base.Name = "Letter to Orthal of Britain";
|
||||
}
|
||||
|
||||
public LetterToOrthal( 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 override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "Finlor's Letter to Orthal of Britain." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Prompts;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LetterToSevargas : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LetterToSevargas ()
|
||||
: base(0x14ED)
|
||||
{
|
||||
base.Weight = 1.0;
|
||||
base.Name = "Letter to Sevargas of Vesper";
|
||||
}
|
||||
|
||||
public LetterToSevargas( 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 override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "Kyvon's Letter to Sevargas of Vesper." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Prompts;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LetterToSnyden : Item
|
||||
{
|
||||
[Constructable]
|
||||
public LetterToSnyden ()
|
||||
: base(0x14ED)
|
||||
{
|
||||
base.Weight = 1.0;
|
||||
base.Name = "Letter to Snyden of Cove";
|
||||
}
|
||||
|
||||
public LetterToSnyden( 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 override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "Finlor's Letter to Snyden of Cove." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
Mystical Sextant Quest.
|
||||
Created by Skarth.
|
||||
RunUO 2.0 adaptation dy Dereckson.
|
||||
|
||||
This will guide you through the set-up process. It's pretty basic. You just add mobiles at key
|
||||
locations that I will give you. You will also add spawners at other locations that I
|
||||
will give you (I'm assuming you know how to set up your spawner system). An overview
|
||||
of the quest is below the instructions.
|
||||
|
||||
SET-UP
|
||||
At the locations given, make sure you're on the Trammel map and type the following:
|
||||
[go XXX YYY ZZZ
|
||||
....where XXX, YYY, and ZZZ are the location numbers given for each mobile and spawner.
|
||||
|
||||
Quest Mob set-up:
|
||||
|
||||
1. Finlor - Add Finlor where ever you wish to begin this quest....anywhere.
|
||||
2. Orthal - Go to loc "1487 1757 -2" by typing "[go 1487 1757 -2", and add Orthal on the
|
||||
docks in Britain by typing "[add Orthal" and placing him there.
|
||||
3. Kyvon - Go to loc "3804 1279 5" and add Kyvon on the docks here in Nujel'm.
|
||||
4. Sevargas - Go to loc "3029 826 -3" and add Sevargas on the docks here in Vesper.
|
||||
5. Flint - Go to loc "2084 2855 -3" and add Flint on the docks here in Trinsic.
|
||||
6. Snyden - Go to loc "2256 1170 -2" and add Snyden on the docks here in Cove.
|
||||
7. Barthus - Go to loc "660 2242 -3" and add Barthus on the docks here in Skara Brae.
|
||||
8. Caztor - Go to loc "3003 3464 15" and add Caztor on the docks here in Serpent's Hold.
|
||||
9. Arathan - Go to loc "2751 2165 -2" and add Arathan on the docks here in Buccaneer's Den.
|
||||
|
||||
Creature set-up:
|
||||
|
||||
1. EnragedGoat - Go to loc "926 1983 0" and add your spawner. Add "EnragedGoat" to your spawner
|
||||
and set up about 7-10 of them with a spawn range around 40.
|
||||
[add spawner EnragedGoat set Count 10 HomeRange 40
|
||||
2. DeadlyRat - Go to loc "3674 1086 0" and add your spawner with "DeadlyRat" to it. About 7-10
|
||||
with spawn range of around 40.
|
||||
[add spawner DeadlyRat set Count 10 HomeRange 40
|
||||
3. FrenziedMongbat - Go to loc "3120 433 9" and add your spawner with "FrenziedMongbat" to it.
|
||||
About 7-10 with spawn range of around 40.
|
||||
[add spawner FrenziedMongbat set Count 10 HomeRange 40
|
||||
4. DreadedWolf - Go to loc "2123 2740 20" and add your spawner with "DreadedWolf" to it. About
|
||||
7-10 with spawn range of around 30.
|
||||
[add spawner DreadedWolf set Count 10 HomeRange 30
|
||||
5. DecayingZombie - Go to loc "2582 1121 0" and add your spawner with "DecayingZombie" to it.
|
||||
About 7 with spawn range of around 25.
|
||||
[add spawner DecayingZombie set Count 7 HomeRange 25
|
||||
6. DrunkenOrc - Go to loc "944 2247 0" and add your spawner with "DrunkenOrc" to it. About
|
||||
7-10 with spawn range of around 40.
|
||||
[add spawner DrunkenOrc set Count 10 HomeRange 40
|
||||
7. WaterSerpent - Go to loc "3001 3592 15" and add your spawner with "WaterSerpent" to it.
|
||||
About 7-10 with spawn range of around 40.
|
||||
[add spawner WaterSerpent set Count 10 HomeRange 40
|
||||
8. Rackham - Go to loc "2794 2273 10" and add your spawner with "Rackham" to it. Only spawn
|
||||
ONE of him, with a spawn range of around 50.
|
||||
[add spawner Rackham set HomeRange 50
|
||||
|
||||
That's all you need to do. Now your players can talk to Finlor and start their quest.
|
||||
@@ -0,0 +1,159 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Arathan's corpse" )]
|
||||
public class Arathan : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Arathan()
|
||||
{
|
||||
Name = "Commodore Arathan";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
ThighBoots tb = new ThighBoots();
|
||||
tb.Hue = 0;
|
||||
AddItem( tb );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 6;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 52;
|
||||
AddItem( th );
|
||||
|
||||
BodySash bs = new BodySash();
|
||||
bs.Hue = 6;
|
||||
AddItem( bs );
|
||||
|
||||
Cloak cl = new Cloak();
|
||||
cl.Hue = 38;
|
||||
AddItem( cl );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
}
|
||||
|
||||
public Arathan( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new ArathanEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class ArathanEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public ArathanEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( ArathanGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new ArathanGump( mobile ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is LetterToArathan )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.SendGump( new ArathanStartGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
|
||||
if( dropped is SeafaringBracelet )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new GemOfControl() );
|
||||
mobile.SendGump( new ArathanFinishGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mobile.SendMessage("I have no need for this item.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Barthus's corpse" )]
|
||||
public class Barthus : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Barthus()
|
||||
{
|
||||
Name = "Barthus";
|
||||
Title = "the Shipmate";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
Boots bt = new Boots();
|
||||
bt.Hue = 0;
|
||||
AddItem( bt );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 0;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 0;
|
||||
AddItem( th );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
}
|
||||
|
||||
public Barthus( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new BarthusEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class BarthusEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public BarthusEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( BarthusGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new BarthusGump( mobile ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is LetterToBarthus )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.SendGump( new BarthusStartGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
|
||||
if( dropped is KegOfBritishAle )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new SturdyAxle() );
|
||||
mobile.AddToBackpack( new LetterToCaztor() );
|
||||
mobile.SendGump( new BarthusFinishGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mobile.SendMessage("I have no need for this item.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Caztor's corpse" )]
|
||||
public class Caztor : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Caztor()
|
||||
{
|
||||
Name = "Caztor";
|
||||
Title = "the Shipmate";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
Boots bt = new Boots();
|
||||
bt.Hue = 0;
|
||||
AddItem( bt );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 0;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 0;
|
||||
AddItem( th );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149; ;
|
||||
|
||||
}
|
||||
|
||||
public Caztor( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new CaztorEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class CaztorEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public CaztorEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( CaztorGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new CaztorGump( mobile ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is LetterToCaztor )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.SendGump( new CaztorStartGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
|
||||
if( dropped is DeepSeaScale )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new SteelGears() );
|
||||
mobile.AddToBackpack( new LetterToArathan() );
|
||||
mobile.SendGump( new CaztorFinishGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mobile.SendMessage("I have no need for this item.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,174 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Finlor's corpse" )]
|
||||
public class Finlor : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Finlor()
|
||||
{
|
||||
Name = "Finlor";
|
||||
Title = "the Sea Captain";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
ThighBoots tb = new ThighBoots();
|
||||
tb.Hue = 0;
|
||||
AddItem( tb );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 6;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 52;
|
||||
AddItem( th );
|
||||
|
||||
BodySash bs = new BodySash();
|
||||
bs.Hue = 6;
|
||||
AddItem( bs );
|
||||
|
||||
Cloak cl = new Cloak();
|
||||
cl.Hue = 38;
|
||||
AddItem( cl );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
}
|
||||
|
||||
public Finlor( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new FinlorEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class FinlorEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public FinlorEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( FinlorGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new FinlorGump( mobile ));
|
||||
mobile.AddToBackpack( new LetterToOrthal() );
|
||||
mobile.AddToBackpack( new SeaChest() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
Account acct=(Account)from.Account;
|
||||
bool MysticalSextantReceived = Convert.ToBoolean( acct.GetTag("MysticalSextantReceived") );
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is CompletedSeafarerToolKit )
|
||||
{
|
||||
if(dropped.Amount!=1)
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "Complete the Seafarer's Tool Kit!", mobile.NetState );
|
||||
return false;
|
||||
}
|
||||
if ( !MysticalSextantReceived ) //added account tag check
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new MysticalSextant() );
|
||||
mobile.SendGump( new FinlorFinishGump( mobile ));
|
||||
acct.SetTag( "MysticalSextantReceived", "true" );
|
||||
}
|
||||
else //what to do if account has already been tagged
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I see you have decided to complete another seafarer's tool kit. Here is your reward.", mobile.NetState );
|
||||
mobile.AddToBackpack( new Gold( 4000 ) );
|
||||
dropped.Delete();
|
||||
}
|
||||
}
|
||||
if( dropped is MasterOfTheSeaChest )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new SeafarerToolKit() );
|
||||
mobile.AddToBackpack( new LetterToSnyden() );
|
||||
mobile.SendGump( new FinlorMidGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,151 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Flint's corpse" )]
|
||||
public class Flint : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Flint()
|
||||
{
|
||||
Name = "Flint";
|
||||
Title = "the Shipmate";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
Boots bt = new Boots();
|
||||
bt.Hue = 0;
|
||||
AddItem( bt );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 0;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 0;
|
||||
AddItem( th );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
}
|
||||
|
||||
public Flint( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new FlintEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class FlintEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public FlintEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( FlintGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new FlintGump( mobile ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is LetterToFlint )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.SendGump( new FlintStartGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
|
||||
if( dropped is LargeEggs )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new SacredAnchor() );
|
||||
mobile.SendGump( new FlintFinishGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mobile.SendMessage("I have no need for this item.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Kyvon's corpse" )]
|
||||
public class Kyvon : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Kyvon()
|
||||
{
|
||||
Name = "Kyvon";
|
||||
Title = "the Shipmate";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
Boots bt = new Boots();
|
||||
bt.Hue = 0;
|
||||
AddItem( bt );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 0;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 0;
|
||||
AddItem( th );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
}
|
||||
|
||||
public Kyvon( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new KyvonEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class KyvonEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public KyvonEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( KyvonGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new KyvonGump( mobile ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is LetterToKyvon )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.SendGump( new KyvonStartGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
|
||||
if( dropped is MoldedCheese )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new SpecialSeaMap() );
|
||||
mobile.AddToBackpack( new LetterToSevargas() );
|
||||
mobile.SendGump( new KyvonFinishGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mobile.SendMessage("I have no need for this item.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Orthal's corpse" )]
|
||||
public class Orthal : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Orthal()
|
||||
{
|
||||
Name = "Orthal";
|
||||
Title = "the Shipmate";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
Boots bt = new Boots();
|
||||
bt.Hue = 0;
|
||||
AddItem( bt );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 0;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 0;
|
||||
AddItem( th );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
}
|
||||
|
||||
public Orthal( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new OrthalEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class OrthalEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public OrthalEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( OrthalGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new OrthalGump( mobile ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is LetterToOrthal )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.SendGump( new OrthalStartGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
|
||||
if( dropped is HeadOfBritainLettuce )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new EnchantedRope() );
|
||||
mobile.AddToBackpack( new LetterToKyvon() );
|
||||
mobile.SendGump( new OrthalFinishGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mobile.SendMessage("I have no need for this item.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Sevargas's corpse" )]
|
||||
public class Sevargas : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Sevargas()
|
||||
{
|
||||
Name = "Sevargas";
|
||||
Title = "the Shipmate";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
Boots bt = new Boots();
|
||||
bt.Hue = 0;
|
||||
AddItem( bt );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 0;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 0;
|
||||
AddItem( th );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
}
|
||||
|
||||
public Sevargas( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new SevargasEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class SevargasEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public SevargasEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( SevargasGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new SevargasGump( mobile ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is LetterToSevargas )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.SendGump( new SevargasStartGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
|
||||
if( dropped is HumongousFish )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new GlowingShipModel() );
|
||||
mobile.AddToBackpack( new LetterToFlint() );
|
||||
mobile.SendGump( new SevargasFinishGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mobile.SendMessage("I have no need for this item.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Accounting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Snyden's corpse" )]
|
||||
public class Snyden : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Snyden()
|
||||
{
|
||||
Name = "Snyden";
|
||||
Title = "the Shipmate";
|
||||
Body = 0x190;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
Blessed = true;
|
||||
CantWalk = true;
|
||||
Direction = Direction.South;
|
||||
|
||||
Boots bt = new Boots();
|
||||
bt.Hue = 0;
|
||||
AddItem( bt );
|
||||
|
||||
LongPants lp = new LongPants();
|
||||
lp.Hue = 0;
|
||||
AddItem( lp );
|
||||
|
||||
FancyShirt fs = new FancyShirt();
|
||||
fs.Hue = 0;
|
||||
AddItem( fs );
|
||||
|
||||
TricorneHat th = new TricorneHat();
|
||||
th.Hue = 0;
|
||||
AddItem( th );
|
||||
|
||||
Scimitar sc = new Scimitar();
|
||||
AddItem( sc );
|
||||
|
||||
GoldBeadNecklace gn = new GoldBeadNecklace();
|
||||
AddItem( gn );
|
||||
|
||||
GoldBracelet gb = new GoldBracelet();
|
||||
AddItem( gb );
|
||||
|
||||
GoldEarrings ge = new GoldEarrings();
|
||||
AddItem( ge );
|
||||
|
||||
GoldRing gr = new GoldRing();
|
||||
AddItem( gr );
|
||||
|
||||
HairItemID = 0x203D; // PonyTail
|
||||
HairHue = 1149;
|
||||
FacialHairItemID = 0x204D; // Vandyke
|
||||
FacialHairHue = 1149;
|
||||
|
||||
}
|
||||
|
||||
public Snyden( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries (Mobile from, System.Collections.Generic.List<ContextMenuEntry> list)
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new SnydenEntry( from, this ) );
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public class SnydenEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public SnydenEntry( Mobile from, Mobile giver ) : base( 6146, 3 )
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_Giver = giver;
|
||||
}
|
||||
|
||||
public override void OnClick()
|
||||
{
|
||||
|
||||
|
||||
if( !( m_Mobile is PlayerMobile ) )
|
||||
return;
|
||||
|
||||
PlayerMobile mobile = (PlayerMobile) m_Mobile;
|
||||
|
||||
{
|
||||
if ( ! mobile.HasGump( typeof( SnydenGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new SnydenGump( mobile ));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is LetterToSnyden )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.SendGump( new SnydenStartGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
|
||||
if( dropped is DecayingHead )
|
||||
{
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new ReinforcedHinge() );
|
||||
mobile.AddToBackpack( new LetterToBarthus() );
|
||||
mobile.SendGump( new SnydenFinishGump( mobile ));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mobile.SendMessage("I have no need for this item.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I have no need for this item.", mobile.NetState );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using System.Collections;
|
||||
using Server.Multis;
|
||||
using Server.Mobiles;
|
||||
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
||||
public class CompletedSeafarerToolKit : Item
|
||||
{
|
||||
[Constructable]
|
||||
public CompletedSeafarerToolKit() : this( null )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public CompletedSeafarerToolKit ( string name ) : base ( 0x1EBA )
|
||||
{
|
||||
Name = "A Completed Seafarer's Tool Kit";
|
||||
LootType = LootType.Blessed;
|
||||
Hue = 263;
|
||||
}
|
||||
|
||||
public CompletedSeafarerToolKit ( Serial serial ) : base ( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize ( GenericWriter writer)
|
||||
{
|
||||
base.Serialize ( writer );
|
||||
|
||||
writer.Write ( (int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize ( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using System.Collections;
|
||||
using Server.Multis;
|
||||
using Server.Mobiles;
|
||||
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
||||
public class MasterOfTheSeaChest : Item
|
||||
{
|
||||
[Constructable]
|
||||
public MasterOfTheSeaChest() : this( null )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public MasterOfTheSeaChest ( string name ) : base ( 0xE41 )
|
||||
{
|
||||
Name = "Full Master Of The Sea Chest";
|
||||
LootType = LootType.Blessed;
|
||||
Hue = 101;
|
||||
}
|
||||
|
||||
public MasterOfTheSeaChest ( Serial serial ) : base ( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize ( GenericWriter writer)
|
||||
{
|
||||
base.Serialize ( writer );
|
||||
|
||||
writer.Write ( (int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize ( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,200 @@
|
||||
/*
|
||||
All credit for this particular script goes to Haazen for an awesome job!
|
||||
*/
|
||||
using System;
|
||||
using System.Text;
|
||||
using Server.Gumps;
|
||||
using Server.Multis;
|
||||
using Server.Mobiles;
|
||||
using Server.Movement;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class MysticalSextant : Item
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public MysticalSextant() : base( 0x1057 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 1283;
|
||||
Name = "Mystical Sextant of Control";
|
||||
}
|
||||
|
||||
public override void OnDoubleClick( Mobile from )
|
||||
{
|
||||
from.SendGump( new NavigationGump( (PlayerMobile)from ) );
|
||||
}
|
||||
|
||||
public MysticalSextant( 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();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
namespace Server.Gumps
|
||||
|
||||
{
|
||||
|
||||
public class NavigationGump : Gump
|
||||
{
|
||||
private PlayerMobile m_From;
|
||||
|
||||
public NavigationGump( PlayerMobile from ) : base( 40, 40 )
|
||||
{
|
||||
from.CloseGump( typeof( NavigationGump ) );
|
||||
m_From = from;
|
||||
|
||||
AddPage( 0 );
|
||||
AddBackground( 0, 0, 140, 155, 83 );//5054 83
|
||||
AddImageTiled(8, 9, 126, 135, 1416);
|
||||
AddAlphaRegion(8, 9, 126, 135);
|
||||
|
||||
AddButton( 20, 124, 0x15E6, 0x15E6, 1, GumpButtonType.Reply, 0 );//Drop 0x985
|
||||
AddLabel( 50, 120, 0x34, "Anchor" );
|
||||
|
||||
AddButton( 107, 124, 0x15E0, 0x15E0, 2, GumpButtonType.Reply, 0 );//Raise 0x983
|
||||
|
||||
AddButton( 60, 10, 0x26AC, 0x26AC, 3, GumpButtonType.Reply, 0 ); //Forward
|
||||
AddButton( 60, 90, 0x26B2, 0x26B2, 4, GumpButtonType.Reply, 0 ); //Back
|
||||
AddButton( 20, 50, 0x26B5, 0x26B5, 5, GumpButtonType.Reply, 0 ); //Left
|
||||
AddButton( 100, 50, 0x26AF, 0x26AF, 6, GumpButtonType.Reply, 0 ); //Right
|
||||
AddButton( 62, 53, 0x2C93, 0x2C93, 7, GumpButtonType.Reply, 0 ); //Stop
|
||||
|
||||
AddButton( 20, 90, 0x5786, 0x5786, 8, GumpButtonType.Reply, 0 ); //TurnLeft
|
||||
//AddLabel( 55, 125, 0x34, "Turn" );
|
||||
AddButton( 100, 90, 0x5781, 0x5781, 9, GumpButtonType.Reply, 0 ); //TurnRight
|
||||
AddButton( 62, 31, 0x2621, 0x2621, 10, GumpButtonType.Reply, 0 ); //OneForward
|
||||
AddButton( 62, 73, 0x2625, 0x2625, 11, GumpButtonType.Reply, 0 ); //OneBack
|
||||
AddButton( 40, 52, 0x2627, 0x2627, 12, GumpButtonType.Reply, 0 ); //OneLeft
|
||||
AddButton( 83, 52, 0x2623, 0x2623, 13, GumpButtonType.Reply, 0 ); //OneRight
|
||||
|
||||
AddButton( 39, 29, 0x24C0, 0x24C0, 14, GumpButtonType.Reply, 0 ); //LeftForward 0x13F4
|
||||
AddButton( 92, 29, 0x24BE, 0x24BE, 15, GumpButtonType.Reply, 0 ); //RightForward 0x13F2
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState sender, RelayInfo info )
|
||||
{
|
||||
|
||||
BaseBoat boat = BaseBoat.FindBoatAt( m_From, m_From.Map );
|
||||
Container pack = m_From.Backpack;
|
||||
if ( boat == null )
|
||||
return;
|
||||
if ( pack != null ) // && pack.ConsumeTotal( typeof( Gold ), 2 ) )
|
||||
{
|
||||
switch ( info.ButtonID )
|
||||
{
|
||||
case 1: // Drop Anchor
|
||||
{
|
||||
//boat.LowerAnchor( true );
|
||||
//m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 2: // Raise Anchor
|
||||
{
|
||||
//boat.RaiseAnchor( true );
|
||||
//m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 3: // Forward
|
||||
{
|
||||
boat.StartMove( Direction.North, true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 4: // Back
|
||||
{
|
||||
boat.StartMove( Direction.South, true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 5: // Left
|
||||
{
|
||||
boat.StartMove( Direction.West, true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 6: // Right
|
||||
{
|
||||
boat.StartMove( Direction.East, true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 7: // Stop
|
||||
{
|
||||
boat.StopMove( true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 8: // TurnLeft
|
||||
{
|
||||
boat.StartTurn( -2, true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 9: // TurnRight
|
||||
{
|
||||
boat.StartTurn( 2, true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 10: // OneForward
|
||||
{
|
||||
boat.OneMove( Direction.North );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 11: // OneBack
|
||||
{
|
||||
boat.OneMove( Direction.South );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 12: // OneLeft
|
||||
{
|
||||
boat.OneMove( Direction.West );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 13: // OneRight
|
||||
{
|
||||
boat.OneMove( Direction.East );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 14: // LeftForward
|
||||
{
|
||||
boat.StartMove( Direction.Up, true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
case 15: // RightForward
|
||||
{
|
||||
boat.StartMove( Direction.Right, true );
|
||||
m_From.SendGump( new NavigationGump( (PlayerMobile)m_From ) );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using System.Collections;
|
||||
using Server.Multis;
|
||||
using Server.Mobiles;
|
||||
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
||||
public class SeaChest : Item
|
||||
{
|
||||
[Constructable]
|
||||
public SeaChest() : this( null )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public SeaChest ( string name ) : base ( 0xE41 )
|
||||
{
|
||||
Name = "A Sea Chest";
|
||||
LootType = LootType.Blessed;
|
||||
Hue = 288;
|
||||
}
|
||||
|
||||
public SeaChest ( Serial serial ) : base ( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void OnDoubleClick( Mobile m )
|
||||
|
||||
{
|
||||
Item a = m.Backpack.FindItemByType( typeof(EnchantedRope) );
|
||||
if ( a != null )
|
||||
{
|
||||
Item b = m.Backpack.FindItemByType( typeof(GlowingShipModel) );
|
||||
if ( b != null )
|
||||
{
|
||||
Item c = m.Backpack.FindItemByType( typeof(SacredAnchor) );
|
||||
if ( c != null )
|
||||
{
|
||||
Item d = m.Backpack.FindItemByType( typeof(SpecialSeaMap) );
|
||||
if ( d != null )
|
||||
{
|
||||
m.AddToBackpack( new MasterOfTheSeaChest() );
|
||||
a.Delete();
|
||||
b.Delete();
|
||||
c.Delete();
|
||||
d.Delete();
|
||||
m.SendMessage( "You place the artifacts into the Sea Chest for a Full Master of the Sea Chest!" );
|
||||
this.Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m.SendMessage( "You are missing some artifacts." );
|
||||
}
|
||||
}
|
||||
|
||||
public override void Serialize ( GenericWriter writer)
|
||||
{
|
||||
base.Serialize ( writer );
|
||||
|
||||
writer.Write ( (int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize ( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using System.Collections;
|
||||
using Server.Multis;
|
||||
using Server.Mobiles;
|
||||
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
||||
public class SeafarerToolKit : Item
|
||||
{
|
||||
[Constructable]
|
||||
public SeafarerToolKit() : this( null )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public SeafarerToolKit ( string name ) : base ( 0x1EBA )
|
||||
{
|
||||
Name = "Empty Seafarer's Tool Kit";
|
||||
LootType = LootType.Blessed;
|
||||
Hue = 456;
|
||||
}
|
||||
|
||||
public SeafarerToolKit ( Serial serial ) : base ( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void OnDoubleClick( Mobile m )
|
||||
|
||||
{
|
||||
Item a = m.Backpack.FindItemByType( typeof(ReinforcedHinge) );
|
||||
if ( a != null )
|
||||
{
|
||||
Item b = m.Backpack.FindItemByType( typeof(SturdyAxle) );
|
||||
if ( b != null )
|
||||
{
|
||||
Item c = m.Backpack.FindItemByType( typeof(SteelGears) );
|
||||
if ( c != null )
|
||||
{
|
||||
Item d = m.Backpack.FindItemByType( typeof(GemOfControl) );
|
||||
if ( d != null )
|
||||
{
|
||||
m.AddToBackpack( new CompletedSeafarerToolKit() );
|
||||
a.Delete();
|
||||
b.Delete();
|
||||
c.Delete();
|
||||
d.Delete();
|
||||
m.SendMessage( "You place the items into the tool kit for a Completed Seafarer's Tool Kit!" );
|
||||
this.Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m.SendMessage( "You are missing some parts." );
|
||||
}
|
||||
}
|
||||
|
||||
public override void Serialize ( GenericWriter writer)
|
||||
{
|
||||
base.Serialize ( writer );
|
||||
|
||||
writer.Write ( (int) 0);
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize ( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user