mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Fixes a minor goof in powernets from fixing merge conflicts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user