From 72bbd47ca3cd552501b58b60fe2b077fa296fa26 Mon Sep 17 00:00:00 2001 From: KiwiHawk <59639+KiwiHawk@users.noreply.github.com> Date: Tue, 27 Feb 2024 18:31:34 +1300 Subject: [PATCH] Remove Solid Resin #322 --- SeaBlock/changelog.txt | 2 ++ SeaBlock/data-updates/wood.lua | 9 +++++++-- SeaBlock/remote.lua | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/SeaBlock/changelog.txt b/SeaBlock/changelog.txt index d5d7783..4e8f293 100644 --- a/SeaBlock/changelog.txt +++ b/SeaBlock/changelog.txt @@ -1,6 +1,8 @@ --------------------------------------------------------------------------------------------------- Version: 0.5.16 Date: ??? + Changes: + - Hid solid resin item and recipes #322 Bugfixes: - Landfill tech not ignoring tech cost multiplier #320 - Milestones error when mod setting Default landfill type set to Landfill #321 diff --git a/SeaBlock/data-updates/wood.lua b/SeaBlock/data-updates/wood.lua index 30bd442..ebe227c 100644 --- a/SeaBlock/data-updates/wood.lua +++ b/SeaBlock/data-updates/wood.lua @@ -35,6 +35,11 @@ bobmods.lib.tech.add_prerequisite("bio-wood-processing-3", "bio-arboretum-1") bobmods.lib.tech.remove_recipe_unlock("bio-wood-processing-3", "wood-bricks") bobmods.lib.tech.add_recipe_unlock("bio-wood-processing-3", "cellulose-fiber-raw-wood") -bobmods.lib.tech.add_recipe_unlock("resins", "bio-resin-wood-reprocessing") -bobmods.lib.tech.add_prerequisite("resins", "bio-farm-1") +-- Remove solid resin +bobmods.lib.recipe.hide("bio-resin-wood-reprocessing") bobmods.lib.tech.remove_prerequisite("bio-wood-processing-2", "bio-farm-1") +bobmods.lib.tech.remove_recipe_unlock("resins", "solid-resin") +bobmods.lib.recipe.hide("solid-resin") +seablock.lib.hide_item("resin") +bobmods.lib.tech.remove_recipe_unlock("bio-arboretum-temperate-1", "bio-resin-resin-liquification") +bobmods.lib.recipe.hide("bio-resin-resin-liquification") diff --git a/SeaBlock/remote.lua b/SeaBlock/remote.lua index 516da38..f2c6dad 100644 --- a/SeaBlock/remote.lua +++ b/SeaBlock/remote.lua @@ -86,7 +86,7 @@ local function milestones_presets() { type = "item", name = "nitinol-alloy", quantity = 1 }, { type = "item", name = "plastic-bar", quantity = 1 }, - { type = "item", name = "resin", quantity = 1 }, + { type = "fluid", name = "liquid-resin", quantity = 100 }, { type = "item", name = "rubber", quantity = 1 }, { type = "item", name = "alien-bacteria", quantity = 1 }, { type = "item", name = "sulfur", quantity = 1 },