/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/traits/_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

Define Details

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

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