Permalink
Browse files

Init rework, SSatoms (#749)

* Rework init process; port SSatoms

* Fix runtimes

* SSoverlays update from aurora

* Fix area init warnings

* Turf/Flood icon efficiency tweaks & double CT fix

* Fuck line endings

* Fix AO

* AO update

* Kill the last of the turf/New()s

* Katydid stellar_location fix

* Now with 100% less compile errors.

* AO fixes

* Maybe fix RTs?

* Fix carpets

* fix RTs for real this time

* insert informative message here
  • Loading branch information...
Lohikar authored and MistakeNot4892 committed Jun 5, 2018
1 parent ac10733 commit e42c385f6007c07d3d96743794155c5f6a29b199
Showing with 1,353 additions and 1,094 deletions.
  1. +10 −1 code/ATMOSPHERICS/atmospherics.dm
  2. +2 −2 code/ATMOSPHERICS/components/binary_devices/binary_atmos_base.dm
  3. +4 −4 code/ATMOSPHERICS/components/binary_devices/circulator.dm
  4. +1 −1 code/ATMOSPHERICS/components/binary_devices/dp_vent_pump.dm
  5. +1 −1 code/ATMOSPHERICS/components/binary_devices/passive_gate.dm
  6. +4 −4 code/ATMOSPHERICS/components/binary_devices/pipeturbine.dm
  7. +1 −1 code/ATMOSPHERICS/components/binary_devices/pump.dm
  8. +2 −2 code/ATMOSPHERICS/components/omni_devices/_omni_extras.dm
  9. +1 −1 code/ATMOSPHERICS/components/omni_devices/omni_base.dm
  10. +1 −1 code/ATMOSPHERICS/components/portables_connector.dm
  11. +2 −2 code/ATMOSPHERICS/components/trinary_devices/filter.dm
  12. +2 −2 code/ATMOSPHERICS/components/trinary_devices/mixer.dm
  13. +2 −2 code/ATMOSPHERICS/components/trinary_devices/trinary_base.dm
  14. +4 −4 code/ATMOSPHERICS/components/tvalve.dm
  15. +1 −1 code/ATMOSPHERICS/components/unary/cold_sink.dm
  16. +1 −1 code/ATMOSPHERICS/components/unary/heat_exchanger.dm
  17. +1 −1 code/ATMOSPHERICS/components/unary/heat_source.dm
  18. +2 −2 code/ATMOSPHERICS/components/unary/outlet_injector.dm
  19. +2 −2 code/ATMOSPHERICS/components/unary/unary_base.dm
  20. +1 −1 code/ATMOSPHERICS/components/unary/vent_pump.dm
  21. +1 −1 code/ATMOSPHERICS/components/unary/vent_scrubber.dm
  22. +2 −2 code/ATMOSPHERICS/components/valve.dm
  23. +2 −2 code/ATMOSPHERICS/he_pipes.dm
  24. +10 −10 code/ATMOSPHERICS/mainspipe.dm
  25. +6 −6 code/ATMOSPHERICS/pipes.dm
  26. +3 −0 code/__defines/master_controller.dm
  27. +7 −0 code/__defines/misc.dm
  28. +40 −1 code/__defines/subsystem-defines.dm
  29. +11 −10 code/__defines/subsystem-priority.dm
  30. +1 −1 code/_helpers/unsorted.dm
  31. +3 −10 code/_onclick/hud/hud.dm
  32. +43 −0 code/controllers/subsystems/ao.dm
  33. +11 −6 code/controllers/subsystems/icon_updates.dm
  34. +168 −0 code/controllers/subsystems/initialization/atoms.dm
  35. +42 −0 code/controllers/subsystems/initialization/early_misc.dm
  36. +50 −0 code/controllers/subsystems/initialization/late_misc.dm
  37. +0 −104 code/controllers/subsystems/initialization/legacy_init.dm
  38. +46 −20 code/controllers/subsystems/overlays.dm
  39. +1 −11 code/controllers/subsystems/turbolift.dm
  40. +15 −13 code/game/area/_area.dm
  41. +0 −6 code/game/atoms.dm
  42. +55 −0 code/game/atoms_init.dm
  43. +0 −4 code/game/atoms_movable.dm
  44. +0 −10 code/game/atoms_movable_init.dm
  45. +2 −2 code/game/gamemodes/endgame/supermatter_cascade/blob.dm
  46. +4 −5 code/game/machinery/Sleeper.dm
  47. +4 −2 code/game/machinery/alarm.dm
  48. +4 −3 code/game/machinery/atmo_control.dm
  49. +7 −15 code/game/machinery/atmoalter/meter.dm
  50. +9 −7 code/game/machinery/atmoalter/portable_atmospherics.dm
  51. +2 −5 code/game/machinery/atmoalter/scrubber.dm
  52. +4 −4 code/game/machinery/bioprinter.dm
  53. +6 −6 code/game/machinery/buttons.dm
  54. +2 −2 code/game/machinery/computer/atmos_alert.dm
  55. +3 −2 code/game/machinery/computer/computer.dm
  56. +1 −1 code/game/machinery/computer/message.dm
  57. +2 −2 code/game/machinery/computer/station_alert.dm
  58. +1 −1 code/game/machinery/cryo.dm
  59. +2 −2 code/game/machinery/cryopod.dm
  60. +2 −2 code/game/machinery/doors/airlock.dm
  61. +6 −14 code/game/machinery/doors/airlock_control.dm
  62. +2 −2 code/game/machinery/doors/alarmlock.dm
  63. +2 −2 code/game/machinery/doors/blast_door.dm
  64. +2 −2 code/game/machinery/embedded_controller/airlock_controllers_dummy.dm
  65. +2 −2 code/game/machinery/embedded_controller/airlock_docking_controller_multi.dm
  66. +3 −2 code/game/machinery/embedded_controller/embedded_controller_base.dm
  67. +2 −2 code/game/machinery/flasher.dm
  68. +3 −3 code/game/machinery/holosign.dm
  69. +4 −4 code/game/machinery/igniter.dm
  70. +3 −3 code/game/machinery/kitchen/icecream.dm
  71. +4 −3 code/game/machinery/lightswitch.dm
  72. +0 −1 code/game/machinery/machinery.dm
  73. +2 −2 code/game/machinery/mass_driver.dm
  74. +3 −3 code/game/machinery/mineral/_mineral.dm
  75. +2 −2 code/game/machinery/mineral/mineral_console.dm
  76. +3 −3 code/game/machinery/mineral/mineral_processor.dm
  77. +2 −6 code/game/machinery/mineral/mineral_stacker.dm
  78. +5 −9 code/game/machinery/nuclear_bomb.dm
  79. +119 −119 code/game/machinery/pipe/construction.dm
  80. +3 −3 code/game/machinery/status_display.dm
  81. +2 −1 code/game/machinery/telecomms/telecomunications.dm
  82. +2 −2 code/game/machinery/teleporter.dm
  83. +2 −2 code/game/machinery/turret_control.dm
  84. +7 −8 code/game/objects/effects/decay.dm
  85. +2 −3 code/game/objects/effects/landmarks.dm
  86. +13 −13 code/game/objects/items/devices/PDA/cart.dm
  87. +2 −1 code/game/objects/items/devices/PDA/radio.dm
  88. +1 −5 code/game/objects/items/devices/flashlight.dm
  89. +2 −3 code/game/objects/items/devices/radio/radio.dm
  90. +3 −7 code/game/objects/items/magazines/magazine.dm
  91. +2 −2 code/game/objects/items/weapons/circuitboards/machinery/unary_atmos.dm
  92. +0 −1 code/game/objects/items/weapons/flame/_flame.dm
  93. +1 −1 code/game/objects/items/weapons/flame/flame_lighter.dm
  94. +3 −4 code/game/objects/items/weapons/policetape.dm
  95. +5 −8 code/game/objects/items/weapons/tools.dm
  96. +4 −6 code/game/objects/random/random.dm
  97. +2 −3 code/game/objects/structures/crates_lockers/closets.dm
  98. +2 −3 code/game/objects/structures/crates_lockers/largecrate.dm
  99. +2 −3 code/game/objects/structures/morgue.dm
  100. +3 −3 code/game/objects/structures/noticeboard.dm
  101. +6 −10 code/game/objects/structures/pit.dm
  102. +6 −8 code/game/objects/structures/railing.dm
  103. +5 −6 code/game/objects/structures/safe.dm
  104. +0 −1 code/game/objects/structures/signs/_sign_structure.dm
  105. +2 −2 code/game/objects/structures/signs/signs_barsign.dm
  106. +2 −3 code/game/objects/structures/window_spawner.dm
  107. +5 −6 code/game/turfs/flooring/flooring_decals.dm
  108. +19 −15 code/game/turfs/flooring/flooring_premade.dm
  109. +1 −2 code/game/turfs/initialization/init.dm
  110. +6 −6 code/game/turfs/natural/natural.dm
  111. +4 −4 code/game/turfs/natural/ocean.dm
  112. +3 −3 code/game/turfs/simulated.dm
  113. +9 −5 code/game/turfs/simulated/floor.dm
  114. +17 −17 code/game/turfs/simulated/floor_icon.dm
  115. +4 −3 code/game/turfs/simulated/mineral/mineral.dm
  116. +12 −8 code/game/turfs/simulated/wall_icon.dm
  117. +4 −4 code/game/turfs/simulated/wall_shuttle.dm
  118. +36 −24 code/game/turfs/simulated/wall_types.dm
  119. +2 −2 code/game/turfs/simulated/walls.dm
  120. +32 −28 code/game/turfs/turf.dm
  121. +78 −56 code/game/turfs/turf_ao.dm
  122. +3 −0 code/game/turfs/turf_changing.dm
  123. +3 −3 code/game/turfs/unsimulated/beach.dm
  124. +1 −1 code/modules/awaymissions/corpse.dm
  125. +5 −8 code/modules/awaymissions/gateway.dm
  126. +1 −1 code/modules/awaymissions/loot.dm
  127. +2 −3 code/modules/blob/blob.dm
  128. +2 −3 code/modules/butchery/remains.dm
  129. +3 −5 code/modules/cargo/cargo_beacon.dm
  130. +3 −3 code/modules/cargo/cargo_console.dm
  131. +8 −8 code/modules/clothing/glasses/glasses.dm
  132. +2 −3 code/modules/clothing/head/hats_costume.dm
  133. +3 −4 code/modules/clothing/spacesuits/_spacesuits.dm
  134. +3 −4 code/modules/clothing/suits/suits.dm
  135. +7 −2 code/modules/error_handler/error_handler.dm
  136. +2 −3 code/modules/fire/fire_sources.dm
  137. +3 −4 code/modules/flora/flora_seaweed.dm
  138. +4 −5 code/modules/fluids/fluid_overlay.dm
  139. +11 −10 code/modules/fluids/fluid_turf.dm
  140. +0 −1 code/modules/guns/ammo/ammo_casing.dm
  141. +3 −4 code/modules/guns/components/accessories/chamber/flashlight.dm
  142. +5 −4 code/modules/holodeck/HolodeckObjects.dm
  143. +3 −3 code/modules/hydroponics/seed_storage.dm
  144. +5 −5 code/modules/library/lib_items.dm
  145. +1 −0 code/modules/locations/_location.dm
  146. +0 −7 code/modules/maps/reader.dm
  147. +3 −6 code/modules/materials/material_ores.dm
  148. +2 −1 code/modules/mob/living/bot/secbot.dm
  149. +1 −1 code/modules/mob/living/silicon/decoy/decoy.dm
  150. +2 −2 code/modules/mob/mechs/components/body.dm
  151. +3 −1 code/modules/mob/mob.dm
  152. +1 −2 code/modules/mob/mob_defines.dm
  153. +2 −3 code/modules/mob/new_player/login.dm
  154. +0 −5 code/modules/mob/observer/freelook/update_triggers.dm
  155. +2 −2 code/modules/multiz/openspace_turf.dm
  156. +3 −3 code/modules/multiz/pipes.dm
  157. +5 −4 code/modules/multiz/structures.dm
  158. +2 −2 code/modules/overmap/_defines.dm
  159. +2 −2 code/modules/overmap/combat/target_landmark.dm
  160. +4 −5 code/modules/overmap/sectors.dm
  161. +2 −2 code/modules/overmap/ships/computers/engine_control.dm
  162. +2 −2 code/modules/overmap/ships/computers/helm.dm
  163. +1 −1 code/modules/overmap/ships/computers/weapon.dm
  164. +3 −3 code/modules/overmap/ships/engines/electric.dm
  165. +3 −3 code/modules/overmap/ships/engines/thermal.dm
  166. +3 −3 code/modules/overmap/ships/ship.dm
  167. +2 −2 code/modules/overmap/ships/weapons/_weapon.dm
  168. +2 −2 code/modules/overmap/ships/weapons/weapon_energy.dm
  169. +1 −1 code/modules/overmap/ships/weapons/weapon_torpedo_launcher.dm
  170. +2 −3 code/modules/overmap/ships/weapons/weapon_torpedo_loader.dm
  171. +2 −2 code/modules/paperwork/faxmachine.dm
  172. +3 −3 code/modules/paperwork/filingcabinet.dm
  173. +2 −4 code/modules/persistence/graffiti/graffiti_decal.dm
  174. +1 −2 code/modules/pharmacy/pharmacy_bottles.dm
  175. +9 −9 code/modules/pharmacy/pharmacy_bottles_premade.dm
  176. +2 −4 code/modules/pharmacy/pharmacy_pillbottles.dm
  177. +1 −3 code/modules/pharmacy/pharmacy_pills.dm
  178. +24 −24 code/modules/pharmacy/pharmacy_pills_premade.dm
  179. +1 −2 code/modules/pharmacy/pharmacy_syringes.dm
  180. +6 −6 code/modules/pharmacy/pharmacy_syringes_premade.dm
  181. +0 −6 code/modules/planar_lighting/light_atom.dm
  182. +2 −2 code/modules/planar_lighting/light_effect.dm
  183. +1 −5 code/modules/planar_lighting/light_item.dm
  184. +2 −1 code/modules/power/apc.dm
  185. +3 −2 code/modules/power/breaker_box.dm
  186. +2 −6 code/modules/power/cell.dm
  187. +2 −2 code/modules/power/fusion/core/_core.dm
  188. +1 −2 code/modules/power/fusion/fuel_assembly/fuel_assembly.dm
  189. +2 −2 code/modules/power/fusion/gyrotron/gyrotron.dm
  190. +2 −2 code/modules/power/geothermal/_geothermal.dm
  191. +2 −2 code/modules/power/lighting.dm
  192. +2 −2 code/modules/power/port_gen.dm
  193. +2 −2 code/modules/power/singularity/emitter.dm
  194. +7 −6 code/modules/power/solar.dm
  195. +2 −2 code/modules/psychics/null/turf_wall.dm
  196. +2 −3 code/modules/reagents/reagent_containers/food/snacks/meat.dm
  197. +4 −5 code/modules/shuttles/landmarks.dm
  198. +1 −1 code/modules/shuttles/shuttle_console.dm
  199. +2 −2 code/modules/tables/rack.dm
  200. +2 −3 code/modules/tables/tables.dm
  201. +3 −4 code/modules/turbolift/turbolift_console.dm
  202. +1 −1 code/modules/turbolift/turbolift_map.dm
  203. +2 −2 code/modules/turbolift/turbolift_turfs.dm
  204. +1 −5 code/modules/vehicles/bike.dm
  205. +2 −1 code/modules/vehicles/train.dm
  206. +2 −6 code/modules/vehicles/vehicle.dm
  207. +5 −2 europa.dme
  208. +3 −3 maps/katydid/katydid_define.dm
  209. +1 −3 maps/~mapsystem/maps_verbs.dm
  210. +1 −2 maps_wip/aeolus/aeolus_clothing.dm
@@ -42,6 +42,15 @@ Pipelines + Other Objects -> Pipe network
pipe_color = null
..()
/obj/machinery/atmospherics/Initialize(mapload)
. = ..()
if (mapload) // If mapload, chain to atmos_init() as well to emulate the old init system.
atmos_init()
// Optimally this wouldn't be needed, but it would take a crazier man than I to refactor atmos machinery code. This is NOT equivalent to Initialize()!
// Unlike Initialize(), this may be called multiple times or in weird spots.
/obj/machinery/atmospherics/proc/atmos_init()
/obj/machinery/atmospherics/attackby(atom/A, var/mob/user)
if(istype(A, /obj/item/pipe_painter))
return
@@ -122,4 +131,4 @@ obj/machinery/atmospherics/proc/check_connect_types(obj/machinery/atmospherics/a
/obj/machinery/atmospherics/proc/disconnect(obj/machinery/atmospherics/reference)
/obj/machinery/atmospherics/update_icon()
return null
return null
@@ -56,7 +56,7 @@ obj/machinery/atmospherics/binary
return ..()
initialize()
atmos_init()
if(node1 && node2) return
var/node2_connect = dir
@@ -130,4 +130,4 @@ obj/machinery/atmospherics/binary
update_icon()
update_underlays()
return null
return null
@@ -101,13 +101,13 @@
else if(dir & (EAST|WEST))
initialize_directions = EAST|WEST
initialize()
atmos_init()
build_network()
if (node1)
node1.initialize()
node1.atmos_init()
node1.build_network()
if (node2)
node2.initialize()
node2.atmos_init()
node2.build_network()
else
if(node1)
@@ -144,4 +144,4 @@
return
src.set_dir(turn(src.dir, -90))
desc = initial(desc) + " Its outlet port is to the [dir2text(dir)]."
desc = initial(desc) + " Its outlet port is to the [dir2text(dir)]."
@@ -189,7 +189,7 @@
return 1
/obj/machinery/atmospherics/binary/dp_vent_pump/initialize()
/obj/machinery/atmospherics/binary/dp_vent_pump/atmos_init()
..()
if(frequency)
set_frequency(frequency)
@@ -127,7 +127,7 @@
return 1
/obj/machinery/atmospherics/binary/passive_gate/initialize()
/obj/machinery/atmospherics/binary/passive_gate/atmos_init()
..()
if(frequency)
set_frequency(frequency)
@@ -96,13 +96,13 @@
else if(dir & (EAST|WEST))
initialize_directions = NORTH|SOUTH
initialize()
atmos_init()
build_network()
if (node1)
node1.initialize()
node1.atmos_init()
node1.build_network()
if (node2)
node2.initialize()
node2.atmos_init()
node2.build_network()
else
if(node1)
@@ -154,7 +154,7 @@
return null
initialize()
atmos_init()
if(node1 && node2) return
var/node2_connect = turn(dir, -90)
@@ -143,7 +143,7 @@ Thus, the two variables affect pump operation are set in New():
ui.open() // open the new ui window
ui.set_auto_update(1) // auto update every Master Controller tick
/obj/machinery/atmospherics/binary/pump/initialize()
/obj/machinery/atmospherics/binary/pump/atmos_init()
..()
if(frequency)
set_frequency(frequency)
@@ -41,10 +41,10 @@
/datum/omni_port/proc/connect()
if(node)
return
master.initialize()
master.atmos_init()
master.build_network()
if(node)
node.initialize()
node.atmos_init()
node.build_network()
/datum/omni_port/proc/disconnect()
@@ -236,7 +236,7 @@
return ..()
/obj/machinery/atmospherics/omni/initialize()
/obj/machinery/atmospherics/omni/atmos_init()
for(var/datum/omni_port/P in ports)
if(P.node || P.mode == 0)
continue
@@ -74,7 +74,7 @@
return ..()
/obj/machinery/atmospherics/portables_connector/initialize()
/obj/machinery/atmospherics/portables_connector/atmos_init()
if(node) return
var/node_connect = dir
@@ -118,7 +118,7 @@
return 1
/obj/machinery/atmospherics/trinary/filter/initialize()
/obj/machinery/atmospherics/trinary/filter/atmos_init()
set_frequency(frequency)
..()
@@ -243,7 +243,7 @@ obj/machinery/atmospherics/trinary/filter/m_filter/New()
if(WEST)
initialize_directions = WEST|SOUTH|EAST
/obj/machinery/atmospherics/trinary/filter/m_filter/initialize()
/obj/machinery/atmospherics/trinary/filter/m_filter/atmos_init()
set_frequency(frequency)
if(node1 && node2 && node3) return
@@ -189,7 +189,7 @@ obj/machinery/atmospherics/trinary/mixer/t_mixer/New()
if(WEST)
initialize_directions = WEST|NORTH|SOUTH
obj/machinery/atmospherics/trinary/mixer/t_mixer/initialize()
obj/machinery/atmospherics/trinary/mixer/t_mixer/atmos_init()
..()
if(node1 && node2 && node3) return
@@ -235,7 +235,7 @@ obj/machinery/atmospherics/trinary/mixer/m_mixer/New()
if(WEST)
initialize_directions = WEST|SOUTH|EAST
obj/machinery/atmospherics/trinary/mixer/m_mixer/initialize()
obj/machinery/atmospherics/trinary/mixer/m_mixer/atmos_init()
..()
if(node1 && node2 && node3) return
@@ -69,7 +69,7 @@ obj/machinery/atmospherics/trinary
return ..()
initialize()
atmos_init()
if(node1 && node2 && node3) return
var/node1_connect = turn(dir, -180)
@@ -164,4 +164,4 @@ obj/machinery/atmospherics/trinary
update_underlays()
return null
return null
@@ -186,7 +186,7 @@
return
/obj/machinery/atmospherics/tvalve/initialize()
/obj/machinery/atmospherics/tvalve/atmos_init()
var/node1_dir
var/node2_dir
var/node3_dir
@@ -314,7 +314,7 @@
/obj/machinery/atmospherics/tvalve/digital/initialize()
/obj/machinery/atmospherics/tvalve/digital/atmos_init()
..()
if(frequency)
set_frequency(frequency)
@@ -378,7 +378,7 @@
if(WEST)
initialize_directions = EAST|WEST|SOUTH
/obj/machinery/atmospherics/tvalve/mirrored/initialize()
/obj/machinery/atmospherics/tvalve/mirrored/atmos_init()
var/node1_dir
var/node2_dir
var/node3_dir
@@ -446,7 +446,7 @@
if(frequency)
radio_connection = radio_controller.add_object(src, frequency, RADIO_ATMOSIA)
/obj/machinery/atmospherics/tvalve/mirrored/digital/initialize()
/obj/machinery/atmospherics/tvalve/mirrored/digital/atmos_init()
..()
if(frequency)
set_frequency(frequency)
@@ -32,7 +32,7 @@
component_parts += new /obj/item/stack/cable_coil(src, 2)
RefreshParts()
/obj/machinery/atmospherics/unary/freezer/initialize()
/obj/machinery/atmospherics/unary/freezer/atmos_init()
if(node)
return
@@ -18,7 +18,7 @@
return
initialize()
atmos_init()
if(!partner)
var/partner_connect = turn(dir,180)
@@ -33,7 +33,7 @@
RefreshParts()
/obj/machinery/atmospherics/unary/heater/initialize()
/obj/machinery/atmospherics/unary/heater/atmos_init()
if(node)
return
@@ -112,7 +112,7 @@
return 1
/obj/machinery/atmospherics/unary/outlet_injector/initialize()
/obj/machinery/atmospherics/unary/outlet_injector/atmos_init()
..()
set_frequency(frequency)
@@ -145,4 +145,4 @@
update_icon()
/obj/machinery/atmospherics/unary/outlet_injector/hide(var/i)
update_underlays()
update_underlays()
@@ -39,7 +39,7 @@
return ..()
initialize()
atmos_init()
if(node) return
var/node_connect = dir
@@ -90,4 +90,4 @@
update_icon()
update_underlays()
return null
return null
@@ -251,7 +251,7 @@
return 1
/obj/machinery/atmospherics/unary/vent_pump/initialize()
/obj/machinery/atmospherics/unary/vent_pump/atmos_init()
..()
//some vents work his own special way
@@ -115,7 +115,7 @@
return 1
/obj/machinery/atmospherics/unary/vent_scrubber/initialize()
/obj/machinery/atmospherics/unary/vent_scrubber/atmos_init()
..()
radio_filter_in = frequency==initial(frequency)?(RADIO_FROM_AIRALARM):null
radio_filter_out = frequency==initial(frequency)?(RADIO_TO_AIRALARM):null
@@ -143,7 +143,7 @@
return
/obj/machinery/atmospherics/valve/initialize()
/obj/machinery/atmospherics/valve/atmos_init()
normalize_dir()
var/node1_dir
@@ -258,7 +258,7 @@
if(frequency)
radio_connection = radio_controller.add_object(src, frequency, RADIO_ATMOSIA)
/obj/machinery/atmospherics/valve/digital/initialize()
/obj/machinery/atmospherics/valve/digital/atmos_init()
..()
if(frequency)
set_frequency(frequency)
@@ -24,7 +24,7 @@ obj/machinery/atmospherics/pipe/simple/heat_exchanging
// BubbleWrap END
color = "#404040" //we don't make use of the fancy overlay system for colours, use this to set the default.
initialize()
atmos_init()
normalize_dir()
var/node1_dir
var/node2_dir
@@ -131,7 +131,7 @@ obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction
initialize_directions_he = WEST
// BubbleWrap END
initialize()
atmos_init()
for(var/obj/machinery/atmospherics/target in get_step(src,initialize_directions))
if(target.initialize_directions & get_dir(target,src))
node1 = target
Oops, something went wrong.

0 comments on commit e42c385

Please sign in to comment.