Init
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user