mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
(code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc (#58340)
Co-authored-by: Jared-Fogle <35135081+Mothblocks@users.noreply.github.com> Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
This commit is contained in:
co-authored by
Jared-Fogle
Emmett Gaines
parent
3cabee50b6
commit
08df8798ce
@@ -65,7 +65,11 @@
|
||||
if(mode == RESONATOR_MODE_MATRIX)
|
||||
icon_state = "shield2"
|
||||
name = "resonance matrix"
|
||||
RegisterSignal(src, list(COMSIG_MOVABLE_CROSSED, COMSIG_ATOM_ENTERED), .proc/burst)
|
||||
RegisterSignal(src, COMSIG_ATOM_ENTERED, .proc/burst)
|
||||
var/static/list/loc_connections = list(
|
||||
COMSIG_ATOM_ENTERED = .proc/burst,
|
||||
)
|
||||
AddElement(/datum/element/connect_loc, src, loc_connections)
|
||||
. = ..()
|
||||
creator = set_creator
|
||||
res = set_resonator
|
||||
|
||||
Reference in New Issue
Block a user