Example #1
0
        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));
        }
Example #2
0
        //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);
        }