Difference between revisions of "Prop Adjuster"

From CoffeeMud Wiki
Jump to navigation Jump to search
Line 21: Line 21:
 
The parameters may also END with the key word MASK= followed by a mask.  This mask will select which kinds of mobs and players will be affected by this property. This may seem a strange parameter for a mobs-only property, but perhaps you can find a use for it. :) See ZAPPERMASKS for more information on zapper mask syntax.}}
 
The parameters may also END with the key word MASK= followed by a mask.  This mask will select which kinds of mobs and players will be affected by this property. This may seem a strange parameter for a mobs-only property, but perhaps you can find a use for it. :) See ZAPPERMASKS for more information on zapper mask syntax.}}
  
===Notes===
+
===Syntax===
 +
Syntax is extremely important in defining properties.
 +
{| class="wikitable sortable" style="border: 1px solid #c6c9ff; border-collapse: collapse;" cellspacing="0" cellpadding="1" border="1" width="90%"
 +
|-
 +
! Adjuster
 +
! Proper Syntax
 +
! Effect
 +
! Notes
 +
|-
 +
| Magical Ability
 +
| Ability+X
 +
| Increases the magical ability of the target by [X].  Minus (-) or Equals (=) may be used instead of Plus (+) to reduce or set the value of the Magical Ability.
 +
| When placed on a GenEnvResource, it will grant a magical bonus on any item crafted with that resource by the value of X.
 +
|-
 +
| Dispositions
 +
| disposition=ISINVISIBLE
 +
| makes the target invisible at all times unless otherwise suppressed.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISHIDDEN
 +
| makes the target hidden at all times unless otherwise suppressed.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISNEVERSEEN
 +
| makes the target never seen.  This should only be used to script special events.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISMAGICAL
 +
| makes the target have a magical aura (detectable by detect magic).
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISGLOWING
 +
| makes the target emit a small amount of light, enough to see the target in the dark.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISLIGHT
 +
| makes the target a light source.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISFLYING
 +
| Grants the target the FLYING flag.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISCLIMBING
 +
| Puts the target in the climbing state, halting hit point, mana, and movement regeneration, but able to use UP or DOWN without restrictions.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISSLEEPING
 +
| Puts the target in a sleeping state, greatly reducing awareness but increasing hit point, mana, and movement regeneration.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISSITTING
 +
| Puts the target in a sitting state, reducing awareness but increasing hit point, mana, and movement regeneration.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISSNEAKING
 +
| Suppresses entry/exit messages when the target changes rooms except to targets that can detect hidden.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISSWIMMING
 +
| Puts the target in a swimming state, enabling motion in any direction through water without a swim check.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISEVIL
 +
| Gives the target an EVIL disposition.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISGOOD
 +
| Gives the target a GOOD disposition.
 +
|
 +
|-
 +
| Dispositions
 +
| disposition=ISUNATTACKABLE
 +
| Prevents the target from being subject to combat.  This disposition should be used with caution, since it may have some unintended effects.  Consider Prop_SafePet for mobs.
 +
| A good use for this disposition would be on GenSailingShips required for game play (such as transports between capitols).
 +
|}
 +
 
 +
=Notes=
 
*The appropriate property to provide stat modifiers to a mob is [[Prop_StatTrainer]].
 
*The appropriate property to provide stat modifiers to a mob is [[Prop_StatTrainer]].
 +
 
[[Category:MOBS(BuilderInfo)]]
 
[[Category:MOBS(BuilderInfo)]]
 
[[Category:ADJUSTER(Flag)]]
 
[[Category:ADJUSTER(Flag)]]

Revision as of 14:56, 22 March 2022

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_Adjuster===
Effect: Adjustments to stats
Targets: Mobs
Parameters: statistic names followed by a +, -, or = and a value

The above parameters may be followed by an optional mask

Examples: str+2 dex-2 move+100 class=thief race=elf gender=F

str+2 dex-2 move+100 MASK=-Race +Dwarf

Description: The listed effects will be given to the mob. All parameters use the + or - adjuster, except the class, race, and gender parameters noted above. Valid parameters are as follows:

strength dexterity constitution charisma wisdom intelligence

maxstr maxdex maxcon maxcha maxwis maxint (maximum trainable)

savepar savefir savecol savewat savegas savemin savegen savejus

saveaci saveele savepoi saveund savemag savedis savetra

ability (magical level), armor, attacks (prowess), damage (max), disposition (sitting/standing/flying/etc), level, rejuv(!NO!), senses (blind/infravision/darkvision/etc), speed (#attacks), height, weight, gender, class, race, hitpoints, hunger (stomach size), mana, movement, thirst (stomach size) conversion weightadj saveblunt savepierce saveslash savespells saveprayers savesongs savechants critpctweapons critpctmagic critdmgweapons critdmgmagic.


By default, the values + or - are added to the existing values. However, if MULTIPLYPH=true is included in the parameters, then attack, armor, and damage will instead have their values multiplied by the given value / 100. Likewise, if MULTIPLYCH=true is included, then hitpoints, mana, and movement are similarly multiplied instead of added. All other values act the same.

The parameters may also END with the key word MASK= followed by a mask. This mask will select which kinds of mobs and players will be affected by this property. This may seem a strange parameter for a mobs-only property, but perhaps you can find a use for it. :) See ZAPPERMASKS for more information on zapper mask syntax.

Syntax

Syntax is extremely important in defining properties.

Adjuster Proper Syntax Effect Notes
Magical Ability Ability+X Increases the magical ability of the target by [X]. Minus (-) or Equals (=) may be used instead of Plus (+) to reduce or set the value of the Magical Ability. When placed on a GenEnvResource, it will grant a magical bonus on any item crafted with that resource by the value of X.
Dispositions disposition=ISINVISIBLE makes the target invisible at all times unless otherwise suppressed.
Dispositions disposition=ISHIDDEN makes the target hidden at all times unless otherwise suppressed.
Dispositions disposition=ISNEVERSEEN makes the target never seen. This should only be used to script special events.
Dispositions disposition=ISMAGICAL makes the target have a magical aura (detectable by detect magic).
Dispositions disposition=ISGLOWING makes the target emit a small amount of light, enough to see the target in the dark.
Dispositions disposition=ISLIGHT makes the target a light source.
Dispositions disposition=ISFLYING Grants the target the FLYING flag.
Dispositions disposition=ISCLIMBING Puts the target in the climbing state, halting hit point, mana, and movement regeneration, but able to use UP or DOWN without restrictions.
Dispositions disposition=ISSLEEPING Puts the target in a sleeping state, greatly reducing awareness but increasing hit point, mana, and movement regeneration.
Dispositions disposition=ISSITTING Puts the target in a sitting state, reducing awareness but increasing hit point, mana, and movement regeneration.
Dispositions disposition=ISSNEAKING Suppresses entry/exit messages when the target changes rooms except to targets that can detect hidden.
Dispositions disposition=ISSWIMMING Puts the target in a swimming state, enabling motion in any direction through water without a swim check.
Dispositions disposition=ISEVIL Gives the target an EVIL disposition.
Dispositions disposition=ISGOOD Gives the target a GOOD disposition.
Dispositions disposition=ISUNATTACKABLE Prevents the target from being subject to combat. This disposition should be used with caution, since it may have some unintended effects. Consider Prop_SafePet for mobs. A good use for this disposition would be on GenSailingShips required for game play (such as transports between capitols).

Notes

  • The appropriate property to provide stat modifiers to a mob is Prop_StatTrainer.