public override void OnDoubleClick(Mobile from) { if (TownshipWallPlacer.TryPlace(from, BOARDSREQUIRED, INGOTSREQUIRED, this)) { BaseFortificationWall wall = new StoneFortificationWall(); wall.Place(from, from.Location); m_UsesRemaining -= 1; if (m_UsesRemaining <= 0) { this.Delete(); from.SendMessage("Your tool is too damaged to use anymore."); } } }
public override void OnDoubleClick(Mobile from) { if (TownshipWallPlacer.TryPlace(from, 50, 1000, this)) { BaseFortificationWall wall = new StoneFortificationWall(); wall.Place(from, from.Location); m_UsesRemaining -= 1; if (m_UsesRemaining <= 0) { this.Delete(); from.SendMessage("Your tool is too damaged to use anymore."); } } }