Files
abysmal-isle/Scripts/Items/Decorative/AcidWall.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

44 lines
1.1 KiB
C#

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