NonResettableInstance(Script)

From CoffeeMud Wiki
Jump to navigation Jump to search
CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    

Non-Resettable Instance

If you want your instance area to not reset upon command (effectively limiting a player from grinding out the instance until they get what they want) use the following script on your area:

Adding Mana to a Mob

cnclmsg_prog speak p say reset instance

   if baseclass($n == Archon)
      mpat $n mpecho The magic of the tower must relent to the request of an archon.
   else
      if ispc($n)
         mpat $n mpecho The magic of the tower absorbs your command and chooses its own fate.
         return cancel
      endif
   endif

~

Notes

.