Powersink fix

This commit is contained in:
Anewbe
2016-09-17 01:12:05 -05:00
parent 268303257d
commit 70987178bd
2 changed files with 37 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
var/apc_drain_rate = 5000 // Max. amount drained from single APC. In Watts.
var/dissipation_rate = 20000 // Passive dissipation of drained power. In Watts.
var/power_drained = 0 // Amount of power drained.
var/max_power = 5e9 // Detonation point.
var/max_power = 1e9 // Detonation point.
var/mode = 0 // 0 = off, 1=clamped (off), 2=operating
var/drained_this_tick = 0 // This is unfortunately necessary to ensure we process powersinks BEFORE other machinery such as APCs.