mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
* master files code formatting standards * replace spaces with tabs IN MASTER FILES and add spaces after comments
10 lines
372 B
Plaintext
10 lines
372 B
Plaintext
/obj/item
|
|
/// How much power would this item use?
|
|
var/power_use_amount = POWER_CELL_USE_NORMAL
|
|
|
|
|
|
/// Use the power of an attached component that posesses power handling, will return the signal bitflag.
|
|
/obj/item/proc/item_use_power(use_amount, mob/user, check_only)
|
|
SHOULD_CALL_PARENT(TRUE)
|
|
return SEND_SIGNAL(src, COMSIG_ITEM_POWER_USE, use_amount, user, check_only)
|