From 8f437c8e03d4252eedc616db769c06480afa950d Mon Sep 17 00:00:00 2001
From: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Date: Sun, 19 Jan 2020 01:26:49 -0500
Subject: [PATCH] Actually adds the RSF sprite to the Rapid Service Fabricator
(#48847)
* Initial commit, yehaw
* Can't forget borgs
---
code/game/objects/items/RSF.dm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/code/game/objects/items/RSF.dm b/code/game/objects/items/RSF.dm
index 1c497b94a7c..426d3ea61da 100644
--- a/code/game/objects/items/RSF.dm
+++ b/code/game/objects/items/RSF.dm
@@ -7,7 +7,7 @@ RSF
name = "\improper Rapid-Service-Fabricator"
desc = "A device used to rapidly deploy service items."
icon = 'icons/obj/tools.dmi'
- icon_state = "rcd"
+ icon_state = "rsf"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
opacity = 0
@@ -35,6 +35,7 @@ RSF
matter += 10
playsound(src.loc, 'sound/machines/click.ogg', 10, TRUE)
to_chat(user, "The RSF now holds [matter]/30 fabrication-units.")
+ icon_state = "rsf"
else
return ..()
@@ -69,9 +70,11 @@ RSF
var/mob/living/silicon/robot/R = user
if(!R.cell || R.cell.charge < 200)
to_chat(user, "You do not have enough power to use [src].")
+ icon_state = "rsf_empty"
return
else if (matter < 1)
to_chat(user, "\The [src] doesn't have enough matter left.")
+ icon_state = "rsf_empty"
return
var/turf/T = get_turf(A)