Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
38
Scripts/Items/Decorative/Lever.cs
Normal file
38
Scripts/Items/Decorative/Lever.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
// By Nerun
|
||||
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Lever : Item
|
||||
{
|
||||
[Constructable]
|
||||
public Lever()
|
||||
: base(Utility.RandomList(0x108C, 0x108D, 0x108E, 0x1093, 0x1094, 0x1095, 0x108F, 0x1090, 0x1091, 0x1092))
|
||||
{
|
||||
this.Movable = false;
|
||||
}
|
||||
|
||||
public Lever(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
from.SendLocalizedMessage(500357 + Utility.Random(5));
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user