Init Upload
62
Bags/RaceGatesBag.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RaceGateBag : Bag
|
||||
{
|
||||
public override bool IsArtifact { get { return false; } }
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "Race Gates Bag"; }
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public RaceGateBag()
|
||||
{
|
||||
Hue = 0x0;
|
||||
|
||||
DropItem( new AirElementalRaceGate() );
|
||||
DropItem( new AngelRaceGate() );
|
||||
DropItem( new DeamonRaceGate() );
|
||||
DropItem( new DrowRaceGate() );
|
||||
DropItem( new DwarvenRaceGate() );
|
||||
DropItem( new EarthElementalRaceGate() );
|
||||
DropItem( new ExampleRaceGate() );
|
||||
DropItem( new ElvenRaceGate() );
|
||||
DropItem( new FeyRaceGate() );
|
||||
DropItem( new GoblinRaceGate() );
|
||||
DropItem( new GremlinRaceGate() );
|
||||
DropItem( new HiryuRaceGate() );
|
||||
DropItem( new ImpRaceGate() );
|
||||
DropItem( new KirinRaceGate() );
|
||||
DropItem( new KitsuneRaceGate() );
|
||||
DropItem( new OrcRaceGate() );
|
||||
DropItem( new RaptorRaceGate() );
|
||||
DropItem( new RatmanRaceGate() );
|
||||
DropItem( new RidgebackRaceGate() );
|
||||
DropItem( new TreeEntRaceGate() );
|
||||
DropItem( new TrollRaceGate() );
|
||||
DropItem( new WolvenRaceGate() );
|
||||
}
|
||||
|
||||
public RaceGateBag( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
62
Bags/RaceTilesBag.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
62
Bags/ShiftOrbsBag.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
62
Bags/ShiftTalismansBag.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShiftTalismanBag : Bag
|
||||
{
|
||||
public override bool IsArtifact { get { return false; } }
|
||||
public override string DefaultName
|
||||
{
|
||||
get { return "Shift Talisman Bag"; }
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public ShiftTalismanBag()
|
||||
{
|
||||
Hue = 0x0;
|
||||
|
||||
DropItem( new AirElementalShiftTalisman() );
|
||||
DropItem( new AngelShiftTalisman() );
|
||||
DropItem( new DeamonShiftTalisman() );
|
||||
DropItem( new DrowShiftTalisman() );
|
||||
DropItem( new DwarvenShiftTalisman() );
|
||||
DropItem( new EarthElementalShiftTalisman() );
|
||||
DropItem( new ExampleShiftTalisman() );
|
||||
DropItem( new ElvenShiftTalisman() );
|
||||
DropItem( new FeyShiftTalisman() );
|
||||
DropItem( new GoblinShiftTalisman() );
|
||||
DropItem( new GremlinShiftTalisman() );
|
||||
DropItem( new HiryuShiftTalisman() );
|
||||
DropItem( new ImpShiftTalisman() );
|
||||
DropItem( new KirinShiftTalisman() );
|
||||
DropItem( new KitsuneShiftTalisman() );
|
||||
DropItem( new OrcShiftTalisman() );
|
||||
DropItem( new RaptorShiftTalisman() );
|
||||
DropItem( new RatmanShiftTalisman() );
|
||||
DropItem( new RidgebackShiftTalisman() );
|
||||
DropItem( new TreeEntShiftTalisman() );
|
||||
DropItem( new TrollShiftTalisman() );
|
||||
DropItem( new WolvenShiftTalisman() );
|
||||
}
|
||||
|
||||
public ShiftTalismanBag( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Example/ExampleRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ExampleRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public ExampleRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 0;
|
||||
Name = "Example Race Gate";
|
||||
}
|
||||
|
||||
public ExampleRaceGate(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 ExampleShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Example/ExampleRaceTile.cs
Normal file
@@ -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 ExampleShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
84
Example/ExampleShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
Example/ExampleShiftTalisman.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ExampleShiftTalisman : BaseTalisman
|
||||
{
|
||||
[Constructable]
|
||||
public ExampleShiftTalisman() : base( 12121 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 0;
|
||||
Name = "A Example Shapeshift Talisman";
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
|
||||
public ExampleShiftTalisman( 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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
31
Hue Color IDs.txt
Normal file
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
BIN
Images/AirElement.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
Images/Angel.png
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
Images/Deamon.png
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
Images/Drow.png
Normal file
|
After Width: | Height: | Size: 91 KiB |
BIN
Images/Dwarven.png
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
Images/EarthElement.png
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
Images/Elven.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
Images/Fey.png
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
Images/Goblin.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
Images/Gremlin.png
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
Images/Hiryu.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
Images/Imp.png
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
Images/Kirin.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
Images/Kitsune.png
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
Images/KitsunesShapeShifting.png
Normal file
|
After Width: | Height: | Size: 642 KiB |
BIN
Images/Orc.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
Images/Raptor.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
Images/Ratman.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
Images/Ridgeback.png
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
Images/TreeEnt.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
Images/Troll.png
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
Images/Wolven.png
Normal file
|
After Width: | Height: | Size: 97 KiB |
46
RaceGates/AirElementalRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AirElementalRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public AirElementalRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2593;
|
||||
Name = "Air Elemental Race Gate";
|
||||
}
|
||||
|
||||
public AirElementalRaceGate(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 AirElementalShiftTalisman() );
|
||||
World.Broadcast( 0x35, true, "Another gust blows in, Another elemental of air has joined!" );
|
||||
return false; //Changed this to false
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/AngelRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AngelRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public AngelRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2064;
|
||||
Name = "Angel Race Gate";
|
||||
}
|
||||
|
||||
public AngelRaceGate(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 AngelShiftTalisman() );
|
||||
m.Location = new Point3D(1455, 1568, 30);
|
||||
World.Broadcast( 0x35, true, "Another Angel 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/DeamonRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DeamonRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public DeamonRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 1644;
|
||||
Name = "Deamon Race Gate";
|
||||
}
|
||||
|
||||
public DeamonRaceGate(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 DeamonShiftTalisman() );
|
||||
World.Broadcast( 0x35, true, "Another walks the Path of the Deamon!" );
|
||||
return false; //Changed this to false
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/DrowRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DrowRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public DrowRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 962;
|
||||
Name = "Drow Race Gate";
|
||||
}
|
||||
|
||||
public DrowRaceGate(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 DrowShiftTalisman() );
|
||||
m.Location = new Point3D(1455, 1568, 30);
|
||||
World.Broadcast( 0x35, true, "Another feels the Dark as they walk with the Drow!" );
|
||||
return false; //Changed this to false
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/DwarvenRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DwarvenRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public DwarvenRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 748;
|
||||
Name = "Dwarven Race Gate";
|
||||
}
|
||||
|
||||
public DwarvenRaceGate(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 DwarvenShiftTalisman() );
|
||||
World.Broadcast( 0x35, true, "The Dwarves have added another to their Ranks..." );
|
||||
return false; //Changed this to false
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/EarthElementalRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class EarthElementalRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public EarthElementalRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2017;
|
||||
Name = "Earth Elemental Race Gate";
|
||||
}
|
||||
|
||||
public EarthElementalRaceGate(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 EarthElementalShiftTalisman() );
|
||||
World.Broadcast( 0x35, true, "Another bolder rolls in. Another elemental of earth has joined!" );
|
||||
return false; //Changed this to false
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceGates/ElvenRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ElvenRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public ElvenRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 1169;
|
||||
Name = "Elven Race Gate";
|
||||
}
|
||||
|
||||
public ElvenRaceGate(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 ElvenShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/FeyRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class FeyRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public FeyRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2637;
|
||||
Name = "Fey Race Gate";
|
||||
}
|
||||
|
||||
public FeyRaceGate(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 FeyShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/GoblinRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GoblinRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public GoblinRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 1005;
|
||||
Name = "Goblin Race Gate";
|
||||
}
|
||||
|
||||
public GoblinRaceGate(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 GoblinShiftTalisman() );
|
||||
World.Broadcast( 0x35, true, "Another goblin has joined! Watch your coins!" );
|
||||
return false; //Changed this to false
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/GremlinRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GremlinRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public GremlinRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 1001;
|
||||
Name = "Gremlin Race Gate";
|
||||
}
|
||||
|
||||
public GremlinRaceGate(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 GremlinShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/HiryuRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HiryuRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public HiryuRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 100;
|
||||
Name = "Hiryu Race Gate";
|
||||
}
|
||||
|
||||
public HiryuRaceGate(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 HiryuShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceGates/ImpRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ImpRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public ImpRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 1453;
|
||||
Name = "Imp Race Gate";
|
||||
}
|
||||
|
||||
public ImpRaceGate(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 ImpShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceGates/KirinRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class KirinRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public KirinRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2501;
|
||||
Name = "Kirin Race Gate";
|
||||
}
|
||||
|
||||
public KirinRaceGate(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 KirinShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceGates/KitsuneRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class KitsuneRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public KitsuneRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 1161;
|
||||
Name = "Kitsune Race Gate";
|
||||
}
|
||||
|
||||
public KitsuneRaceGate(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 KitsuneShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/OrcRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class OrcRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public OrcRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 558;
|
||||
Name = "Orc Race Gate";
|
||||
}
|
||||
|
||||
public OrcRaceGate(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 OrcShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceGates/RaptorRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RaptorRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public RaptorRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2212;
|
||||
Name = "Raptor Race Gate";
|
||||
}
|
||||
|
||||
public RaptorRaceGate(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 RaptorShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceGates/RatmanRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RatmanRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public RatmanRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2213;
|
||||
Name = "Ratman Race Gate";
|
||||
}
|
||||
|
||||
public RatmanRaceGate(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 RatmanShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceGates/RidgebackRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class RidgebackRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public RidgebackRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 26;
|
||||
Name = "Ridgeback Race Gate";
|
||||
}
|
||||
|
||||
public RidgebackRaceGate(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 RidgebackShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/TreeEntRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TreeEntRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public TreeEntRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2514;
|
||||
Name = "Tree Ent Race Gate";
|
||||
}
|
||||
|
||||
public TreeEntRaceGate(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 TreeEntShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceGates/TrollRaceGate.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TrollRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public TrollRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 2579;
|
||||
Name = "Troll Race Gate";
|
||||
}
|
||||
|
||||
public TrollRaceGate(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 TrollShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceGates/WolvenRaceGate.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
//Created By Cassius for Order of The Red Dragon
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class WolvenRaceGate : Item
|
||||
{
|
||||
[Constructable]
|
||||
public WolvenRaceGate() : base(0xF6C)
|
||||
{
|
||||
Movable = false;
|
||||
Light = LightType.Circle300;
|
||||
Hue = 705;
|
||||
Name = "Wolven Race Gate";
|
||||
}
|
||||
|
||||
public WolvenRaceGate(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 WolvenShiftTalisman() );
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
RaceGates/tags.sqlite
Normal file
45
RaceTiles/AirElementalRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/AngelRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/DeamonRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/DrowRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/DwarvenRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/EarthElementalRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/ElvenRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceTiles/FeyRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/GoblinRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceTiles/GremlinRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceTiles/HiryuRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/ImpRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/KirinRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/KitsuneRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceTiles/OrcRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/RaptorRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/RatmanRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/RidgebackRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceTiles/TreeEntRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
RaceTiles/TrollRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
RaceTiles/WolvenRaceTile.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/AirElementalShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/AngelShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/DeamonShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/DrowShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/DwarvenShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/EarthElementalShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/ElvenShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/FeyShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/GoblinShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/GremlinShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/HiryuShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/ImpShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/KirinShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/KitsuneShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/OrcShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/RaptorShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/RatmanShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/RidgebackShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/TreeEntShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/TrollShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftOrbs/WolvenShiftOrb.cs
Normal file
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftTalismans/AirElementalShiftTalisman.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AirElementalShiftTalisman : BaseTalisman
|
||||
{
|
||||
[Constructable]
|
||||
public AirElementalShiftTalisman() : base( 12121 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 2593;
|
||||
Name = "A Air Elemental Shapeshift Talisman";
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
|
||||
public AirElementalShiftTalisman( 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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftTalismans/AngelShiftTalisman.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AngelShiftTalisman : BaseTalisman
|
||||
{
|
||||
[Constructable]
|
||||
public AngelShiftTalisman() : base( 12121 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 2064;
|
||||
Name = "An Angel Shapeshift Talisman";
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
|
||||
public AngelShiftTalisman( 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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftTalismans/DeamonShiftTalisman.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DeamonShiftTalisman : BaseTalisman
|
||||
{
|
||||
[Constructable]
|
||||
public DeamonShiftTalisman() : base( 12121 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 1644;
|
||||
Name = "A Deamon Shapeshift Talisman";
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
|
||||
public DeamonShiftTalisman( 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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftTalismans/DrowShiftTalisman.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DrowShiftTalisman : BaseTalisman
|
||||
{
|
||||
[Constructable]
|
||||
public DrowShiftTalisman() : base( 12121 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 962;
|
||||
Name = "A Drow Shapeshift Talisman";
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
|
||||
public DrowShiftTalisman( 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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
84
ShiftTalismans/DwarvenShiftTalisman.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DwarvenShiftTalisman : BaseTalisman
|
||||
{
|
||||
[Constructable]
|
||||
public DwarvenShiftTalisman() : base( 12121 )
|
||||
{
|
||||
Movable = true;
|
||||
Hue = 558;
|
||||
Name = "A Dwarven Shapeshift Talisman";
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
|
||||
public DwarvenShiftTalisman( 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;
|
||||
|
||||
|
||||
}
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||