public override bool OnMoveOver(Mobile from) { if (!BaseLinkedCreature.IsAccessible(this)) { from.SendMessage("You must defeat the creatures guarding this before proceeding."); return(false); } return(base.OnMoveOver(from)); }
//TODO: add object property list indicating whether or not it's guarded? public override void Use(Mobile from) { if (!BaseLinkedCreature.IsAccessible(this)) { from.SendMessage("You must defeat the creatures guarding this door before proceeding."); return; } base.Use(from); }