byond - Modules - TypesDefine Details

code/__DEFINES/traits.dm

GET_TRAIT_SOURCESReturns a list of trait sources for this trait. Only useful for wacko cases and internal futzing You should not be using this
COUNT_TRAIT_SOURCESReturns 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_TRAITA simple helper for checking traits in a mob's mind
TRAIT_UNDENSEExample 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_KNOCKEDOUTForces the user to stay unconscious.
TRAIT_IMMOBILIZEDPrevents voluntary movement.
TRAIT_FLOOREDPrevents voluntary standing or staying up on its own.
TRAIT_FORCED_STANDINGForces user to stay standing
TRAIT_INCAPACITATEDStuns preventing movement and using objects but without further impairement
TRAIT_DAZEDDisoriented. Unable to talk properly, and unable to use some skills as Xeno
TRAIT_MERGED_WITH_WEEDSApply this to identify a mob as merged with weeds
TRAIT_TEMPORARILY_MUTEDApply this to identify a mob as temporarily muted
TRAIT_NO_STRAYMob wont get hit by stray projectiles
TRAIT_YAUTJA_TECHKnowledge of Yautja technology
TRAIT_SUPER_STRONGAbsolutely RIPPED. Can do misc. heavyweight stuff others can't. (Yautja, Synths)
TRAIT_FOREIGN_BIOForeign biology. Basic medHUDs won't show the mob. (Yautja, Zombies)
TRAIT_INTENT_EYESEye color changes on intent. (G1 Synths and WJs)
TRAIT_INFILTRATOR_SYNTHMasked synthetic biology. Basic medHUDs will perceive the mob as human. (Infiltrator Synths)
TRAIT_UNSTRIPPABLEMakes it impossible to strip the inventory of this mob.
TRAIT_XENONIDIf the Hive is a Xenonid Hive
TRAIT_HIVEMIND_INTERFERENCEif the xeno's connection to the hivemind is cut
TRAIT_OPPOSABLE_THUMBSIf the hive or xeno can use objects.
TRAIT_NO_HIVE_DELAYIf the Hive delays round end (this is overridden for some hives). Does not occur naturally. Must be applied in events.
TRAIT_NO_COLORIf the Hive uses it's colors on the mobs. Does not occur naturally, excepting the Mutated hive.
TRAIT_NESTEDIf the mob is nested.
TRAIT_CRAWLERIf the mob can crawl through pipes equipped
TRAIT_SIMPLE_DESCIf the mob is hidden from examination
TRAIT_LISPINGReplace s with th in talking
TRAIT_TWOBORE_TRAININGIf the mob can handle the superheavy two-bore rifle and speaks its fluff lines when landing hits with it.
TRAIT_NEARSIGHTED_EQUIPMENTIf the mob has equipment that alleviates nearsightedness
TRAIT_DEXTROUSIf the mob is affected by drag delay.
TRAIT_CHARGINGIf the mob is currently charging (xeno only)
TRAIT_LEADERSHIPIf the mob has leadership abilities (giving orders).
TRAIT_REAGENT_SCANNERIf the mob can see the reagents contents of stuff
TRAIT_CANNOT_EATIf the mob cannot eat/be fed
TRAIT_SPOTTER_LAZEDIf the mob is being lazed by a sniper spotter
TRAIT_EAR_PROTECTIONIf the mob has ear protection. Protects from external ear damage effects. Includes explosions, firing the RPG, screeching DEAFNESS only, and flashbangs.
TRAIT_SANTAIf the mob is Santa. Enough said.
TRAIT_BIMEXIf the mob is wearing bimex glasses. Used for badass laser deflection flavor text.
TRAIT_EMOTE_CD_EXEMPTStops emote cooldown
TRAIT_HOLDS_CANEIf the mob is holding a cane.
TRAIT_USING_WHEELCHAIRIf the mob is buckled to a wheelchair.
TRAIT_HARDCOREIf the mob will instantly go permadead upon death
TRAIT_VULTURE_USERIf the mob is able to use the vulture rifle or spotting scope
TRAIT_IN_TUTORIALIf the mob is currently loading a tutorial
TRAIT_CLOAKEDIf the mob is cloaked in any form
TRAIT_SPEC_VENDORIf the mob claimed a specialist set from a vendor
TRAIT_SPEC_KITIf the mob claimed a specialist set from a kit
TRAIT_SPECWhat spec set the mob has claimed, if any
TRAIT_IRON_TEETHIf the mob won't drop items held in face slot when downed
TRAIT_ABILITY_NO_PLASMA_TRANSFERXenos with this trait cannot have plasma transfered to them
TRAIT_ABILITY_OVIPOSITORShows that the xeno queen is on ovi
TRAIT_ABILITY_BURROWEDUsed for burrowed mobs, prevent's SG/sentrys/claymores from autofiring
TRAIT_TOOL_TRADEBANDCan lockout blackmarket from ASRS console circuits.
TRAIT_TOOL_BLACKMARKET_HACKERCan hack ASRS consoles to access the black market
TRAIT_ERT_IDIf this ID belongs to an ERT member
TRAIT_TABLE_FLIPPINGIf the table is being flipped, prevent any changes that will mess with adjacency handling
TRAIT_SOURCE_INHERENTExample trait source
ROUNDSTART_TRAITcannot be removed without admin intervention
LYING_TRAITStatus trait coming from lying down through update_canmove()
TRAIT_SOURCE_SPECIESStatus trait coming from species. .human/species_gain()
TRAIT_SOURCE_HIVEStatus trait coming from the hive.
TRAIT_SOURCE_BUCKLEStatus trait coming from being buckled.
TRAIT_SOURCE_SQUAD_LEADERStatus trait coming from being assigned as [acting] squad leader.
TRAIT_SOURCE_JOBStatus trait coming from their job
TRAIT_SOURCE_ADMINStatus trait forced by staff
TRAIT_SOURCE_TUTORIALStatus trait coming from a tutorial
TRAIT_SOURCE_EQUIPMENTStatus trait coming from equipment
TRAIT_SOURCE_SKILLStatus trait coming from skill
TRAIT_SOURCE_ATTACHMENTStatus trait coming from attachment
TRAIT_SOURCE_ABILITYStatus trait coming from ability
TRAIT_SOURCE_TEMPORARY_MUTEStatus trait coming from temporary_mute
TRAIT_SOURCE_XENO_ACTION_CHARGEStatus trait forced by the xeno action charge
TRAIT_SOURCE_HIVEMIND_INTERFERENCEStatus trait coming from hivemind interference
XENO_NEST_TRAITStatus trait coming from a xeno nest
XENO_THROW_TRAITStatus trait from a generic throw by xeno abilities
TRAIT_SOURCE_FLIP_TABLEStatus trait coming from being flipped or unflipped.
TRAIT_SOURCE_WEAPONStatus trait from weapons?? buh
TRAIT_SOURCE_ITEMStatus trait coming from generic items
BUCKLED_TRAITtrait associated to being buckled
FAKEDEATH_TRAITtrait source when an effect is coming from a fakedeath effect (refactor this)
BODY_TRAITtrait source where a condition comes from body state
LYING_DOWN_TRAITTrait associated to lying down (having a [lying_angle] of a different value than zero).
STAT_TRAITtrait associated to a stat value or range of
OVIPOSITOR_TRAITtrait effect related to the queen ovipositor
CHOKEHOLD_TRAITtrait associated to being held in a chokehold
SPECIALIST_GEAR_TRAITtrait effect related to active specialist gear
DOUBLE_SEATS_TRAITtraits associated with usage of snowflake dropship double seats
XENO_WEED_TRAITtraits associated with xeno on-ground weeds
INTERACTION_TRAITtraits associated with actively interacted machinery
TRAIT_SOURCE_DROPSHIP_INTERACTIONtraits associated with interacting with a dropship
STUNNED_TRAITtraits bound by stunned status effects
KNOCKEDDOWN_TRAITtraits bound by knocked_down status effect
KNOCKEDOUT_TRAITtraits bound by knocked_out status effect
POUNCED_TRAITtraits from being pounced
STEP_TRIGGER_TRAITtraits from step_triggers on the map
HACKED_TRAITtraits from hacked machine interactions
CHLOROFORM_TRAITtraits from chloroform usage

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_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_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_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_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_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

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