Init Upload

This commit is contained in:
Unstable Kitsune
2023-11-29 01:29:20 -05:00
parent 5e0ff5437e
commit 5ff04528c5
116 changed files with 5974 additions and 0 deletions

View 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();
}
}
}