mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Rework power outage event (#13117)
* Rework power outage event * Added compile time flag for event fixing itself when it ends * Review Cleanup 1 * Fixed up line ending conflicts * Going whole hog with a side of bacon * Whoops, forgot the sausage and Canadian Bacon * Better messaging and makes APC Overload an offical non-random event * Test merge feedback rework
This commit is contained in:
@@ -244,7 +244,7 @@
|
||||
else if(has_electronics && !terminal)
|
||||
. += "Electronics installed but not wired."
|
||||
else /* if(!has_electronics && !terminal) */
|
||||
. += "There is no electronics nor connected wires."
|
||||
. += "There are no electronics nor connected wires."
|
||||
else
|
||||
if(stat & MAINT)
|
||||
. += "The cover is closed. Something wrong with it: it doesn't work."
|
||||
|
||||
@@ -29,11 +29,6 @@
|
||||
var/output_level_max = 200000 // cap on output_level
|
||||
var/output_used = 0 // amount of power actually outputted. may be less than output_level if the powernet returns excess power
|
||||
|
||||
//Holders for powerout event.
|
||||
var/last_output_attempt = 0
|
||||
var/last_input_attempt = 0
|
||||
var/last_charge = 0
|
||||
|
||||
var/name_tag = null
|
||||
var/obj/machinery/power/terminal/terminal = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user