/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/~skyrat_defines/lewd_defines.dm

AROUSAL_MINIMUMTo prevent an issue with stupidly low negative values.
TRAIT_GLOVE_SURGERY_PASSTHROUGHApplied to a mob wearing gloves that should be passable for hand surgery (e.g. ball mittens).
MITTENS_FUMBLE_TRAITTrait source for ball_mittens_fumble component.
COMSIG_LIVING_ITEM_ATTEMPT_PICKUPFired on a mob in attempt_pickup after mobility checks. Handler can set pickup_mods["delay"] or return COMPONENT_BLOCK_ITEM_PICKUP.
COMSIG_MOB_MACHINERY_INTERACTFired on a mob when they interact with machinery, before interact() runs. Return COMPONENT_BLOCK_MACHINERY_INTERACT to block.
COMSIG_LIVING_ITEM_PICKUP_FAILEDFired on a mob when attempt_pickup fails due to fail_chance in pickup_mods. (obj/item/item)

Define Details

AROUSAL_MINIMUM

To prevent an issue with stupidly low negative values.

COMSIG_LIVING_ITEM_ATTEMPT_PICKUP

Fired on a mob in attempt_pickup after mobility checks. Handler can set pickup_mods["delay"] or return COMPONENT_BLOCK_ITEM_PICKUP.

COMSIG_LIVING_ITEM_PICKUP_FAILED

Fired on a mob when attempt_pickup fails due to fail_chance in pickup_mods. (obj/item/item)

COMSIG_MOB_MACHINERY_INTERACT

Fired on a mob when they interact with machinery, before interact() runs. Return COMPONENT_BLOCK_MACHINERY_INTERACT to block.

MITTENS_FUMBLE_TRAIT

Trait source for ball_mittens_fumble component.

TRAIT_GLOVE_SURGERY_PASSTHROUGH

Applied to a mob wearing gloves that should be passable for hand surgery (e.g. ball mittens).