Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
149
Scripts/Scripts-master/Quests/Pirate Quest2/Barbosa.cs
Normal file
149
Scripts/Scripts-master/Quests/Pirate Quest2/Barbosa.cs
Normal file
@@ -0,0 +1,149 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Captian Barbosa Corpse" )]
|
||||
public class Barbosa : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Barbosa()
|
||||
{
|
||||
Name = "Captian Barbosa";
|
||||
Title = "The Undead Pirate";
|
||||
Body = 56;
|
||||
CantWalk = true;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
|
||||
PlateArms PlateArms = new PlateArms();
|
||||
PlateArms.Hue = 1157;
|
||||
AddItem( PlateArms );
|
||||
|
||||
PlateGloves PlateGloves = new PlateGloves();
|
||||
PlateGloves.Hue = 1157;
|
||||
AddItem( PlateGloves );
|
||||
|
||||
PlateLegs PlateLegs = new PlateLegs();
|
||||
PlateLegs.Hue = 1157;
|
||||
AddItem( PlateLegs );
|
||||
|
||||
PlateChest PlateChest = new PlateChest();
|
||||
PlateChest.Hue = 1157;
|
||||
AddItem( PlateChest );
|
||||
|
||||
PlateGorget PlateGorget = new PlateGorget();
|
||||
PlateGorget.Hue = 1157;
|
||||
AddItem( PlateGorget );
|
||||
|
||||
int hairHue = 1157;
|
||||
|
||||
switch ( Utility.Random( 1 ) )
|
||||
{
|
||||
case 0: AddItem( new PonyTail( hairHue ) ); break;
|
||||
case 1: AddItem( new Goatee( hairHue ) ); break;
|
||||
}
|
||||
|
||||
Blessed = true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Barbosa( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries( Mobile from, List<ContextMenuEntry> list )
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new BarbosaEntry( 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 BarbosaEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public BarbosaEntry( 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( BarbosaquestGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new BarbosaquestGump( mobile ));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is CortezGold)
|
||||
{
|
||||
if(dropped.Amount!=1)
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "That is not the item I asked for.", mobile.NetState );
|
||||
return false;
|
||||
}
|
||||
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new PegLegBook() );
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
else if ( dropped is PegLegBook)
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, 1054071, mobile.NetState );
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I did not ask for this item.", mobile.NetState );
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
35
Scripts/Scripts-master/Quests/Pirate Quest2/CortezGold.cs
Normal file
35
Scripts/Scripts-master/Quests/Pirate Quest2/CortezGold.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class CortezGold : Item
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public CortezGold() : base( 0x1BEB )
|
||||
{
|
||||
}
|
||||
|
||||
public CortezGold( Serial serial ) : base( serial )
|
||||
{
|
||||
Name = "Cortez Gold";
|
||||
Stackable = true;
|
||||
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
103
Scripts/Scripts-master/Quests/Pirate Quest2/PegLeg.cs
Normal file
103
Scripts/Scripts-master/Quests/Pirate Quest2/PegLeg.cs
Normal file
@@ -0,0 +1,103 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Peg Leg's Corpse" )]
|
||||
public class PegLeg : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public PegLeg() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "Peg Leg";
|
||||
Body = 159;
|
||||
|
||||
SetStr( 60, 110 );
|
||||
SetDex( 60, 100 );
|
||||
SetInt( 60, 100 );
|
||||
|
||||
SetHits( 200 );
|
||||
|
||||
SetDamage( 5, 25 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 50 );
|
||||
SetDamageType( ResistanceType.Fire, 60 );
|
||||
SetDamageType( ResistanceType.Energy, 10 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 30, 80 );
|
||||
SetResistance( ResistanceType.Fire, 20, 100 );
|
||||
SetResistance( ResistanceType.Cold, 10, 15 );
|
||||
SetResistance( ResistanceType.Poison, 20 );
|
||||
SetResistance( ResistanceType.Energy, 0, 20 );
|
||||
|
||||
SetSkill( SkillName.Anatomy, 120 );
|
||||
SetSkill( SkillName.EvalInt, 90, 95.0 );
|
||||
SetSkill( SkillName.Magery, 50.5, 100.0 );
|
||||
SetSkill( SkillName.Meditation, 60 );
|
||||
SetSkill( SkillName.MagicResist, 10.1, 50.0 );
|
||||
SetSkill( SkillName.Tactics, 115, 125 );
|
||||
SetSkill( SkillName.Swords, 115, 125 );
|
||||
|
||||
Fame = 8000;
|
||||
Karma = -8000;
|
||||
|
||||
Kills = 10;
|
||||
|
||||
Hue = 1271;
|
||||
|
||||
VirtualArmor = 50;
|
||||
|
||||
LeatherArms LeatherArms = new LeatherArms();
|
||||
LeatherArms.Hue = 1175;
|
||||
AddItem( LeatherArms );
|
||||
|
||||
LeatherCap LeatherCap = new LeatherCap();
|
||||
LeatherCap.Hue = 1157;
|
||||
AddItem( LeatherCap );
|
||||
|
||||
LeatherGloves LeatherGloves = new LeatherGloves();
|
||||
LeatherGloves.Hue = 1175;
|
||||
AddItem( LeatherGloves );
|
||||
|
||||
LeatherLegs LeatherLegs = new LeatherLegs();
|
||||
LeatherLegs.Hue = 1157;
|
||||
AddItem( LeatherLegs );
|
||||
|
||||
LeatherChest LeatherChest = new LeatherChest();
|
||||
LeatherChest.Hue = 1175;
|
||||
AddItem( LeatherChest );
|
||||
|
||||
LeatherGorget LeatherGorget = new LeatherGorget();
|
||||
LeatherGorget.Hue = 1157;
|
||||
AddItem( LeatherGorget );
|
||||
|
||||
//AddItem( new SparrowBlade() );
|
||||
PackItem( new PegLeghook() );
|
||||
PackItem( new PegLegHead() );
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override bool CanRummageCorpses{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
public override int Meat{ get{ return 1; } }
|
||||
|
||||
public PegLeg( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
75
Scripts/Scripts-master/Quests/Pirate Quest2/PegLegBook.cs
Normal file
75
Scripts/Scripts-master/Quests/Pirate Quest2/PegLegBook.cs
Normal file
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
// books: Brown 0xFEF, Tan 0xFF0, Red 0xFF1, Blue 0xFF2,
|
||||
// OpenSmall 0xFF3, Open 0xFF4, OpenOld 0xFBD, 0xFBE
|
||||
|
||||
public class PegLegBook: BaseBook
|
||||
{
|
||||
private const string TITLE = "Peg Leg's Riddle";
|
||||
private const string AUTHOR = "Peg Leg Pete";
|
||||
private const int PAGES = 2;
|
||||
private const bool WRITABLE = false;
|
||||
|
||||
[Constructable]
|
||||
public PegLegBook() : base( Utility.RandomList( 0xFEF, 0xFF0, 0xFF1, 0xFF2 ), TITLE, AUTHOR, PAGES, WRITABLE )
|
||||
{
|
||||
// NOTE: There are 8 lines per page and
|
||||
// approx 22 to 24 characters per line.
|
||||
// 0----+----1----+----2----+
|
||||
int cnt = 0;
|
||||
string[] lines;
|
||||
|
||||
lines = new string[]
|
||||
{
|
||||
"Peg Leg Pete Would Be",
|
||||
"My Name, Stealing",
|
||||
"Treasure Is My Game..",
|
||||
"Trying To Find It Would ",
|
||||
"Not Be Wise..But I Hid It",
|
||||
"Somewhere In Destard",
|
||||
"Cross The Dungeon...Take",
|
||||
"Desperate Measures..Kill",
|
||||
"Me And Get The Treasure",
|
||||
|
||||
};
|
||||
Pages[cnt++].Lines = lines;
|
||||
|
||||
lines = new string[]
|
||||
{
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
};
|
||||
Pages[cnt++].Lines = lines;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public PegLegBook( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int)0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
40
Scripts/Scripts-master/Quests/Pirate Quest2/PegLegHead.cs
Normal file
40
Scripts/Scripts-master/Quests/Pirate Quest2/PegLegHead.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class PegLegHead : Item
|
||||
{
|
||||
[Constructable]
|
||||
public PegLegHead() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public PegLegHead( int amount ) : base( 7584 )
|
||||
{
|
||||
Name = "Peg Leg's Head";
|
||||
Stackable = false;
|
||||
Weight = 0.1;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public PegLegHead( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
57
Scripts/Scripts-master/Quests/Pirate Quest2/PegLeghook.cs
Normal file
57
Scripts/Scripts-master/Quests/Pirate Quest2/PegLeghook.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class PegLeghook : BoneHarvester
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.ParalyzingBlow; } }
|
||||
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.MortalStrike; } }
|
||||
|
||||
public override float MlSpeed{ get{ return 2.75f; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public PegLeghook()
|
||||
{
|
||||
Weight = 5.0;
|
||||
Name = "Peg Leg Hook";
|
||||
Hue = 1167;
|
||||
|
||||
WeaponAttributes.HitLightning = 50;
|
||||
WeaponAttributes.HitLeechMana = 50;
|
||||
WeaponAttributes.HitLowerDefend = 50;
|
||||
Attributes.WeaponDamage = 60;
|
||||
Attributes.Luck = 300;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 40;
|
||||
|
||||
StrRequirement = 70;
|
||||
|
||||
LootType = LootType.Regular;
|
||||
}
|
||||
|
||||
public PegLeghook( 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,18 @@
|
||||
Pirates Of The Carrabean Quest + Loch Ness Monster Quest
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Well its finished but i might end up adding more to it.
|
||||
|
||||
Its just a small quest where u start by talking to Captian Jack Sparrow who was thieving one day and Peg Leg Pete stole his weapon he wants you to kill Peg Leg but doesnt know where he is and return with his head.
|
||||
|
||||
He tells you to go find Captian Barbosa and ask him for his location. Barbosa tells you he wants a piece of Cortez Gold (which u spawn somewhere) and you get the gold give to barbosa and he gives you Peg Leg's Riddle Diary which has a little riddle in it of his location (riddle tells you its at destard) then you kill peg leg get his head give it to sparrow and he rewards you with Peg Legs Hook (which is a boneharvestor)
|
||||
|
||||
You guys will have to edit for your shard because the location that barbosa says where the gold is would be different ect.
|
||||
|
||||
Have Fun
|
||||
|
||||
Lochness Monster Quest:
|
||||
|
||||
An old retired blacksmith called Eirnin has asked you to find loch ness monster and bring him back 5 scales of the beast you give him 5 scales and u get a shield to go with pirates of carabean weapon .
|
||||
Also made some Scottish Protectors to guard Nessie
|
||||
157
Scripts/Scripts-master/Quests/Pirate Quest2/Sparrow.cs
Normal file
157
Scripts/Scripts-master/Quests/Pirate Quest2/Sparrow.cs
Normal file
@@ -0,0 +1,157 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
using Server.Gumps;
|
||||
using Server.Misc;
|
||||
using Server.Network;
|
||||
using Server.Spells;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "Captian Jack Sparrow's Corpse" )]
|
||||
public class Sparrow : Mobile
|
||||
{
|
||||
public virtual bool IsInvulnerable{ get{ return true; } }
|
||||
[Constructable]
|
||||
public Sparrow()
|
||||
{
|
||||
Name = "Captian Jack Sparrow";
|
||||
Title = "The Pirate";
|
||||
Body = 400;
|
||||
CantWalk = true;
|
||||
Hue = Utility.RandomSkinHue();
|
||||
|
||||
LeatherArms LeatherArms = new LeatherArms();
|
||||
LeatherArms.Hue = 1157;
|
||||
AddItem( LeatherArms );
|
||||
|
||||
LeatherCap LeatherCap = new LeatherCap();
|
||||
LeatherCap.Hue = 1157;
|
||||
AddItem( LeatherCap );
|
||||
|
||||
LeatherGloves LeatherGloves = new LeatherGloves();
|
||||
LeatherGloves.Hue = 1157;
|
||||
AddItem( LeatherGloves );
|
||||
|
||||
LeatherLegs LeatherLegs = new LeatherLegs();
|
||||
LeatherLegs.Hue = 1157;
|
||||
AddItem( LeatherLegs );
|
||||
|
||||
LeatherChest LeatherChest = new LeatherChest();
|
||||
LeatherChest.Hue = 1157;
|
||||
AddItem( LeatherChest );
|
||||
|
||||
LeatherGorget LeatherGorget = new LeatherGorget();
|
||||
LeatherGorget.Hue = 1157;
|
||||
AddItem( LeatherGorget );
|
||||
|
||||
|
||||
|
||||
|
||||
int hairHue = 1153;
|
||||
|
||||
switch ( Utility.Random( 1 ) )
|
||||
{
|
||||
case 0: AddItem( new PonyTail( hairHue ) ); break;
|
||||
case 1: AddItem( new Goatee( hairHue ) ); break;
|
||||
}
|
||||
|
||||
Blessed = true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Sparrow( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void GetContextMenuEntries( Mobile from, List<ContextMenuEntry> list )
|
||||
{
|
||||
base.GetContextMenuEntries( from, list );
|
||||
list.Add( new SparrowEntry( 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 SparrowEntry : ContextMenuEntry
|
||||
{
|
||||
private Mobile m_Mobile;
|
||||
private Mobile m_Giver;
|
||||
|
||||
public SparrowEntry( 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( SparrowquestGump ) ) )
|
||||
{
|
||||
mobile.SendGump( new SparrowquestGump( mobile ));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
Mobile m = from;
|
||||
PlayerMobile mobile = m as PlayerMobile;
|
||||
|
||||
if ( mobile != null)
|
||||
{
|
||||
if( dropped is PegLegHead)
|
||||
{
|
||||
if(dropped.Amount!=1)
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "That is not the item I asked for.", mobile.NetState );
|
||||
return false;
|
||||
}
|
||||
|
||||
dropped.Delete();
|
||||
mobile.AddToBackpack( new SparrowBlade() );
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
else if ( dropped is PegLeghook)
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I did not ask for this item.", mobile.NetState );
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.PrivateOverheadMessage( MessageType.Regular, 1153, false, "I did not ask for this item.", mobile.NetState );
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
57
Scripts/Scripts-master/Quests/Pirate Quest2/SparrowBlade.cs
Normal file
57
Scripts/Scripts-master/Quests/Pirate Quest2/SparrowBlade.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SparrowBlade : Katana
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 6; } }
|
||||
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.ParalyzingBlow; } }
|
||||
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.MortalStrike; } }
|
||||
|
||||
public override float MlSpeed{ get{ return 2.25f; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public SparrowBlade()
|
||||
{
|
||||
Weight = 5.0;
|
||||
Name = "Captian Sparrow's Blade";
|
||||
Hue = 1157;
|
||||
|
||||
WeaponAttributes.HitLightning = 54;
|
||||
WeaponAttributes.HitHarm = 48;
|
||||
WeaponAttributes.HitLowerDefend = 57;
|
||||
|
||||
Attributes.Luck = 300;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 55;
|
||||
|
||||
StrRequirement = 70;
|
||||
|
||||
LootType = LootType.Regular;
|
||||
}
|
||||
|
||||
public SparrowBlade( 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,92 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class BarbosaquestGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register( "BarbosaquestGump", AccessLevel.GameMaster, new CommandEventHandler( BarbosaquestGump_OnCommand ) );
|
||||
}
|
||||
|
||||
private static void BarbosaquestGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new BarbosaquestGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public BarbosaquestGump( 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, "Theiving Peg Leg" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=RED>Captian Barbosa looks deeply into your pockets. I know why you are here and it will cost you 5 pieces of Cortez Gold, If you are willing<BR><BR>Muahaha. *Barbosa waits for his gold*.<BR>" +
|
||||
"<BASEFONT COLOR=RED>Are you still interested?<BR><BR>You Can Find This Gold In Serpents Hold. Bring It Back And I Will Tell You The Location Of Peg Leg Pete." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
// AddLabel( 113, 135, 0x34, "" );
|
||||
// AddLabel( 113, 150, 0x34, "" );
|
||||
// AddLabel( 113, 165, 0x34, "" );
|
||||
// AddLabel( 113, 180, 0x34, "" );
|
||||
// AddLabel( 113, 195, 0x34, "" );
|
||||
// AddLabel( 113, 210, 0x34, "" );
|
||||
// AddLabel( 113, 235, 0x34, "" );
|
||||
// AddLabel( 113, 250, 0x34, "" );
|
||||
// AddLabel( 113, 265, 0x34, "" );
|
||||
// AddLabel( 113, 280, 0x34, "" );
|
||||
// AddLabel( 113, 295, 0x34, "" );
|
||||
// AddLabel( 113, 310, 0x34, "" );
|
||||
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( "Captain Barbosa counts his gold." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using Server.Commands;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class SparrowquestGump : Gump
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register( "SparrowquestGump", AccessLevel.GameMaster, new CommandEventHandler( SparrowquestGump_OnCommand ) );
|
||||
}
|
||||
|
||||
private static void SparrowquestGump_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendGump( new SparrowquestGump( e.Mobile ) );
|
||||
}
|
||||
|
||||
public SparrowquestGump( 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, "Thieving Peg Leg" );
|
||||
|
||||
|
||||
AddHtml( 107, 140, 300, 230, "<BODY>" +
|
||||
//----------------------/----------------------------------------------/
|
||||
"<BASEFONT COLOR=RED>Captian Jack Sparrows angry face looks at you vaguely. After he puts down his sword, he says If you are stupid enough, I have a task for you<BR><BR>I take it you wish for me to continue. *Captian Jack Sparrow drinks the last of his beer* I was robbing the innocent in Britain yesterday, and Peg Leg stole my new weapon, Peg Legs Hook.<BR>" +
|
||||
"<BASEFONT COLOR=RED>Are you still interested?<BR><BR>I need you to go back and find Peg Leg and kill him, I want you to bring me back proof of his death, will you help?" +
|
||||
"<BASEFONT COLOR=RED>All you have to do is kill Peg Leg and bring me back his head.<BR><BR>I don't know where he is but Captian Barbosa in Buc's Den might." +
|
||||
"</BODY>", false, true);
|
||||
|
||||
// <BASEFONT COLOR=#7B6D20>
|
||||
|
||||
// AddLabel( 113, 135, 0x34, "Captian Jack SParrows angry face looks at you vaguely..." );
|
||||
// AddLabel( 113, 150, 0x34, "so you are going to help me?" );
|
||||
// AddLabel( 113, 165, 0x34, "Remember, I want his head" );
|
||||
// AddLabel( 113, 180, 0x34, "" );
|
||||
// AddLabel( 113, 195, 0x34, "You can find peg leg in the Mini God and Devils Dungeon" );
|
||||
// AddLabel( 113, 210, 0x34, "after you kill that Peg Leg" );
|
||||
// AddLabel( 113, 235, 0x34, "He is hard to beat up but" );
|
||||
// AddLabel( 113, 250, 0x34, "I think you can handle it" );
|
||||
// AddLabel( 113, 265, 0x34, "and have the motivation of his leg muahah." );
|
||||
// AddLabel( 113, 280, 0x34, "Good luck! Dont get to hurt and remember," );
|
||||
// AddLabel( 113, 295, 0x34, "I want his head!!." );
|
||||
// AddLabel( 113, 310, 0x34, "" );
|
||||
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( "Captian Jack Sparrow gets back to drinking." );
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user