/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_material_container.dm

COMSIG_MATCONTAINER_MAT_CHECKCalled from datum/component/material_container/proc/can_hold_material() : (mat)
COMSIG_MATCONTAINER_PRE_USER_INSERTCalled from datum/component/material_container/proc/user_insert() : (target_item, user)
COMSIG_MATCONTAINER_ITEM_CONSUMEDCalled from datum/component/material_container/proc/insert_item() : (item, primary_mat, mats_consumed, material_amount, context)
COMSIG_MATCONTAINER_SHEETS_RETRIEVEDCalled from datum/component/material_container/proc/retrieve_sheets() : (new_sheets, context)
COMSIG_SILO_ITEM_CONSUMEDCalled from /obj/machinery/ore_silo/on_item_consumed() : (container, item_inserted, last_inserted_id, mats_consumed, amount_inserted)

Define Details

COMSIG_MATCONTAINER_ITEM_CONSUMED

Called from datum/component/material_container/proc/insert_item() : (item, primary_mat, mats_consumed, material_amount, context)

COMSIG_MATCONTAINER_MAT_CHECK

Called from datum/component/material_container/proc/can_hold_material() : (mat)

COMSIG_MATCONTAINER_PRE_USER_INSERT

Called from datum/component/material_container/proc/user_insert() : (target_item, user)

COMSIG_MATCONTAINER_SHEETS_RETRIEVED

Called from datum/component/material_container/proc/retrieve_sheets() : (new_sheets, context)

COMSIG_SILO_ITEM_CONSUMED

Called from /obj/machinery/ore_silo/on_item_consumed() : (container, item_inserted, last_inserted_id, mats_consumed, amount_inserted)