Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electric Welder & Cell Component #3519

Merged
merged 15 commits into from
Dec 7, 2024
Prev Previous commit
Next Next commit
Oops
  • Loading branch information
thgvr committed Oct 10, 2024
commit c786dd22acc2560e42110265c50a6db95cd01db2
8 changes: 4 additions & 4 deletions code/datums/components/cell_component.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ component_cell_out_of_charge/component_cell_removed proc using loc where necessa

/datum/component/cell/RegisterWithParent()
//Component to Parent signal registries
RegisterSignal(parent, COMSIG_ITEM_POWER_USE, .proc/simple_power_use)
RegisterSignal(parent, COMSIG_PARENT_ATTACKBY, .proc/insert_cell)
RegisterSignal(parent, COMSIG_CLICK_CTRL_SHIFT , .proc/remove_cell)
RegisterSignal(parent, COMSIG_PARENT_EXAMINE, .proc/examine_cell)
RegisterSignal(parent, COMSIG_ITEM_POWER_USE, PROC_REF(simple_power_use))
RegisterSignal(parent, COMSIG_PARENT_ATTACKBY, PROC_REF(insert_cell))
RegisterSignal(parent, COMSIG_CLICK_CTRL_SHIFT , PROC_REF(remove_cell))
RegisterSignal(parent, COMSIG_PARENT_EXAMINE, PROC_REF(examine_cell))

/datum/component/cell/UnregisterFromParent()
UnregisterSignal(parent, COMSIG_ITEM_POWER_USE)
Expand Down
Loading