From a44718f5e5327dfd248f0ef3be3a61b4c3a38f91 Mon Sep 17 00:00:00 2001 From: Kyep <16434066+Kyep@users.noreply.github.com> Date: Tue, 24 Sep 2019 22:11:29 +0000 Subject: [PATCH] Fixes incorrect names of syndie/antag coins (#12362) --- code/modules/mining/ores_coins.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/ores_coins.dm b/code/modules/mining/ores_coins.dm index 120dacad800..c86582c183b 100644 --- a/code/modules/mining/ores_coins.dm +++ b/code/modules/mining/ores_coins.dm @@ -322,6 +322,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\ var/string_attached var/list/sideslist = list("heads","tails") var/cmineral = null + var/name_by_cmineral = TRUE var/cooldown = 0 var/credits = 10 @@ -330,7 +331,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\ pixel_y = rand(0,8)-8 icon_state = "coin_[cmineral]_[sideslist[1]]" - if(cmineral) + if(cmineral && name_by_cmineral) name = "[cmineral] coin" /obj/item/coin/gold @@ -405,6 +406,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\ desc = "A novelty coin that helps the heart know what hard evidence cannot prove." sideslist = list("valid", "salad") credits = 20 + name_by_cmineral = FALSE /obj/item/coin/antagtoken/syndicate name = "syndicate coin"