From d464e19c43a5e85c3549727e2b2edd16116ec8c7 Mon Sep 17 00:00:00 2001 From: jughu Date: Wed, 29 Mar 2017 20:11:17 +0200 Subject: [PATCH] Update mint.dm --- code/modules/mining/mint.dm | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/code/modules/mining/mint.dm b/code/modules/mining/mint.dm index 95dc3a05f25..b460fc7d467 100644 --- a/code/modules/mining/mint.dm +++ b/code/modules/mining/mint.dm @@ -15,8 +15,6 @@ var/amt_uranium = 0 var/amt_clown = 0 var/amt_mime = 0 - var/amt_adamantine = 0 - var/amt_mythril = 0 var/newCoins = 0 //how many coins the machine made in it's last load var/processing = 0 var/chosen = "metal" //which material will be used to make coins @@ -53,7 +51,7 @@ qdel(O) -/obj/machinery/mineral/mint/attack_hand(user as mob) //TODO: Adamantine coins! -Durandan +/obj/machinery/mineral/mint/attack_hand(user as mob) var/dat = "Coin Press
" @@ -99,11 +97,6 @@ dat += text("chosen") else dat += text("Choose") - dat += text("
Adamantine inserted: [amt_adamantine] ")//I don't even know these color codes, so fuck it. - if(chosen == "adamantine") - dat += text("chosen") - else - dat += text("Choose") dat += text("

Will produce [coinsToProduce] [chosen] coins if enough materials are available.
") //dat += text("The dial which controls the number of conins to produce seems to be stuck. A technician has already been dispatched to fix this.") @@ -199,22 +192,6 @@ newCoins++ src.updateUsrDialog() sleep(5) - if("adamantine") - while(amt_adamantine > 0 && coinsToProduce > 0) - create_coins(/obj/item/weapon/coin/adamantine) - amt_adamantine -= 20 - coinsToProduce-- - newCoins++ - src.updateUsrDialog() - sleep(5) - if("mythril") - while(amt_adamantine > 0 && coinsToProduce > 0) - create_coins(/obj/item/weapon/coin/mythril) - amt_mythril -= 20 - coinsToProduce-- - newCoins++ - src.updateUsrDialog() - sleep(5) icon_state = "coinpress0" processing = 0 coinsToProduce = temp_coins @@ -229,4 +206,4 @@ if(!M) M = new /obj/item/weapon/moneybag(src) unload_mineral(M) - O.loc = M \ No newline at end of file + O.loc = M