mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-21 20:26:48 +01:00
Merge pull request #4153 from Neerti/10/24/2017_apc_lives_matter
Removes passive APC destruction from hacked SMES
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
// Proc: process()
|
||||
// Parameters: None
|
||||
// Description: Uses parent process, but if grounding wire is cut causes sparks to fly around.
|
||||
// This also causes the SMES to quickly discharge, and has small chance of damaging output APCs.
|
||||
// This also causes the SMES to quickly discharge, and has small chance of breaking lights connected to APCs in the powernet.
|
||||
/obj/machinery/power/smes/buildable/process()
|
||||
if(!grounding && (Percentage() > 5))
|
||||
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
|
||||
@@ -93,7 +93,7 @@
|
||||
s.start()
|
||||
charge -= (output_level_max * SMESRATE)
|
||||
if(prob(1)) // Small chance of overload occuring since grounding is disabled.
|
||||
apcs_overload(5,10)
|
||||
apcs_overload(0,10)
|
||||
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user