mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Refactors Beams to use signals: Revived from 2019 edition! BONUS: Medbeams are also refactored to use signals (#55193)
Huge removal of dead vars, bad timers, and other sloppy jitteriness from beams. They go from checking movement to waiting for a signal. VARIABLE KILL LIST: sleep_time: signals baby finished: signals BAYBEEE target_oldloc: not only not typecasted as a turf or named as a turf, it was unused. when are we going to use this? the beam starts from the origin! origin_oldloc: bad name, not typecasted. renamed to originturf static_beam: how are you an unused variable and still get replaced by signals like really timing_id: signallllss bbbaaaabbyy recalculating: you get the drill by now signals baby base_icon: unused, seemingly replaced by visuals I think
This commit is contained in:
@@ -413,7 +413,7 @@
|
||||
|
||||
/obj/projectile/hook/fire(setAngle)
|
||||
if(firer)
|
||||
chain = firer.Beam(src, icon_state = "chain", time = INFINITY, maxdistance = INFINITY)
|
||||
chain = firer.Beam(src, icon_state = "chain")
|
||||
..()
|
||||
//TODO: root the firer until the chain returns
|
||||
|
||||
|
||||
Reference in New Issue
Block a user