From 0fe8df804c6f4ae6d1a53336eadcba06db4842a6 Mon Sep 17 00:00:00 2001
From: Shadow-Quill <44811257+Shadow-Quill@users.noreply.github.com>
Date: Fri, 16 Aug 2019 13:09:38 -0500
Subject: [PATCH] Fixes rod check, lowers wires needed to two
---
code/game/machinery/mass_driver.dm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/code/game/machinery/mass_driver.dm b/code/game/machinery/mass_driver.dm
index 3a7315bc1b7..de14dce7d5b 100644
--- a/code/game/machinery/mass_driver.dm
+++ b/code/game/machinery/mass_driver.dm
@@ -160,8 +160,8 @@
var/obj/item/stack/cable_coil/C = W
to_chat(user, "You start adding cables to \the [src]...")
playsound(get_turf(src), C.usesound, 50, 1)
- if(do_after(user, 20 * C.toolspeed, target = src) && (C.amount >= 3) && (build == 2))
- C.use(3)
+ if(do_after(user, 20 * C.toolspeed, target = src) && (C.amount >= 2) && (build == 2))
+ C.use(2)
to_chat(user, "You've added cables to \the [src].")
build++
update_icon()
@@ -169,7 +169,7 @@
if(istype(W, /obj/item/wirecutters))
to_chat(user, "You begin to remove the wiring from \the [src].")
if(do_after(user, 10 * W.toolspeed, target = src) && (build == 3))
- new /obj/item/stack/cable_coil(loc,3)
+ new /obj/item/stack/cable_coil(loc,2)
playsound(get_turf(src), W.usesound, 50, 1)
to_chat(user, "You've removed the cables from \the [src].")
build--
@@ -179,7 +179,7 @@
var/obj/item/stack/rods/R = W
to_chat(user, "You begin to complete \the [src]...")
playsound(get_turf(src), R.usesound, 50, 1)
- if(do_after(user, 20 * R.toolspeed, target = src) && (R.amount >= 3) && (build == 3))
+ if(do_after(user, 20 * R.toolspeed, target = src) && (R.amount >= 2) && (build == 3))
R.use(2)
to_chat(user, "You've added the grille to \the [src].")
build++