From 472dd167acd119250ac2ea31011a06b5d2a3b73f Mon Sep 17 00:00:00 2001 From: Qustinnus Date: Fri, 18 Oct 2019 19:19:59 +0200 Subject: [PATCH] fixes orm not giving mats and rods not having mats (#47163) * o ok * ok --- code/game/objects/items/stacks/rods.dm | 1 + code/modules/mining/ores_coins.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/game/objects/items/stacks/rods.dm b/code/game/objects/items/stacks/rods.dm index 8e1ceaa4280..83ca21a1fc1 100644 --- a/code/game/objects/items/stacks/rods.dm +++ b/code/game/objects/items/stacks/rods.dm @@ -18,6 +18,7 @@ GLOBAL_LIST_INIT(rod_recipes, list ( \ throw_speed = 3 throw_range = 7 custom_materials = list(/datum/material/iron=1000) + mats_per_stack = 1000 max_amount = 50 attack_verb = list("hit", "bludgeoned", "whacked") hitsound = 'sound/weapons/gun/general/grenade_launch.ogg' diff --git a/code/modules/mining/ores_coins.dm b/code/modules/mining/ores_coins.dm index f93209af641..b1bd77df245 100644 --- a/code/modules/mining/ores_coins.dm +++ b/code/modules/mining/ores_coins.dm @@ -17,6 +17,7 @@ var/points = 0 //How many points this ore gets you from the ore redemption machine var/refined_type = null //What this ore defaults to being refined into novariants = TRUE // Ore stacks handle their icon updates themselves to keep the illusion that there's more going + mats_per_stack = MINERAL_MATERIAL_AMOUNT var/list/stack_overlays /obj/item/stack/ore/update_icon()