diff --git a/code/modules/power/powernet.dm b/code/modules/power/powernet.dm index e811ffeafc8..ac2b5ea3985 100644 --- a/code/modules/power/powernet.dm +++ b/code/modules/power/powernet.dm @@ -1,7 +1,17 @@ //////////////////////////////////////////// -// POWERNET DATUM PROCS +// POWERNET DATUM // each contiguous network of cables & nodes -//////////////////////////////////////////// +///////////////////////////////////// +/datum/powernet + var/list/cables = list() // all cables & junctions + var/list/nodes = list() // all connected machines + + var/load = 0 // the current load on the powernet, increased by each machine at processing + var/newavail = 0 // what available power was gathered last tick, then becomes... + var/avail = 0 //...the current available power in the powernet + var/viewload = 0 // the load as it appears on the power console (gradually updated) + var/number = 0 // Unused //TODEL + var/netexcess = 0 // excess power on the powernet (typically avail-load)/////// /datum/powernet/New() SSpower.powernets += src