Prop UseEmoter

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_UseEmoter===
Effect: Emoting when used
Targets: Item
Parameters: Flags, pct chance, emote strings, ';' separated.
Examples: chance=25;wiggles his bottom.;smiles evilly.;burps!

smell chance=25 ;smells horrible!;is really stinky! chance=100 inroom="Here#1,Here#2";looks horrible!;is bad! broadcast sound chance=25;grumbles!;eeeks! chance=25;sound grumbles!;visual leers broadly.;social smile

Description: This property defines a serious of emotes, one of which is triggered when an item is used, such as armor worn, weapon wielded, container filled, drinkable filled. All emote strings are separated by the semicolons shown above. The first parameter can be empty for defaults,the percent chance of occurrence after the event occurs, a list of rooms where the emoter MUST be for the emoter to work (inroom=...), a mask="..." zapper mask to filter who can trigger the emoter, a tag to make the emote sound based (sound), a tag to make the emote smell based (smell), a tag to make the emote broadcast to adjacent rooms (broadcast), or a tag to make the message private to the actor (private).

You can also mix and match the types of emotes by putting the keywords SIGHT, SMELL, NOISE, and SOCIAL as the first word in each emote string. This denotes the type of emote for the rest of the string. The last example shows how to enter a mixed emote.

If an emote begins with MASK= then the remaining is a zappermask for the mob who is causing the emote.


Notes

.