Shuttle refactor (#2171)

Rewrites the area movement code used by shuttles & elevators in an effort to make it faster, more extensible, and generally easier to read. Also fixes some bugs relating to lighting & moving areas, such as lighting overlays suddenly being teleported into space for absolutely no reason.

Fixes #2161.
Fixes #2166.
This commit is contained in:
Lohikar
2017-05-05 10:16:53 +03:00
committed by skull132
parent a14654b197
commit 52a4f3a4e3
14 changed files with 204 additions and 292 deletions
+4
View File
@@ -201,6 +201,10 @@ var/list/possible_cable_coil_colours = list(
return 1
return 0
/obj/structure/cable/shuttle_move(turf/loc)
..()
SSmachinery.powernet_update_queued = TRUE
//explosion handling
/obj/structure/cable/ex_act(severity)
switch(severity)