Prop PropSetter

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    
===Prop_PropSetter===
Effect: Changing properties/attributes
Targets: All
Parameters: TRIGGER="TRIGTYPE" (BUBBLE=TRUE/FALSE) "STAT="VALUE""
Examples: trigger=get bubble=false ammocapacity=10
Description: This property changes the settable fields on the affected object, or an items owner if bubble=true. The change occurs on the trigger, and is undone on an opposing event, if the trigger has one. The supported triggers are: ALWAYS, ENTER, BEING_HIT, WEAR_WIELD, GET, USE, PUT ,MOUNT, DROP_PUTIN, HITTING_WITH. The stats you can discover by using LIST STATS "CLASSNAME".

Now the warnings: Most fields can be temporarily and conditionally adjusted safely using the various Prop_*Adjuster properties. This property makes permanent savable changes, similar to MPGSET in a script. It *might* also be able to safely undo a change, making it seem temporary, but its best to use this as a last resort, and to test it first.


Notes

.