code/__DEFINES/traits.dm 
GET_TRAIT_SOURCES | Returns a list of trait sources for this trait. Only useful for wacko cases and internal futzing You should not be using this |
---|---|
COUNT_TRAIT_SOURCES | Returns the amount of sources for a trait. useful if you don't want to have a "thing counter" stuck around all the time |
HAS_MIND_TRAIT | A simple helper for checking traits in a mob's mind |
TRAIT_UNDENSE | Example trait Apply this to make a mob not dense, and remove it when you want it to no longer make them undense, other sorces of undesity will still apply. Always define a unique source when adding a new instance of this! |
TRAIT_KNOCKEDOUT | Forces the user to stay unconscious. |
TRAIT_IMMOBILIZED | Prevents voluntary movement. |
TRAIT_FLOORED | Prevents voluntary standing or staying up on its own. |
TRAIT_FORCED_STANDING | Forces user to stay standing |
TRAIT_INCAPACITATED | Stuns preventing movement and using objects but without further impairement |
TRAIT_DAZED | Disoriented. Unable to talk properly, and unable to use some skills as Xeno |
TRAIT_MERGED_WITH_WEEDS | Apply this to identify a mob as merged with weeds |
TRAIT_TEMPORARILY_MUTED | Apply this to identify a mob as temporarily muted |
TRAIT_NO_STRAY | Mob wont get hit by stray projectiles |
TRAIT_HAULED | When a Xeno hauls us. We can take out our knife or gun if hauled though we are immobilized, also shielded from most damage. |
TRAIT_YAUTJA_TECH | Knowledge of Yautja technology |
TRAIT_SUPER_STRONG | Absolutely RIPPED. Can do misc. heavyweight stuff others can't. (Yautja, Synths) |
TRAIT_FOREIGN_BIO | Foreign biology. Basic medHUDs won't show the mob. (Yautja, Zombies) |
TRAIT_INTENT_EYES | Eye color changes on intent. (G1 Synths and WJs) |
TRAIT_INFILTRATOR_SYNTH | Masked synthetic biology. Basic medHUDs will perceive the mob as human. (Infiltrator Synths) |
TRAIT_UNSTRIPPABLE | Makes it impossible to strip the inventory of this mob. |
TRAIT_XENONID | If the Hive is a Xenonid Hive |
TRAIT_HIVEMIND_INTERFERENCE | if the xeno's connection to the hivemind is cut |
TRAIT_OPPOSABLE_THUMBS | If the hive or xeno can use objects. |
TRAIT_CARDPLAYING_THUMBS | If the hive or xeno can use playing cards. |
TRAIT_NO_HIVE_DELAY | If the Hive delays round end (this is overridden for some hives). Does not occur naturally. Must be applied in events. |
TRAIT_NO_COLOR | If the Hive uses it's colors on the mobs. Does not occur naturally, excepting the Mutated hive. |
TRAIT_NESTED | If the mob is nested. |
TRAIT_CRAWLER | If the mob can crawl through pipes equipped |
TRAIT_SIMPLE_DESC | If the mob is hidden from examination |
TRAIT_LISPING | Replace s with th in talking |
TRAIT_TWOBORE_TRAINING | If the mob can handle the superheavy two-bore rifle and speaks its fluff lines when landing hits with it. |
TRAIT_NEARSIGHTED_EQUIPMENT | If the mob has equipment that alleviates nearsightedness |
TRAIT_DEXTROUS | If the mob is affected by drag delay. |
TRAIT_CHARGING | If the mob is currently charging (xeno only) |
TRAIT_LEADERSHIP | If the mob has leadership abilities (giving orders). |
TRAIT_REAGENT_SCANNER | If the mob can see the reagents contents of stuff |
TRAIT_CANNOT_EAT | If the mob cannot eat/be fed |
TRAIT_SPOTTER_LAZED | If the mob is being lazed by a sniper spotter |
TRAIT_EAR_PROTECTION | If the mob has ear protection. Protects from external ear damage effects. Includes explosions, firing the RPG, screeching DEAFNESS only, and flashbangs. |
TRAIT_SANTA | If the mob is Santa. Enough said. |
TRAIT_BIMEX | If the mob is wearing bimex glasses. Used for badass laser deflection flavor text. |
TRAIT_EMOTE_CD_EXEMPT | Stops emote cooldown |
TRAIT_HOLDS_CANE | If the mob is holding a cane. |
TRAIT_USING_WHEELCHAIR | If the mob is buckled to a wheelchair. |
TRAIT_HARDCORE | If the mob will instantly go permadead upon death |
TRAIT_VULTURE_USER | If the mob is able to use the vulture rifle or spotting scope |
TRAIT_IN_TUTORIAL | If the mob is currently loading a tutorial |
TRAIT_CLOAKED | If the mob is cloaked in any form |
TRAIT_SPEC_VENDOR | If the mob claimed a specialist set from a vendor |
TRAIT_SPEC_KIT | If the mob claimed a specialist set from a kit |
TRAIT_SPEC | What spec set the mob has claimed, if any |
TRAIT_IRON_TEETH | If the mob won't drop items held in face slot when downed |
TRAIT_ABILITY_NO_PLASMA_TRANSFER | Xenos with this trait cannot have plasma transfered to them |
TRAIT_ABILITY_OVIPOSITOR | Shows that the xeno queen is on ovi |
TRAIT_ABILITY_BURROWED | Used for burrowed mobs, prevent's SG/sentrys/claymores from autofiring |
TRAIT_ABILITY_SIGHT_IGNORE_REST | Xenos with this trait can toggle long sight while resting. |
TRAIT_TOOL_TRADEBAND | Can lockout blackmarket from ASRS console circuits. |
TRAIT_TOOL_BLACKMARKET_HACKER | Can hack ASRS consoles to access the black market |
TRAIT_ERT_ID | If this ID belongs to an ERT member |
TRAIT_HEARS_FROM_CONTENTS | If this item can hear things from inside one level of contents. |
TRAIT_REACTS_UNSAFELY | if this item can allow reactions to occur "fully" in itself. missing this trait makes the reaction inert. it will still mix, but safely. |
TRAIT_TABLE_FLIPPING | If the table is being flipped, prevent any changes that will mess with adjacency handling |
TRAIT_SOURCE_INHERENT | Example trait source |
ROUNDSTART_TRAIT | cannot be removed without admin intervention |
LYING_TRAIT | Status trait coming from lying down through update_canmove() |
TRAIT_SOURCE_SPECIES | Status trait coming from species. .human/species_gain() |
TRAIT_SOURCE_HIVE | Status trait coming from the hive. |
TRAIT_SOURCE_STRAIN | Status trait coming from xeno strains. |
TRAIT_SOURCE_BUCKLE | Status trait coming from being buckled. |
TRAIT_SOURCE_SQUAD_LEADER | Status trait coming from being assigned as [acting] squad leader. |
TRAIT_SOURCE_JOB | Status trait coming from their job |
TRAIT_SOURCE_ADMIN | Status trait forced by staff |
TRAIT_SOURCE_TUTORIAL | Status trait coming from a tutorial |
TRAIT_SOURCE_EQUIPMENT | Status trait coming from equipment |
TRAIT_SOURCE_SKILL | Status trait coming from skill |
TRAIT_SOURCE_ATTACHMENT | Status trait coming from attachment |
TRAIT_SOURCE_ABILITY | Status trait coming from ability |
TRAIT_SOURCE_TEMPORARY_MUTE | Status trait coming from temporary_mute |
TRAIT_SOURCE_XENO_ACTION_CHARGE | Status trait forced by the xeno action charge |
TRAIT_SOURCE_HIVEMIND_INTERFERENCE | Status trait coming from hivemind interference |
XENO_NEST_TRAIT | Status trait coming from a xeno nest |
XENO_THROW_TRAIT | Status trait from a generic throw by xeno abilities |
TRAIT_SOURCE_FLIP_TABLE | Status trait coming from being flipped or unflipped. |
TRAIT_SOURCE_WEAPON | Status trait from weapons?? buh |
TRAIT_SOURCE_ITEM | Status trait coming from generic items |
BUCKLED_TRAIT | trait associated to being buckled |
FAKEDEATH_TRAIT | trait source when an effect is coming from a fakedeath effect (refactor this) |
BODY_TRAIT | trait source where a condition comes from body state |
LYING_DOWN_TRAIT | Trait associated to lying down (having a [lying_angle] of a different value than zero). |
STAT_TRAIT | trait associated to a stat value or range of |
OVIPOSITOR_TRAIT | trait effect related to the queen ovipositor |
CHOKEHOLD_TRAIT | trait associated to being held in a chokehold |
SPECIALIST_GEAR_TRAIT | trait effect related to active specialist gear |
DOUBLE_SEATS_TRAIT | traits associated with usage of snowflake dropship double seats |
XENO_WEED_TRAIT | traits associated with xeno on-ground weeds |
INTERACTION_TRAIT | traits associated with actively interacted machinery |
TRAIT_SOURCE_DROPSHIP_INTERACTION | traits associated with interacting with a dropship |
STUNNED_TRAIT | traits bound by stunned status effects |
KNOCKEDDOWN_TRAIT | traits bound by knocked_down status effect |
KNOCKEDOUT_TRAIT | traits bound by knocked_out status effect |
POUNCED_TRAIT | traits from being pounced |
STEP_TRIGGER_TRAIT | traits from step_triggers on the map |
HACKED_TRAIT | traits from hacked machine interactions |
CHLOROFORM_TRAIT | traits from chloroform usage |
TURF_Z_TRANSPARENT_TRAIT | traits transparent turf |
WALL_HIDING_TRAIT | traits from wall hiding |
Define Details
BODY_TRAIT 
trait source where a condition comes from body state
BUCKLED_TRAIT 
trait associated to being buckled
CHLOROFORM_TRAIT 
traits from chloroform usage
CHOKEHOLD_TRAIT 
trait associated to being held in a chokehold
COUNT_TRAIT_SOURCES 
Returns the amount of sources for a trait. useful if you don't want to have a "thing counter" stuck around all the time
DOUBLE_SEATS_TRAIT 
traits associated with usage of snowflake dropship double seats
FAKEDEATH_TRAIT 
trait source when an effect is coming from a fakedeath effect (refactor this)
GET_TRAIT_SOURCES 
Returns a list of trait sources for this trait. Only useful for wacko cases and internal futzing You should not be using this
HACKED_TRAIT 
traits from hacked machine interactions
HAS_MIND_TRAIT 
A simple helper for checking traits in a mob's mind
INTERACTION_TRAIT 
traits associated with actively interacted machinery
KNOCKEDDOWN_TRAIT 
traits bound by knocked_down status effect
KNOCKEDOUT_TRAIT 
traits bound by knocked_out status effect
LYING_DOWN_TRAIT 
Trait associated to lying down (having a [lying_angle] of a different value than zero).
LYING_TRAIT 
Status trait coming from lying down through update_canmove()
OVIPOSITOR_TRAIT 
trait effect related to the queen ovipositor
POUNCED_TRAIT 
traits from being pounced
ROUNDSTART_TRAIT 
cannot be removed without admin intervention
SPECIALIST_GEAR_TRAIT 
trait effect related to active specialist gear
STAT_TRAIT 
trait associated to a stat value or range of
STEP_TRIGGER_TRAIT 
traits from step_triggers on the map
STUNNED_TRAIT 
traits bound by stunned status effects
TRAIT_ABILITY_BURROWED 
Used for burrowed mobs, prevent's SG/sentrys/claymores from autofiring
TRAIT_ABILITY_NO_PLASMA_TRANSFER 
Xenos with this trait cannot have plasma transfered to them
TRAIT_ABILITY_OVIPOSITOR 
Shows that the xeno queen is on ovi
TRAIT_ABILITY_SIGHT_IGNORE_REST 
Xenos with this trait can toggle long sight while resting.
TRAIT_BIMEX 
If the mob is wearing bimex glasses. Used for badass laser deflection flavor text.
TRAIT_CANNOT_EAT 
If the mob cannot eat/be fed
TRAIT_CARDPLAYING_THUMBS 
If the hive or xeno can use playing cards.
TRAIT_CHARGING 
If the mob is currently charging (xeno only)
TRAIT_CLOAKED 
If the mob is cloaked in any form
TRAIT_CRAWLER 
If the mob can crawl through pipes equipped
TRAIT_DAZED 
Disoriented. Unable to talk properly, and unable to use some skills as Xeno
TRAIT_DEXTROUS 
If the mob is affected by drag delay.
TRAIT_EAR_PROTECTION 
If the mob has ear protection. Protects from external ear damage effects. Includes explosions, firing the RPG, screeching DEAFNESS only, and flashbangs.
TRAIT_EMOTE_CD_EXEMPT 
Stops emote cooldown
TRAIT_ERT_ID 
If this ID belongs to an ERT member
TRAIT_FLOORED 
Prevents voluntary standing or staying up on its own.
TRAIT_FORCED_STANDING 
Forces user to stay standing
TRAIT_FOREIGN_BIO 
Foreign biology. Basic medHUDs won't show the mob. (Yautja, Zombies)
TRAIT_HARDCORE 
If the mob will instantly go permadead upon death
TRAIT_HAULED 
When a Xeno hauls us. We can take out our knife or gun if hauled though we are immobilized, also shielded from most damage.
TRAIT_HEARS_FROM_CONTENTS 
If this item can hear things from inside one level of contents.
TRAIT_HIVEMIND_INTERFERENCE 
if the xeno's connection to the hivemind is cut
TRAIT_HOLDS_CANE 
If the mob is holding a cane.
TRAIT_IMMOBILIZED 
Prevents voluntary movement.
TRAIT_INCAPACITATED 
Stuns preventing movement and using objects but without further impairement
TRAIT_INFILTRATOR_SYNTH 
Masked synthetic biology. Basic medHUDs will perceive the mob as human. (Infiltrator Synths)
TRAIT_INTENT_EYES 
Eye color changes on intent. (G1 Synths and WJs)
TRAIT_IN_TUTORIAL 
If the mob is currently loading a tutorial
TRAIT_IRON_TEETH 
If the mob won't drop items held in face slot when downed
TRAIT_KNOCKEDOUT 
Forces the user to stay unconscious.
TRAIT_LEADERSHIP 
If the mob has leadership abilities (giving orders).
TRAIT_LISPING 
Replace s with th in talking
TRAIT_MERGED_WITH_WEEDS 
Apply this to identify a mob as merged with weeds
TRAIT_NEARSIGHTED_EQUIPMENT 
If the mob has equipment that alleviates nearsightedness
TRAIT_NESTED 
If the mob is nested.
TRAIT_NO_COLOR 
If the Hive uses it's colors on the mobs. Does not occur naturally, excepting the Mutated hive.
TRAIT_NO_HIVE_DELAY 
If the Hive delays round end (this is overridden for some hives). Does not occur naturally. Must be applied in events.
TRAIT_NO_STRAY 
Mob wont get hit by stray projectiles
TRAIT_OPPOSABLE_THUMBS 
If the hive or xeno can use objects.
TRAIT_REACTS_UNSAFELY 
if this item can allow reactions to occur "fully" in itself. missing this trait makes the reaction inert. it will still mix, but safely.
TRAIT_REAGENT_SCANNER 
If the mob can see the reagents contents of stuff
TRAIT_SANTA 
If the mob is Santa. Enough said.
TRAIT_SIMPLE_DESC 
If the mob is hidden from examination
TRAIT_SOURCE_ABILITY 
Status trait coming from ability
TRAIT_SOURCE_ADMIN 
Status trait forced by staff
TRAIT_SOURCE_ATTACHMENT 
Status trait coming from attachment
TRAIT_SOURCE_BUCKLE 
Status trait coming from being buckled.
TRAIT_SOURCE_DROPSHIP_INTERACTION 
traits associated with interacting with a dropship
TRAIT_SOURCE_EQUIPMENT 
Status trait coming from equipment
TRAIT_SOURCE_FLIP_TABLE 
Status trait coming from being flipped or unflipped.
TRAIT_SOURCE_HIVE 
Status trait coming from the hive.
TRAIT_SOURCE_HIVEMIND_INTERFERENCE 
Status trait coming from hivemind interference
TRAIT_SOURCE_INHERENT 
Example trait source
TRAIT_SOURCE_ITEM 
Status trait coming from generic items
TRAIT_SOURCE_JOB 
Status trait coming from their job
TRAIT_SOURCE_SKILL 
Status trait coming from skill
TRAIT_SOURCE_SPECIES 
Status trait coming from species. .human/species_gain()
TRAIT_SOURCE_SQUAD_LEADER 
Status trait coming from being assigned as [acting] squad leader.
TRAIT_SOURCE_STRAIN 
Status trait coming from xeno strains.
TRAIT_SOURCE_TEMPORARY_MUTE 
Status trait coming from temporary_mute
TRAIT_SOURCE_TUTORIAL 
Status trait coming from a tutorial
TRAIT_SOURCE_WEAPON 
Status trait from weapons?? buh
TRAIT_SOURCE_XENO_ACTION_CHARGE 
Status trait forced by the xeno action charge
TRAIT_SPEC 
What spec set the mob has claimed, if any
TRAIT_SPEC_KIT 
If the mob claimed a specialist set from a kit
TRAIT_SPEC_VENDOR 
If the mob claimed a specialist set from a vendor
TRAIT_SPOTTER_LAZED 
If the mob is being lazed by a sniper spotter
TRAIT_SUPER_STRONG 
Absolutely RIPPED. Can do misc. heavyweight stuff others can't. (Yautja, Synths)
TRAIT_TABLE_FLIPPING 
If the table is being flipped, prevent any changes that will mess with adjacency handling
TRAIT_TEMPORARILY_MUTED 
Apply this to identify a mob as temporarily muted
TRAIT_TOOL_BLACKMARKET_HACKER 
Can hack ASRS consoles to access the black market
TRAIT_TOOL_TRADEBAND 
Can lockout blackmarket from ASRS console circuits.
TRAIT_TWOBORE_TRAINING 
If the mob can handle the superheavy two-bore rifle and speaks its fluff lines when landing hits with it.
TRAIT_UNDENSE 
Example trait Apply this to make a mob not dense, and remove it when you want it to no longer make them undense, other sorces of undesity will still apply. Always define a unique source when adding a new instance of this!
TRAIT_UNSTRIPPABLE 
Makes it impossible to strip the inventory of this mob.
TRAIT_USING_WHEELCHAIR 
If the mob is buckled to a wheelchair.
TRAIT_VULTURE_USER 
If the mob is able to use the vulture rifle or spotting scope
TRAIT_XENONID 
If the Hive is a Xenonid Hive
TRAIT_YAUTJA_TECH 
Knowledge of Yautja technology
TURF_Z_TRANSPARENT_TRAIT 
traits transparent turf
WALL_HIDING_TRAIT 
traits from wall hiding
XENO_NEST_TRAIT 
Status trait coming from a xeno nest
XENO_THROW_TRAIT 
Status trait from a generic throw by xeno abilities
XENO_WEED_TRAIT 
traits associated with xeno on-ground weeds