mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
[MIRROR] MODsuit module update: clamp nerf, replacement of holster and pepper spray modules, some tweaks to suit starting modules [MDB IGNORE] (#12783)
* MODsuit module update: clamp nerf, replacement of holster and pepper spray modules, some tweaks to suit starting modules * Update mod_control.dm * fixes * fix2 Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
This commit is contained in:
@@ -23,9 +23,13 @@
|
||||
. = COMPONENT_OVERRIDE_POWER_USAGE
|
||||
|
||||
/obj/item/mod/module/circuit/on_install()
|
||||
if(!shell?.attached_circuit)
|
||||
return
|
||||
RegisterSignal(shell?.attached_circuit, COMSIG_CIRCUIT_PRE_POWER_USAGE, .proc/override_power_usage)
|
||||
|
||||
/obj/item/mod/module/circuit/on_uninstall()
|
||||
/obj/item/mod/module/circuit/on_uninstall(deleting = FALSE)
|
||||
if(!shell?.attached_circuit)
|
||||
return
|
||||
UnregisterSignal(shell?.attached_circuit, COMSIG_CIRCUIT_PRE_POWER_USAGE)
|
||||
|
||||
/obj/item/mod/module/circuit/on_use()
|
||||
|
||||
Reference in New Issue
Block a user