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_SPECIESLOCK | Prevent species from changing while they have the trait |
TRAIT_MARINE | You become a Marine that can eat crayons!!! |
TRAIT_ALIEN_SNEAK | Whether we're sneaking, from the alien sneak ability. Maybe worth generalizing into a general "is sneaky" / "is stealth" trait in the future. |
TRAIT_NOVEHICLE | This mob can't use vehicles |
TRAIT_COLORBLIND | You can't see color! |
TRAIT_CRYING | This person is crying |
CURSED_ITEM_TRAIT | The item is magically cursed |
TRAIT_STATUS_EFFECT | A trait given by a specific status effect (not sure why we need both but whatever!) |
ELEMENT_TRAIT | Trait applied by element |
BLOODSUCKER_TRAIT | Source trait for Bloodsuckers-related traits |
HUNTER_TRAIT | Source trait for Monster Hunter-related traits |
FRENZY_TRAIT | Source trait during a Frenzy |
FEED_TRAIT | Source trait while Feeding |
STATION_TRAIT_MOONSCORCH | Traits given by station traits |
TRAIT_DARKSPAWN_LIGHTRES | Darkspawn traits lets darkspawns walk through weak light |
TRAIT_DARKSPAWN_CREEP | lets darkspawns walk through any light |
TRAIT_DARKSPAWN_DEVOURED | permanently reduces the lucidity gained from future succs |
TRAIT_DARKSPAWN_PSIBLOCK | disable psi regeneration (make sure to remove it after some time) |
TRAIT_DARKSPAWN_BUFFALLIES | make aoe ally buff abilities also affect allied darkspawns |
TRAIT_DARKSPAWN_UNDYING | revives the darkspawn if they're dead and in the dark |
TRAIT_FAST_COOLDOWNS | reduces the cooldown of all used /datum/action/cooldown by 25% |
Define Details
BLOODSUCKER_TRAIT
Source trait for Bloodsuckers-related traits
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
CURSED_ITEM_TRAIT
The item is magically cursed
ELEMENT_TRAIT
Trait applied by element
FEED_TRAIT
Source trait while Feeding
FRENZY_TRAIT
Source trait during a Frenzy
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
HAS_MIND_TRAIT
A simple helper for checking traits in a mob's mind
HUNTER_TRAIT
Source trait for Monster Hunter-related traits
STATION_TRAIT_MOONSCORCH
Traits given by station traits
TRAIT_ALIEN_SNEAK
Whether we're sneaking, from the alien sneak ability. Maybe worth generalizing into a general "is sneaky" / "is stealth" trait in the future.
TRAIT_COLORBLIND
You can't see color!
TRAIT_CRYING
This person is crying
TRAIT_DARKSPAWN_BUFFALLIES
make aoe ally buff abilities also affect allied darkspawns
TRAIT_DARKSPAWN_CREEP
lets darkspawns walk through any light
TRAIT_DARKSPAWN_DEVOURED
permanently reduces the lucidity gained from future succs
TRAIT_DARKSPAWN_LIGHTRES
Darkspawn traits lets darkspawns walk through weak light
TRAIT_DARKSPAWN_PSIBLOCK
disable psi regeneration (make sure to remove it after some time)
TRAIT_DARKSPAWN_UNDYING
revives the darkspawn if they're dead and in the dark
TRAIT_FAST_COOLDOWNS
reduces the cooldown of all used /datum/action/cooldown by 25%
TRAIT_MARINE
You become a Marine that can eat crayons!!!
TRAIT_NOVEHICLE
This mob can't use vehicles
TRAIT_SPECIESLOCK
Prevent species from changing while they have the trait
TRAIT_STATUS_EFFECT
A trait given by a specific status effect (not sure why we need both but whatever!)