From 4c97bc84e76158d5f306e95ca4cd729ccb6e3abb Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sun, 1 Apr 2018 23:01:57 -0400 Subject: [PATCH] Merge pull request #36721 from GrayRachnid/fix-crafting-tools Fix crafting tools tooltips --- code/modules/crafting/craft.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/crafting/craft.dm b/code/modules/crafting/craft.dm index 0df1d349ce..1fe1f7bac6 100644 --- a/code/modules/crafting/craft.dm +++ b/code/modules/crafting/craft.dm @@ -419,7 +419,11 @@ data["catalyst_text"] = catalyst_text for(var/a in R.tools) - tool_text += " [a]," + if(ispath(a, /obj/item)) + var/obj/item/b = a + tool_text += " [initial(b.name)]," + else + tool_text += " [a]," tool_text = replacetext(tool_text,",","",-1) data["tool_text"] = tool_text