47 lines
896 B
C#
47 lines
896 B
C#
//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();
|
|
}
|
|
}
|
|
}
|