actionspeed_modifier 
Vars | |
category | Unique category of this modifier. do_after will apply modifiers based on this. Default value (DA_CAT_ALL) will affect all existing categories. You can combine categories in one modifier via bitfield operations. See code/_DEFINES/actionspeed_modification.dm |
---|---|
conflicts_with | Other modification datums this conflicts with. |
id | Unique ID. You can never have different modifications with the same ID. By default, this SHOULD NOT be set. Only set it for cases where you're dynamically making modifiers/need to have two types overwrite each other. If unset, uses path (converted to text) as ID. |
multiplicative_slowdown | Its a flat value that adds to/removes from a final action speed modifier. Use negative numbers to make mob act faster, and positive values to act slower. |
priority | Higher ones override lower priorities. This is NOT used for ID, ID must be unique, if it isn't unique the newer one overwrites automatically if overriding. |
variable | Whether or not this is a variable modifier. Variable modifiers can NOT be ever auto-cached. ONLY CHECKED VIA INITIAL(), EFFECTIVELY READ ONLY (and for very good reason) |
Var Details
category 
Unique category of this modifier. do_after will apply modifiers based on this. Default value (DA_CAT_ALL) will affect all existing categories. You can combine categories in one modifier via bitfield operations. See code/_DEFINES/actionspeed_modification.dm
conflicts_with 
Other modification datums this conflicts with.
id 
Unique ID. You can never have different modifications with the same ID. By default, this SHOULD NOT be set. Only set it for cases where you're dynamically making modifiers/need to have two types overwrite each other. If unset, uses path (converted to text) as ID.
multiplicative_slowdown 
Its a flat value that adds to/removes from a final action speed modifier. Use negative numbers to make mob act faster, and positive values to act slower.
priority 
Higher ones override lower priorities. This is NOT used for ID, ID must be unique, if it isn't unique the newer one overwrites automatically if overriding.
variable 
Whether or not this is a variable modifier. Variable modifiers can NOT be ever auto-cached. ONLY CHECKED VIA INITIAL(), EFFECTIVELY READ ONLY (and for very good reason)