Difference between revisions of "Decay"

From CoffeeMud Wiki
Jump to navigation Jump to search
(Created page with "{{BehaviorTemplate|Name=Decay|Targets=MOBs, Items|Usage=min, max ticks, a percent chance, trigger masks|Examples=min=10 max=20 chance=75 answer=" goes poof!" min=10 max=20 cha...")
 
(Replaced content with "{{#section-h:WikiHelpBehaviors|Decay}} ===Notes=== . Category:MOBS(BuilderInfo) Category:ITEMS(BuilderInfo)")
Tag: Replaced
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{BehaviorTemplate|Name=Decay|Targets=MOBs, Items|Usage=min, max ticks, a percent chance, trigger masks|Examples=min=10 max=20 chance=75 answer=" goes poof!"
+
{{#section-h:WikiHelpBehaviors|Decay}}
min=10 max=20 chance=75 -LEVEL +<17
 
 
 
notrigger answer=" "
 
 
 
min=10 max=20 chance=75 -CLASS +Paladin|Description=According to the timing and percent chance described by the parameters, the mob or item with this behavior will vanish at the expired time.  MOBs do not begin their countdown until attacked, items when they are picked up, weapons when they are first wielded, or armor when it is first worn.  The countdown may also depend on whether the mob or player triggering the countdown meets any masks specified.  You may force the object to decay immediately by placing the NOTRIGGER mask inside your parameter string.  The message seen when the object decays can also be modified by changing the ANSWER parameter. Value masks to determine whether a countdown begins include:
 
 
 
+SYSOP (allow archons to bypass the rules), -SYSOP (ignore archons)
 
 
 
+SUBOP (allow local area staff to bypass the rules), -SUBOP (ignore)
 
 
 
-PLAYER (ignore all players),  -MOB (ignore all mobs/npcs)
 
 
 
-CHANCE 50 (ignore the given % of the time)
 
 
 
-JAVACLASS "+GENMOB" etc.. (ignore only objects of +java class)
 
 
 
+JAVACLASS "-GENITEM" etc.. (Do not ignore objs of -classes)
 
 
 
-CLASS +thief +mage +ranger (ignore all but excepted char classes)
 
 
 
+CLASS -thief -mage  -ranger (ignore only listed classes)
 
 
 
-BASECLASS +thief +mage (ignore all but excepted base char classes)
 
 
 
+BASECLASS -thief -mage  -ranger (ignore only listed base char classes)
 
 
 
-RACE +elf +dwarf (ignore all but excepted races)
 
 
 
+RACE -elf -dwarf -human -half -gnome (ignore only listed races)
 
 
 
-RACECAT +elf +insect +humanoid (ignore all but listed racial categories)
 
 
 
+RACECAT -elf -humanoid (ignore only listed racial categories)
 
 
 
-ALIGNMENT +evil +neutral +good (ignore all but excepted alignments)
 
 
 
+ALIGNMENT -evil -good -neutral (ignore only listed alignments)
 
 
 
-GENDER (ignore genders), -GENDER +male +neuter (create exceptions)
 
 
 
+GENDER -male -female -neuter (ignore only listed genders)
 
 
 
-FACTION (ignore all faction and values, even a lack of faction)
 
 
 
-FACTION +myfactionrange +faction.rangecode (create exceptions)
 
 
 
+FACTION -rangecode -faction.rangecode (ignore only faction range code)
 
 
 
-NAMES +bob "+my name" (ignore all except those with given names)
 
 
 
+NAMES -bob "-my name" (ignore only those with one of the given names)
 
 
 
-SUBNAMES +*ending +*inside* (ignore all except those with partial name)
 
 
 
+SUBNAMES -*ending -*insid* (ignore only those with partial name mask)
 
 
 
-TATTOOS +mytatto +thistattoo (ignore all but those with excepted tatts)
 
 
 
+TATTOOS -mytatt -anytattoo, (ignore only those with a listed tattoo)
 
 
 
-EXPERTISES +myedu +thisedu (ignore all but those with listed expertise)
 
 
 
+EXPERTISES -myedu -anyedu (ignore those with a listed expertise)
 
 
 
-LEVEL +=1 +)5 +)=7 +(13 +(=20 (ignore all but those player level ranges)
 
 
 
-=1 -)5 -)=7 -(13 -(=20 (ignore only listed levels range)
 
 
 
-CLASSLEVEL +=1 +)5 +(=20 (ignore all except those with current class lvl)
 
 
 
-MAXCLASSLEVEL +=1 +(13 (ignore only those with current class level range)
 
 
 
+ANYCLASS -thief -mage (ignore only those with a listed multi-class)
 
 
 
-ANYCLASSLEVEL +thief +)5 +mage +(10 (ignore all except multi-class lvl)
 
 
 
+ANYCLASSLEVEL -thief -)5 -mage -(10 (ignore only these multi-class lvls)
 
 
 
-SECURITY +cmdrooms +area cmditems (ignore all but listed security flags)
 
 
 
+SECURITY -cmdrooms +area cmditems,(ignore only those with listed flags)
 
 
 
-MOOD +grumpy +normal (ignore all except those with given moods)
 
 
 
+MOOD -grumpy -normal (ignore only those with subtracted moods)
 
 
 
-CLAN +Killers "+The Avengers" (ignore all except those in listed clan)
 
 
 
+CLAN -Killers "-Avengers" (ignore only those in a listed clan)
 
 
 
-DEITY +Apollo "+Grothon" (ignore all except worshippers of listed deity)
 
 
 
+DEITY -God "-Rothon 1" (ignore only worshippers of a listed deity)
 
 
 
-ANYCLASS +thief +ranger (ignore all except those with a multi-class)
 
 
 
-STR X (ignore those with strength greater than X)
 
 
 
+STR X (ignore those with strength less than X)
 
 
 
-INT, -WIS, -CON, -CHA, -DEX (Same as -STR, for other current stats)
 
 
 
+INT, +WIS, +CON, +CHA, +DEX (Same as +STR, for other current stats)
 
 
 
+-ADJSTR...ADJCON (Same as above, but uses current values)
 
 
 
-GROUPSIZE X (ignore those in groups larger than X)
 
 
 
+GROUPSIZE X (ignore those in groups smaller than X)
 
 
 
-AREA +thatarea "+my areaname" (ignore all except those in listed area)
 
 
 
+AREA -thatarea "-my areaname" (ignore only those in listed area)
 
 
 
-HOME "+area name" (ignore all except those from listed home/beacon area)
 
 
 
+HOME "-my areaname" (ignore only those from listed home/beacon area)
 
 
 
-ISHOME (ignore all npcs not currently in their home/beacon areas)
 
 
 
+ISHOME (ignore all npcs unless they are in their home/beacon areas)
 
 
 
-ITEM "+item name" etc... (ignore only those with an item name)
 
 
 
-WORN "+item name" etc... (ignore only those wearing item name)
 
 
 
-MATERIAL "+WOODEN" etc.. (ignore only items of added materials)
 
 
 
+MATERIAL "-WOODEN" etc.. (Do not ignore items of -materials)
 
 
 
-RESOURCES "+OAK" etc.. (ignore only items of added resources)
 
 
 
+RESOURCES "-OAK" etc.. (Do not ignore items of -resources)
 
 
 
-IF (CONDITION) (ignore, unless they meet Scriptable conditions)
 
 
 
+IF (CONDITION) (never ignore anyone who meets Scriptable cond)
 
 
 
-IFSTAT +STAT=VALUE +STAT=VALUE (ignore, unless a stat value is true)
 
 
 
+IF -STAT=VALUE -STAT=VALUE (ignore those with a stat value)
 
 
 
-VALUE X (ignore those with value or money less than X)
 
 
 
+VALUE X (ignore those with value or money greater than X)
 
 
 
-WEIGHT X (ignore those weighing less than X)
 
 
 
+WEIGHT X (ignore those weighing more than X)
 
 
 
-ARMOR/-DAMAGE/-ATTACK X (ignore armor/damage/attack bonus less than X)
 
 
 
+ARMOR/+DAMAGE/+ATTACK X (ignore armor/damage/attack bonus more than X)
 
 
 
+-WEAPONTYPE, +-WEAPONCLASS, and +-WEAPONAMMO for wielded weaponchecks
 
 
 
-WORNON "+TORSO" etc.. (ignore only items wearable on +locations)
 
 
 
+WORNON "-NECK" etc.. (Do not ignore items wearable on -locations)
 
 
 
-DISPOSITION "+ISHIDDEN" etc.. (ignore only with +dispositions)
 
 
 
+DISPOSITION "-ISHIDDEN" etc.. (Do not ignore only with sub disp)
 
 
 
-SENSES "+CANSEEDARK" etc.. (ignore only those with +senses)
 
 
 
+SENSES "-CANSEEDARK" etc.. (Do not ignore those with -senses)
 
 
 
-ABILITY X (ignore those with magical ability less than X)
 
 
 
+ABILITY X (ignore those with magical ability greater than X)
 
 
 
-HOUR/-MONTH/-DAY +X (ignore always, unless the hour/month/day is X)
 
 
 
+HOUR/+MONTH/+DAY -X (ignore those only when the hour/month/day is X)
 
 
 
-SEASON +FALL (ignore those only when season is FALL)
 
 
 
+SEASON -SPRING (ignore those whenever the season is SPRING)
 
 
 
-WEATHER +DROUGHT (ignore those only when weather is DROUGHT)
 
 
 
+WEATHER -BLIZZARD (ignore those whenever the weather is BLIZZARD)
 
 
 
-QUESTWIN "+MY QUEST" (ignore those who have not my MY QUEST)
 
 
 
+QUESTWIN "-MY QUEST" (ignore those who have won MY QUEST)
 
 
 
-EFFECTS +Sleep "+Wood Chopping" (ignore all except those with effects)
 
 
 
+EFFECTS -Sleep "-Wood Chopping" (ignore only those with listed effect)
 
 
 
-SKILLS +Spell_Sleep(75) (ignore all except those with skill proficiency)
 
 
 
+SKILLS -Spell_Sleep(75) (ignore only those with skill proficiency)
 
 
 
-SKILLFLAG +ENCHANTMENT etc.. (ignore all except those with skillflag)
 
 
 
+SKILLFLAG -ENCHANTMENT etc.. (ignore only those with listed skillflag)
 
 
 
-ACCCHIEVES +mytatto etc..  (ignore all except those with achievements)
 
 
 
+ACCCHIEVES -mytattoo etc.. (ignore only those with listed achievements)}}
 
  
 
===Notes===
 
===Notes===
 
.
 
.
 +
[[Category:MOBS(BuilderInfo)]]
 +
[[Category:ITEMS(BuilderInfo)]]

Latest revision as of 13:15, 11 April 2021


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    
===Decay===
Targets: MOBs, Items
Parameters: min, max ticks, a percent chance, trigger masks
Examples: min=10 max=20 chance=75 answer=" goes poof!"

min=10 max=20 chance=75 -LEVEL +<17 notrigger answer=" " min=10 max=20 chance=75 -CLASS +Paladin

Description: According to the timing and percent chance described by the parameters, the mob or item with this behavior will vanish at the expired time. MOBs do not begin their countdown until attacked, items when they are picked up, weapons when they are first wielded, or armor when it is first worn. The countdown may also depend on whether the mob or player triggering the countdown meets any masks specified. You may force the object to decay immediately by placing the NOTRIGGER mask inside your parameter string. The message seen when the object decays can also be modified by changing the ANSWER parameter. For value masks to determine whether a countdown begins,

see AHELP ZAPPERMASK, where allowed is decayed, and disallowed is ignored.


Notes

.