Massive code fix to get the codebase ready to compile in BYOND 500

This commit is contained in:
ZomgPonies
2013-09-15 23:58:16 -04:00
parent 9bde25863f
commit 640e38ce23
50 changed files with 461 additions and 459 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ obj/machinery/atmospherics
obj/machinery/atmospherics/var/initialize_directions = 0
obj/machinery/atmospherics/var/color
obj/machinery/atmospherics/var/_color
obj/machinery/atmospherics/process()
build_network()
+17 -17
View File
@@ -186,7 +186,7 @@ obj/machinery/atmospherics/pipe
update_icon()
if(node1&&node2)
var/C = ""
switch(color)
switch(_color)
if ("red") C = "-r"
if ("blue") C = "-b"
if ("cyan") C = "-c"
@@ -252,22 +252,22 @@ obj/machinery/atmospherics/pipe
simple/scrubbers
name="Scrubbers pipe"
color="red"
_color="red"
icon_state = ""
simple/supply
name="Air supply pipe"
color="blue"
_color="blue"
icon_state = ""
simple/supplymain
name="Main air supply pipe"
color="purple"
_color="purple"
icon_state = ""
simple/general
name="Pipe"
color=""
_color=""
icon_state = ""
simple/scrubbers/visible
@@ -304,7 +304,7 @@ obj/machinery/atmospherics/pipe
simple/yellow
name="Pipe"
color="yellow"
_color="yellow"
icon_state = ""
simple/yellow/visible
@@ -697,7 +697,7 @@ obj/machinery/atmospherics/pipe
update_icon()
if(node1&&node2&&node3)
var/C = ""
switch(color)
switch(_color)
if ("red") C = "-r"
if ("blue") C = "-b"
if ("cyan") C = "-c"
@@ -769,27 +769,27 @@ obj/machinery/atmospherics/pipe
manifold/scrubbers
name="Scrubbers pipe"
color="red"
_color="red"
icon_state = ""
manifold/supply
name="Air supply pipe"
color="blue"
_color="blue"
icon_state = ""
manifold/supplymain
name="Main air supply pipe"
color="purple"
_color="purple"
icon_state = ""
manifold/general
name="Air supply pipe"
color="gray"
_color="gray"
icon_state = ""
manifold/yellow
name="Air supply pipe"
color="yellow"
_color="yellow"
icon_state = ""
manifold/scrubbers/visible
@@ -925,7 +925,7 @@ obj/machinery/atmospherics/pipe
overlays.Cut()
if(node1&&node2&&node3&&node4)
var/C = ""
switch(color)
switch(_color)
if ("red") C = "-r"
if ("blue") C = "-b"
if ("cyan") C = "-c"
@@ -980,22 +980,22 @@ obj/machinery/atmospherics/pipe
manifold4w/scrubbers
name="Scrubbers pipe"
color="red"
_color="red"
icon_state = ""
manifold4w/supply
name="Air supply pipe"
color="blue"
_color="blue"
icon_state = ""
manifold4w/supplymain
name="Main air supply pipe"
color="purple"
_color="purple"
icon_state = ""
manifold4w/general
name="Air supply pipe"
color="gray"
_color="gray"
icon_state = ""
manifold4w/scrubbers/visible