From c9ac4c7195c0ea32faffecc9a63c99f32ba374f6 Mon Sep 17 00:00:00 2001 From: Brevven Date: Sat, 18 Mar 2023 23:14:02 -0700 Subject: [PATCH] up --- data-util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data-util.lua b/data-util.lua index 10784b4..48842f2 100644 --- a/data-util.lua +++ b/data-util.lua @@ -559,7 +559,7 @@ function util.get_ingredient_amount(recipe_name, ingredient_name) if ingredient.name == ingredient_name then return ingredient.amount end end end - return 1 + return 0 end return 0 end @@ -1257,7 +1257,7 @@ function remove_prior_unlocks(tech, recipe) util.remove_recipe_effect(tech, recipe) if technology.prerequisites then for i, prerequisite in pairs(technology.prerequisites) do - log("BZZZ removing prior unlocks for " .. recipe .. " from " .. tech ..", checking " .. prerequisite) -- Handy Debug :| + -- log("BZZZ removing prior unlocks for " .. recipe .. " from " .. tech ..", checking " .. prerequisite) -- Handy Debug :| remove_prior_unlocks(prerequisite, recipe) end end