Init #2
1
.gitignore
vendored
@@ -41,3 +41,4 @@
|
|||||||
|
|
||||||
!/Data/*
|
!/Data/*
|
||||||
!/bin/rosyln/*
|
!/bin/rosyln/*
|
||||||
|
*.zip
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
|
||||||
|
Air Elemental = 2593
|
||||||
|
Angel = 2064
|
||||||
|
Deamon = 1644
|
||||||
|
Drow = 962
|
||||||
|
Dwarven = 748
|
||||||
|
Earth Element = 2017
|
||||||
|
Elven = 1169
|
||||||
|
Fey = 2637
|
||||||
|
Goblin = 1005
|
||||||
|
Gremlin = 1001
|
||||||
|
Hiryu = 100
|
||||||
|
Imp = 1453
|
||||||
|
Kirin = 2501
|
||||||
|
Kitsune = 1161
|
||||||
|
Orc = 558
|
||||||
|
Rapter = 2212
|
||||||
|
Ratman = 2213
|
||||||
|
Ridgeback = 26
|
||||||
|
TreeEnt = 2514
|
||||||
|
Troll = 2579
|
||||||
|
Wolven = 705
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 93 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 96 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 642 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 97 KiB |
@@ -0,0 +1,62 @@
|
|||||||
|
using System;
|
||||||
|
using Server;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class RaceTileBag : Bag
|
||||||
|
{
|
||||||
|
public override bool IsArtifact { get { return false; } }
|
||||||
|
public override string DefaultName
|
||||||
|
{
|
||||||
|
get { return "Race Tiles Bag"; }
|
||||||
|
}
|
||||||
|
|
||||||
|
[Constructable]
|
||||||
|
public RaceTileBag()
|
||||||
|
{
|
||||||
|
Hue = 0x0;
|
||||||
|
|
||||||
|
DropItem( new AirElementalRaceTile() );
|
||||||
|
DropItem( new AngelRaceTile() );
|
||||||
|
DropItem( new DeamonRaceTile() );
|
||||||
|
DropItem( new DrowRaceTile() );
|
||||||
|
DropItem( new DwarvenRaceTile() );
|
||||||
|
DropItem( new EarthElementalRaceTile() );
|
||||||
|
DropItem( new ElvenRaceTile() );
|
||||||
|
DropItem( new ExampleRaceTile() );
|
||||||
|
DropItem( new FeyRaceTile() );
|
||||||
|
DropItem( new GoblinRaceTile() );
|
||||||
|
DropItem( new GremlinRaceTile() );
|
||||||
|
DropItem( new HiryuRaceTile() );
|
||||||
|
DropItem( new ImpRaceTile() );
|
||||||
|
DropItem( new KirinRaceTile() );
|
||||||
|
DropItem( new KitsuneRaceTile() );
|
||||||
|
DropItem( new OrcRaceTile() );
|
||||||
|
DropItem( new RaptorRaceTile() );
|
||||||
|
DropItem( new RatmanRaceTile() );
|
||||||
|
DropItem( new RidgebackRaceTile() );
|
||||||
|
DropItem( new TreeEntRaceTile() );
|
||||||
|
DropItem( new TrollRaceTile() );
|
||||||
|
DropItem( new WolvenRaceTile() );
|
||||||
|
}
|
||||||
|
|
||||||
|
public RaceTileBag( 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,62 @@
|
|||||||
|
using System;
|
||||||
|
using Server;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class ShiftOrbBag : Bag
|
||||||
|
{
|
||||||
|
public override bool IsArtifact { get { return false; } }
|
||||||
|
public override string DefaultName
|
||||||
|
{
|
||||||
|
get { return "Shift Orb Bag"; }
|
||||||
|
}
|
||||||
|
|
||||||
|
[Constructable]
|
||||||
|
public ShiftOrbBag()
|
||||||
|
{
|
||||||
|
Hue = 0x0;
|
||||||
|
|
||||||
|
DropItem( new AirElementalShiftOrb() );
|
||||||
|
DropItem( new AngelShiftOrb() );
|
||||||
|
DropItem( new DeamonShiftOrb() );
|
||||||
|
DropItem( new DrowShiftOrb() );
|
||||||
|
DropItem( new DwarvenShiftOrb() );
|
||||||
|
DropItem( new EarthElementalShiftOrb() );
|
||||||
|
DropItem( new ExampleShiftOrb() );
|
||||||
|
DropItem( new ElvenShiftOrb() );
|
||||||
|
DropItem( new FeyShiftOrb() );
|
||||||
|
DropItem( new GoblinShiftOrb() );
|
||||||
|
DropItem( new GremlinShiftOrb() );
|
||||||
|
DropItem( new HiryuShiftOrb() );
|
||||||
|
DropItem( new ImpShiftOrb() );
|
||||||
|
DropItem( new KirinShiftOrb() );
|
||||||
|
DropItem( new KitsuneShiftOrb() );
|
||||||
|
DropItem( new OrcShiftOrb() );
|
||||||
|
DropItem( new RaptorShiftOrb() );
|
||||||
|
DropItem( new RatmanShiftOrb() );
|
||||||
|
DropItem( new RidgebackShiftOrb() );
|
||||||
|
DropItem( new TreeEntShiftOrb() );
|
||||||
|
DropItem( new TrollShiftOrb() );
|
||||||
|
DropItem( new WolvenShiftOrb() );
|
||||||
|
}
|
||||||
|
|
||||||
|
public ShiftOrbBag( 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,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class ExampleRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public ExampleRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 0;
|
||||||
|
Name = "Example Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public ExampleRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "Example Message" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "Example Title";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new ExampleShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Example Message" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class ExampleShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public ExampleShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 0;
|
||||||
|
Name = "A Example Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public ExampleShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 58;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class AirElementalRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public AirElementalRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2593;
|
||||||
|
Name = "Air Elemental Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public AirElementalRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now a Air Elemental" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Elements";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new AirElementalShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another gust blows in, Another elemental of air has joined!" );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class AngelRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public AngelRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2064;
|
||||||
|
Name = "Angel Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public AngelRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now an Angel" );
|
||||||
|
m.Hue = 1150;
|
||||||
|
m.Title = "The Angel";
|
||||||
|
m.AddToBackpack( new AngelShiftOrb() );
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
World.Broadcast( 0x35, true, "Another Angel has blessed us with their presence!" );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class DeamonRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public DeamonRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 1644;
|
||||||
|
Name = "Deamon Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public DeamonRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now Deamonic" );
|
||||||
|
m.Hue = 434;
|
||||||
|
m.Title = "The Deamon";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new DeamonShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another walks the Path of the Deamon!" );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class DrowRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public DrowRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 962;
|
||||||
|
Name = "Drow Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public DrowRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now Drow" );
|
||||||
|
m.Hue = 2406;
|
||||||
|
m.Title = "The Drow";
|
||||||
|
m.AddToBackpack( new DrowShiftOrb() );
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
World.Broadcast( 0x35, true, "Another feels the Dark as they walk with the Drow!" );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class DwarvenRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public DwarvenRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 748;
|
||||||
|
Name = "Dwarven Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public DwarvenRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now Dwarven" );
|
||||||
|
m.Hue = 748;
|
||||||
|
m.Title = "The Dwarf";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new DwarvenShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "The Dwarves have added another to their Ranks..." );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class EarthElementalRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public EarthElementalRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2017;
|
||||||
|
Name = "Earth Elemental Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public EarthElementalRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now a Earth Elemental" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Elements";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new EarthElementalShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another bolder rolls in. Another elemental of earth has joined!" );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class ElvenRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public ElvenRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 1169;
|
||||||
|
Name = "Elven Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public ElvenRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now Elven" );
|
||||||
|
m.Hue = 1410;
|
||||||
|
m.Title = "The Elf";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new ElvenShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another Elf has Joined the community!" );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
//Created By Cassius for Order of The Red Dragon
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class FeyRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public FeyRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2637;
|
||||||
|
Name = "Fey Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public FeyRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now Fey" );
|
||||||
|
m.Hue = 2637;
|
||||||
|
m.Title = "The Fey";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new FeyShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another feels the magic as they join the Fey..." );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class GoblinRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public GoblinRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 1005;
|
||||||
|
Name = "Goblin Race Orb";
|
||||||
|
}
|
||||||
|
|
||||||
|
public GoblinRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now a part a Goblin" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Goblin";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new GremlinShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another goblin has joined! Watch your coins!" );
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
//Created By Cassius for Order of The Red Dragon
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class GremlinRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public GremlinRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 1001;
|
||||||
|
Name = "Gremlin Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public GremlinRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now a part a Gremlin" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Gremlin";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new GremlinShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another gremlin has joined! Watch your backpacks!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
//Created By Cassius for Order of The Red Dragon
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class HiryuRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public HiryuRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 100;
|
||||||
|
Name = "Hiryu Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public HiryuRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now a part of Hiryu" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Hiryu";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new HiryuShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another Hiryu of legend has joined!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class ImpRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public ImpRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 1453;
|
||||||
|
Name = "Imp Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public ImpRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are now part Imp" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Imp";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new ImpShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "I wonder what this Imp could be up to!?" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class KirinRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public KirinRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2501;
|
||||||
|
Name = "Kirin Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public KirinRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are now part Kirin" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Kirin";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new KirinShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Where did that Kirin come from?!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class KitsuneRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public KitsuneRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 1161;
|
||||||
|
Name = "Kitsune Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public KitsuneRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now an Kitsune" );
|
||||||
|
m.Hue = 1150;
|
||||||
|
m.Title = "The Kitsune";
|
||||||
|
m.AddToBackpack( new KitsuneShiftOrb() );
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
World.Broadcast( 0x35, true, "Another Kitsune has blessed us with their presence!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
//Created By Cassius for Order of The Red Dragon
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class OrcRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public OrcRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 558;
|
||||||
|
Name = "Orc Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public OrcRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now Orcish" );
|
||||||
|
m.Hue = 2212;
|
||||||
|
m.Title = "The Orc";
|
||||||
|
m.AddToBackpack( new OrcShiftOrb() );
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
World.Broadcast( 0x35, true, "The Orcs have Claimed another to their ranks!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class RaptorRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public RaptorRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2212;
|
||||||
|
Name = "Raptor Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public RaptorRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are now part Raptor" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Raptor";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new RaptorShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "WHAT?! did i just see a Raptor walk by??" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class RatmanRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public RatmanRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2213;
|
||||||
|
Name = "Ratman Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public RatmanRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are now part of the Ratmen" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Ratman";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new RatmanShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "I hope its friendly!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class RidgebackRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public RidgebackRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 26;
|
||||||
|
Name = "Ridgeback Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public RidgebackRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are now part Ridgeback" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Ridgeback";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new RidgebackShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "WHAT?! why would you become a mount?" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
//Created By Cassius for Order of The Red Dragon
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class TreeEntRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public TreeEntRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2514;
|
||||||
|
Name = "Tree Ent Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public TreeEntRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now part of the Ents" );
|
||||||
|
m.Hue = 1410;
|
||||||
|
m.Title = "The Ents";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new TreeEntShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another Ent has Joined the community!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class TrollRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public TrollRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 2579;
|
||||||
|
Name = "Troll Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public TrollRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are now part of the Trolls" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Troll";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new TrollShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "I hope its friendly!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
//Created By Cassius for Order of The Red Dragon
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class WolvenRaceTile : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public WolvenRaceTile() : base(6178)
|
||||||
|
{
|
||||||
|
Movable = false;
|
||||||
|
Light = LightType.Circle300;
|
||||||
|
Hue = 705;
|
||||||
|
Name = "Wolven Race Tile";
|
||||||
|
}
|
||||||
|
|
||||||
|
public WolvenRaceTile(Serial serial) : base(serial)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Serialize(GenericWriter writer)
|
||||||
|
{
|
||||||
|
base.Serialize(writer);
|
||||||
|
|
||||||
|
writer.Write((int) 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override bool OnMoveOver( Mobile m )
|
||||||
|
{
|
||||||
|
m.SendMessage( "You are Now Wolven" );
|
||||||
|
m.Hue = 1453;
|
||||||
|
m.Title = "The Wolven";
|
||||||
|
m.Location = new Point3D(1455, 1568, 30);
|
||||||
|
m.AddToBackpack( new WolvenShiftOrb() );
|
||||||
|
World.Broadcast( 0x35, true, "Another Howls at the moon as the walk with the Pack of the Wolven!" );
|
||||||
|
return false; //Changed this to false
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Deserialize(GenericReader reader)
|
||||||
|
{
|
||||||
|
base.Deserialize(reader);
|
||||||
|
|
||||||
|
int version = reader.ReadInt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class AirElementalShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public AirElementalShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2593;
|
||||||
|
Name = "A Air Elemental Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public AirElementalShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 13;
|
||||||
|
from.HueMod = 0x4001;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class AngelShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public AngelShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2064;
|
||||||
|
Name = "An Angel Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public AngelShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 123;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class DeamonShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public DeamonShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 1644;
|
||||||
|
Name = "A Deamon Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public DeamonShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 10;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class DrowShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public DrowShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 962;
|
||||||
|
Name = "A Drow Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public DrowShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 11;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class DwarvenShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public DwarvenShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 558;
|
||||||
|
Name = "A Dwarven Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public DwarvenShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 101;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class EarthElementalShiftOrb : BaseTalisman
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public EarthElementalShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2017;
|
||||||
|
Name = "A Earth Elemental Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public EarthElementalShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 14;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class ElvenShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public ElvenShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 1169;
|
||||||
|
Name = "An Elven Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public ElvenShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 264;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class FeyShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public FeyShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2637;
|
||||||
|
Name = "A Fey Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FeyShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 176;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class GoblinShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public GoblinShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 1005;
|
||||||
|
Name = "A Goblin Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public GoblinShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 723;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class GremlinShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public GremlinShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 1001;
|
||||||
|
Name = "A Gremlin Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public GremlinShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 724;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class HiryuShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public HiryuShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 100;
|
||||||
|
Name = "A Hiryu Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public HiryuShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 243;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class ImpShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public ImpShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 1453;
|
||||||
|
Name = "A Imp Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public ImpShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 74;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class KirinShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public KirinShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2501;
|
||||||
|
Name = "A Kirin Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public KirinShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 132;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class KitsuneShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public KitsuneShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 1161;
|
||||||
|
Name = "An Kitsune Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public KitsuneShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 246;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class OrcShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public OrcShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 558;
|
||||||
|
Name = "An Orcish Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public OrcShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 140;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class RaptorShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public RaptorShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2212;
|
||||||
|
Name = "A Raptor Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public RaptorShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 730;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class RatmanShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public RatmanShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2213;
|
||||||
|
Name = "A Ratman Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public RatmanShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 42;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class RidgebackShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public RidgebackShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 26;
|
||||||
|
Name = "A Ridgeback Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public RidgebackShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 187;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class TreeEntShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public TreeEntShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2514;
|
||||||
|
Name = "An Tree Ent Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public TreeEntShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 301;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class TrollShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public TrollShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 2579;
|
||||||
|
Name = "A Troll Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public TrollShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 53;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using Server.Items;
|
||||||
|
|
||||||
|
namespace Server.Items
|
||||||
|
{
|
||||||
|
public class WolvenShiftOrb : Item
|
||||||
|
{
|
||||||
|
[Constructable]
|
||||||
|
public WolvenShiftOrb() : base( 22334 )
|
||||||
|
{
|
||||||
|
Movable = true;
|
||||||
|
Hue = 705;
|
||||||
|
Name = "A Wolven Shapeshift Orb";
|
||||||
|
LootType = LootType.Blessed;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public WolvenShiftOrb( 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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnDoubleClick( Mobile from )
|
||||||
|
{
|
||||||
|
if ( !from.InRange( GetWorldLocation(), 2 ) )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 500446 ); // That is too far away.
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.Mounted == true )
|
||||||
|
{
|
||||||
|
from.SendLocalizedMessage( 1042561 );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ( from.BodyValue == 0x190 || from.BodyValue == 0x191 )
|
||||||
|
{
|
||||||
|
from.BodyMod = 719;
|
||||||
|
from.HueMod = 0x0;
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (from.Female == true )
|
||||||
|
{
|
||||||
|
from.BodyMod = 401;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
from.BodyMod = 400;
|
||||||
|
from.HueMod = -1;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||