code/__DEFINES/dcs/obj_signals.dm
COMSIG_OBJ_DECONSTRUCT | Signals for /obj and subtypes that have too few related signals to put in separate files.
Doc format: /// when the signal is called: (signal arguments) .
All signals send the source datum of the signal as the first argument
from base of obj/deconstruct(): (disassembled) |
---|---|
COMSIG_CURSED_SLOT_MACHINE_USE | from /obj/structure/cursed_slot_machine/handle_status_effect() when someone pulls the handle on the slot machine |
SLOT_MACHINE_USE_CANCEL | we've used up the number of times we may use this slot machine. womp womp. |
SLOT_MACHINE_USE_POSTPONE | we haven't used up all our attempts to gamble away our life but we should chill for a few seconds |
COMSIG_CURSED_SLOT_MACHINE_LOST | from /obj/structure/cursed_slot_machine/determine_victor() when someone loses. |
COMSIG_GLOB_CURSED_SLOT_MACHINE_WON | from /obj/structure/cursed_slot_machine/determine_victor() when someone finally wins. |
COMSIG_SHELF_ITEM_REMOVED | from /datum/component/shelved/UnregisterFromParent(): (parent_uid) |
COMSIG_SHELF_ITEM_ADDED | from /datum/component/shelver/add_item(): (obj/item/to_add, placement_idx, list/position_details) |
COMSIG_SHELF_ADDED_ON_MAPLOAD | from Initialize on objects implementing /datum/component/shelved |
COMSIG_SHELF_ATTEMPT_PICKUP | from /datum/component/shelver/shelf_items() |
Define Details
COMSIG_CURSED_SLOT_MACHINE_LOST
from /obj/structure/cursed_slot_machine/determine_victor() when someone loses.
COMSIG_CURSED_SLOT_MACHINE_USE
from /obj/structure/cursed_slot_machine/handle_status_effect() when someone pulls the handle on the slot machine
COMSIG_GLOB_CURSED_SLOT_MACHINE_WON
from /obj/structure/cursed_slot_machine/determine_victor() when someone finally wins.
COMSIG_OBJ_DECONSTRUCT
Signals for /obj and subtypes that have too few related signals to put in separate files.
Doc format: /// when the signal is called: (signal arguments)
.
All signals send the source datum of the signal as the first argument
from base of obj/deconstruct(): (disassembled)
COMSIG_SHELF_ADDED_ON_MAPLOAD
from Initialize on objects implementing /datum/component/shelved
COMSIG_SHELF_ATTEMPT_PICKUP
from /datum/component/shelver/shelf_items()
COMSIG_SHELF_ITEM_ADDED
from /datum/component/shelver/add_item(): (obj/item/to_add, placement_idx, list/position_details)
COMSIG_SHELF_ITEM_REMOVED
from /datum/component/shelved/UnregisterFromParent(): (parent_uid)
SLOT_MACHINE_USE_CANCEL
we've used up the number of times we may use this slot machine. womp womp.
SLOT_MACHINE_USE_POSTPONE
we haven't used up all our attempts to gamble away our life but we should chill for a few seconds