trait_injector
![code/modules/mapping/mapping_helpers.dm 391](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.dm 396](git.png)
Will inject into all fitting the criteria if false, otherwise first found.
target_name
![code/modules/mapping/mapping_helpers.dm 400](git.png)
Will inject into atoms with this name.
target_type
![code/modules/mapping/mapping_helpers.dm 398](git.png)
Will inject into atoms of this type.
trait_name
![code/modules/mapping/mapping_helpers.dm 405](git.png)
Name of the trait, in the lower-case text (NOT the upper-case define) form.