Merge pull request #5751 from Citadel-Station-13/upstream-merge-35968

[MIRROR] Makes machines constructable either anchored or unanchored
This commit is contained in:
LetterJay
2018-03-03 15:06:37 -06:00
committed by GitHub
4 changed files with 32 additions and 2 deletions

View File

@@ -36,6 +36,10 @@
zap_cooldown -= (C.rating * 20)
input_power_multiplier = power_multiplier
/obj/machinery/power/tesla_coil/on_construction()
if(anchored)
connect_to_network()
/obj/machinery/power/tesla_coil/default_unfasten_wrench(mob/user, obj/item/I, time = 20)
. = ..()
if(. == SUCCESSFUL_UNFASTEN)