Merge pull request #5751 from Citadel-Station-13/upstream-merge-35968
[MIRROR] Makes machines constructable either anchored or unanchored
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user