Basically ripped over /tg/'s powernet and cable code into our own codebase.

Keeps Z-level code as it was.
Modifies/restores powernet procs as necessary to match our own implementation changes.
This commit is contained in:
PsiOmega
2014-10-13 16:47:56 +02:00
parent ef9cc80603
commit a1ee4e766b
24 changed files with 1393 additions and 1183 deletions

View File

@@ -8,7 +8,6 @@ var/global/list/rad_collectors = list()
icon_state = "ca"
anchored = 0
density = 1
directwired = 1
req_access = list(access_engine_equip)
// use_power = 0
var/obj/item/weapon/tank/phoron/P = null
@@ -30,7 +29,7 @@ var/global/list/rad_collectors = list()
//so that we don't zero out the meter if the SM is processed first.
last_power = last_power_new
last_power_new = 0
if(P)
if(P.air_contents.gas["phoron"] == 0)