Files
fulpstation/code/__DEFINES/dcs/signals/signals_storage.dm
John Willard 7199947c08 [MDB IGNORE] [IDB IGNORE] WIP TGU (#1427)
Several months worth of updates.

---------

Co-authored-by: A miscellaneous Fern <80640114+FernandoJ8@users.noreply.github.com>
Co-authored-by: Pepsilawn <reisenrui@gmail.com>
Co-authored-by: Ray <64306407+OneAsianTortoise@users.noreply.github.com>
Co-authored-by: Cure221 <106662180+Cure221@users.noreply.github.com>
2025-11-06 08:20:20 -05:00

24 lines
1.1 KiB
Plaintext

/// Sent when /datum/storage/dump_content_at(): (obj/item/storage_source, mob/user)
#define COMSIG_STORAGE_DUMP_CONTENT "storage_dump_contents"
/// Return to stop the standard dump behavior.
#define STORAGE_DUMP_HANDLED (1<<0)
/// Sent after dumping into some other storage object: (atom/dest_object, mob/user)
#define COMSIG_STORAGE_DUMP_POST_TRANSFER "storage_dump_into_storage"
/// Sent before storing an item (obj/item/being_stored, mob/user, force, messages)
#define COMSIG_ATOM_PRE_STORED_ITEM "atom_pre_storing_item"
/// Return to block the item from being stored.
#define BLOCK_STORAGE_INSERT (1<<0)
/// Fired off the storage's PARENT when an ITEM is STORED INSIDE. (obj/item, mob, force)
#define COMSIG_ATOM_STORED_ITEM "atom_storing_item"
/// Fired off the storage's PARENT when an ITEM is REMOVED. (obj/item, atom, silent)
#define COMSIG_ATOM_REMOVED_ITEM "atom_removing_item"
/// Sent to the STORAGE when an ITEM is STORED INSIDE. (obj/item, mob, force)
#define COMSIG_STORAGE_STORED_ITEM "storage_storing_item"
/// Sent to the STORAGE when an ITEM is REMOVED. (obj/item, atom, silent)
#define COMSIG_STORAGE_REMOVED_ITEM "storage_removing_item"