Prop WearZapper

From CoffeeMud Wiki
Revision as of 04:32, 19 December 2023 by Loki (talk | contribs) (Replaced content with "{{#section-h:LISTPROPS|Restrictions to wielding/wearing/holding}} =Notes= . Category:ITEMS(BuilderInfo)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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    
===Prop_WearZapper===
Effect: Restrictions to wielding/wearing/holding
Targets: Items
Parameters: masking parameters described below, optional zap message
Examples: -class +mage -race +elf -evil

MESSAGE="<O-NAME> falls out of <S-NAME>'s hands!" -class +mage

Description: Whenever the owner of the item with this property tries to wear or wield the item, they will be zapped unless it is allowed by the listed parameters.

An optional MESSAGE parameter can define what is seen when the zap occurs. Also optionally, the parameters can start with the word ACTUAL to change zapping behavior to look at actual values instead of perceived values (this about a class check applied to a Charlatan.) If the parameters include any alignment checks, the item will end up with an appropriate ambiance as well. For valid masking parameters, See AHELP ZAPPERMASK, where allowed can wear, and disallowed is zapped.


Notes

.