trait_injector ![code/modules/mapping/mapping_helpers/_mapping_helpers.dm 321](git.png)
Vars | |
first_match_only | Will inject into all fitting the criteria if false, otherwise first found. |
---|---|
target_name | Will inject into atoms with this name. |
target_type | Will inject into atoms of this type. |
trait_name | Name of the trait, in the lower-case text (NOT the upper-case define) form. |
Var Details
first_match_only ![code/modules/mapping/mapping_helpers/_mapping_helpers.dm 326](git.png)
Will inject into all fitting the criteria if false, otherwise first found.
target_name ![code/modules/mapping/mapping_helpers/_mapping_helpers.dm 330](git.png)
Will inject into atoms with this name.
target_type ![code/modules/mapping/mapping_helpers/_mapping_helpers.dm 328](git.png)
Will inject into atoms of this type.
trait_name ![code/modules/mapping/mapping_helpers/_mapping_helpers.dm 335](git.png)
Name of the trait, in the lower-case text (NOT the upper-case define) form.