Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
44
Scripts/Items/Decorative/AcidWall.cs
Normal file
44
Scripts/Items/Decorative/AcidWall.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AcidWall : BaseWall
|
||||
{
|
||||
[Constructable]
|
||||
public AcidWall()
|
||||
: base(969)
|
||||
{
|
||||
Hue = 1828;
|
||||
}
|
||||
|
||||
public AcidWall(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (from.InRange(this.GetWorldLocation(), 1))
|
||||
{
|
||||
from.SendLocalizedMessage(1111659); // You try to examine the strange wall but the vines get in your way.
|
||||
}
|
||||
else if (!from.InRange(this.GetWorldLocation(), 1))
|
||||
{
|
||||
from.SendLocalizedMessage(1019045); // I can't reach that.
|
||||
}
|
||||
base.OnDoubleClick(from);
|
||||
}
|
||||
|
||||
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