Paradise Station 13 - Modules - TypesDefine Details

code/__HELPERS/traits.dm

ADD_TRAITAdds a status trait to the target datum.
REMOVE_TRAITRemoves a status trait from a target datum.
REMOVE_TRAITS_NOT_INRemoves all status traits from a target datum which were NOT added by sources.
REMOVE_TRAITS_INRemoves all status traits from a target datum which were added by sources.
TRAIT_SHOW_WIRE_INFOShow what machine/door wires do when held.

Define Details

ADD_TRAIT

Adds a status trait to the target datum.

Arguments: (All Required)

REMOVE_TRAIT

Removes a status trait from a target datum.

ROUNDSTART_TRAIT traits can't be removed without being specified in sources. Arguments:

REMOVE_TRAITS_IN

Removes all status traits from a target datum which were added by sources.

Arguments:

REMOVE_TRAITS_NOT_IN

Removes all status traits from a target datum which were NOT added by sources.

Arguments:

TRAIT_SHOW_WIRE_INFO

Show what machine/door wires do when held.