mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 22:25:46 +01:00
b61f4f3ff8
* feat: Storage shelves and gun racks. * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: warriorstar-orion <orion@snowfrost.garden> * review comments * better examine * fix lint * Examine for empty shelves * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: warriorstar-orion <orion@snowfrost.garden> * rest of review comments --------- Signed-off-by: warriorstar-orion <orion@snowfrost.garden> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
36 lines
1.7 KiB
Plaintext
36 lines
1.7 KiB
Plaintext
/**
|
|
* 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
|
|
*/
|
|
|
|
// /obj
|
|
|
|
///from base of obj/deconstruct(): (disassembled)
|
|
#define COMSIG_OBJ_DECONSTRUCT "obj_deconstruct"
|
|
|
|
|
|
// /obj/structure/cursed_slot_machine
|
|
|
|
/// from /obj/structure/cursed_slot_machine/handle_status_effect() when someone pulls the handle on the slot machine
|
|
#define COMSIG_CURSED_SLOT_MACHINE_USE "cursed_slot_machine_use"
|
|
#define SLOT_MACHINE_USE_CANCEL (1<<0) //! we've used up the number of times we may use this slot machine. womp womp.
|
|
#define SLOT_MACHINE_USE_POSTPONE (1<<1) //! we haven't used up all our attempts to gamble away our life but we should chill for a few seconds
|
|
/// from /obj/structure/cursed_slot_machine/determine_victor() when someone loses.
|
|
#define COMSIG_CURSED_SLOT_MACHINE_LOST "cursed_slot_machine_lost"
|
|
/// from /obj/structure/cursed_slot_machine/determine_victor() when someone finally wins.
|
|
#define COMSIG_GLOB_CURSED_SLOT_MACHINE_WON "cursed_slot_machine_won"
|
|
|
|
|
|
// other subtypes
|
|
|
|
/// from /datum/component/shelved/UnregisterFromParent(): (parent_uid)
|
|
#define COMSIG_SHELF_ITEM_REMOVED "shelf_item_removed"
|
|
/// from /datum/component/shelver/add_item(): (obj/item/to_add, placement_idx, list/position_details)
|
|
#define COMSIG_SHELF_ITEM_ADDED "shelf_item_added"
|
|
/// from Initialize on objects implementing /datum/component/shelved
|
|
#define COMSIG_SHELF_ADDED_ON_MAPLOAD "shelf_added_on_mapload"
|
|
/// from /datum/component/shelver/shelf_items()
|
|
#define COMSIG_SHELF_ATTEMPT_PICKUP "shelf_attempt_pickup"
|
|
#define SHELF_PICKUP_FAILURE (1 << 0)
|