From 444ed8e40bdfdea878fceb1e00b1bf7d5283d301 Mon Sep 17 00:00:00 2001 From: KiwiHawk <59639+KiwiHawk@users.noreply.github.com> Date: Wed, 23 Aug 2023 05:23:44 +1200 Subject: [PATCH] Paper and pulp recipes rebalancing (#923) Make each tier feel like a significant upgrade --- angelsbioprocessing/changelog.txt | 1 + .../locale/en/bio-processing.cfg | 4 -- .../recipes/bio-processing-paper.lua | 40 ++++++++++++------- .../technology/bio-processing-algae.lua | 4 -- .../technology/bio-processing-wood-paper.lua | 5 +++ 5 files changed, 32 insertions(+), 22 deletions(-) diff --git a/angelsbioprocessing/changelog.txt b/angelsbioprocessing/changelog.txt index f41b306dc..d60f15074 100644 --- a/angelsbioprocessing/changelog.txt +++ b/angelsbioprocessing/changelog.txt @@ -6,6 +6,7 @@ Date: xx.xx.xxxx - Compatibility with Bob's changes (911) - Recipes that consume Gardens will now only buffer enough ingredients for 1 craft (918) - Adjusted techs and added a new recipe (Sodium hypochlorite decomposition) to make Paper 2 viable when it is unlocked (922) + - Rebalanced paper and pulp recipes to make each tier feel like a significant upgrade (923) --------------------------------------------------------------------------------------------------- Version: 0.7.24 Date: 23.02.2023 diff --git a/angelsbioprocessing/locale/en/bio-processing.cfg b/angelsbioprocessing/locale/en/bio-processing.cfg index 6a372e77e..474b61a8a 100644 --- a/angelsbioprocessing/locale/en/bio-processing.cfg +++ b/angelsbioprocessing/locale/en/bio-processing.cfg @@ -389,10 +389,6 @@ paste-from-sodium-hydroxide=Paste from sodium hydroxide paste-from-gas-chlor-methane=Paste from chloromethane gas cellulose-fiber-raw-wood=Cellulose fiber from raw wood -wood-from-cellulose=Wood from cellulose and paste -wood-from-cellulose-resin=Wood from cellulose and resin -wood-pellets=Wood pellets -wood-bricks=Wood bricks gas-carbon-dioxide-from-wood=Carbon dioxide gas from wood gas-methanol-from-wood=Methanol gas from wood sulfite-pulping=Sulfite pulping diff --git a/angelsbioprocessing/prototypes/recipes/bio-processing-paper.lua b/angelsbioprocessing/prototypes/recipes/bio-processing-paper.lua index 769730cc4..c74e0dd3e 100644 --- a/angelsbioprocessing/prototypes/recipes/bio-processing-paper.lua +++ b/angelsbioprocessing/prototypes/recipes/bio-processing-paper.lua @@ -3,6 +3,7 @@ data:extend({ { type = "recipe", name = "cellulose-fiber-raw-wood", + localised_name = { "recipe-name.cellulose-fiber-raw-wood" }, category = "crafting", subgroup = "bio-processing-wood", enabled = true, @@ -13,6 +14,8 @@ data:extend({ results = { { type = "item", name = "cellulose-fiber", amount = 4 }, }, + always_show_products = true, + show_amount_in_title = false, icon = "__angelsbioprocessing__/graphics/icons/cellulose-fiber-raw-wood.png", icon_size = 32, order = "b", @@ -54,6 +57,7 @@ data:extend({ { type = "recipe", name = "gas-carbon-dioxide-from-wood", + localised_name = { "recipe-name.gas-carbon-dioxide-from-wood" }, category = "liquifying", subgroup = "bio-processing-wood", enabled = false, @@ -65,6 +69,7 @@ data:extend({ { type = "fluid", name = "gas-carbon-dioxide", amount = 70 }, }, always_show_products = true, + show_amount_in_title = false, icons = AF.create_gas_recipe_icon({ { "__angelspetrochem__/graphics/icons/molecules/carbon-dioxide.png", 72 }, }, "COcOc"), @@ -120,18 +125,22 @@ data:extend({ { type = "recipe", name = "solid-wood-pulp", - category = "crafting", + category = "liquifying", subgroup = "bio-paper", enabled = false, - energy_required = 4, + energy_required = 20, ingredients = { { type = "item", name = "cellulose-fiber", amount = 20 }, { type = "item", name = "solid-alginic-acid", amount = 5 }, + { type = "fluid", name = "water", amount = 20 }, }, results = { { type = "item", name = "solid-wood-pulp", amount = 20 }, }, icons = AF.add_number_icon_layer(AF.get_object_icons("solid-wood-pulp"), 1, angelsmods.bioprocessing.number_tint), + crafting_machine_tint = AF.get_recipe_tints({ + "water", + }), order = "aa", }, --T2 SULFITE PROCESS @@ -249,6 +258,7 @@ data:extend({ { type = "recipe", name = "kraft-recovery", + localised_name = { "recipe-name.kraft-recovery" }, category = "liquifying", subgroup = "bio-liquor", enabled = false, @@ -261,6 +271,7 @@ data:extend({ }, main_product = "liquid-green-liquor", always_show_products = true, + show_amount_in_title = false, crafting_machine_tint = AF.get_recipe_tints({ "liquid-green-liquor", "liquid-black-liquor", @@ -272,6 +283,7 @@ data:extend({ { type = "recipe", name = "kraft-causting", + localised_name = { "recipe-name.kraft-causting" }, category = "chemistry", subgroup = "bio-liquor", enabled = false, @@ -307,7 +319,7 @@ data:extend({ { type = "fluid", name = "liquid-white-liquor", amount = 40 }, }, results = { - { type = "item", name = "solid-wood-pulp", amount = 30 }, + { type = "item", name = "solid-wood-pulp", amount = 40 }, { type = "fluid", name = "liquid-black-liquor", amount_min = 35, amount_max = 40 }, }, always_show_products = true, @@ -324,6 +336,7 @@ data:extend({ { type = "recipe", name = "paper-bleaching-1", + localised_name = { "recipe-name.paper-bleaching-1" }, category = "crafting", subgroup = "bio-paper", enabled = false, @@ -332,9 +345,10 @@ data:extend({ { type = "item", name = "solid-wood-pulp", amount = 2 }, }, results = { - { type = "item", name = "solid-paper", amount = 4 }, + { type = "item", name = "solid-paper", amount = 3 }, }, - --main_product = "solid-paper", + always_show_products = true, + show_amount_in_title = false, allow_decomposition = false, icons = AF.add_number_icon_layer(AF.get_object_icons("solid-paper"), 1, angelsmods.bioprocessing.number_tint), order = "ba", @@ -345,17 +359,16 @@ data:extend({ category = "liquifying", subgroup = "bio-paper", enabled = false, - energy_required = 4, + energy_required = 2, ingredients = { { type = "item", name = "solid-wood-pulp", amount = 2 }, { type = "item", name = "solid-sodium-hydroxide", amount = 2 }, - { type = "fluid", name = "gas-chlorine", amount = 60 }, + { type = "fluid", name = "gas-chlorine", amount = 80 }, }, results = { - { type = "item", name = "solid-paper", amount = 5 }, + { type = "item", name = "solid-paper", amount = 4 }, { type = "item", name = "solid-sodium-hypochlorite", amount = 2 }, }, - --main_product = "solid-paper", allow_decomposition = false, icons = AF.add_number_icon_layer(AF.get_object_icons("solid-paper"), 2, angelsmods.bioprocessing.number_tint), crafting_machine_tint = AF.get_recipe_tints({ @@ -390,23 +403,22 @@ data:extend({ { type = "recipe", name = "paper-bleaching-3", - category = "advanced-chemistry", + category = "chemistry", subgroup = "bio-paper", enabled = false, - energy_required = 4, + energy_required = 2, ingredients = { { type = "item", name = "solid-wood-pulp", amount = 2 }, { type = "item", name = "solid-sodium-hydroxide", amount = 2 }, - { type = "fluid", name = "gas-oxygen", amount = 60 }, { type = "fluid", name = "gas-sulfur-dioxide", amount = 40 }, { type = "fluid", name = "water", amount = 100 }, }, results = { - { type = "item", name = "solid-paper", amount = 6 }, + { type = "item", name = "solid-paper", amount = 10 }, { type = "item", name = "solid-sodium-carbonate", amount = 2 }, + { type = "fluid", name = "gas-oxygen", amount = 40 }, { type = "fluid", name = "water-yellow-waste", amount = 100 }, }, - --main_product = "solid-paper", allow_decomposition = false, icons = AF.add_number_icon_layer(AF.get_object_icons("solid-paper"), 3, angelsmods.bioprocessing.number_tint), crafting_machine_tint = AF.get_recipe_tints({ "water-yellow-waste", "water", "gas-oxygen", "gas-sulfur-dioxide" }), diff --git a/angelsbioprocessing/prototypes/technology/bio-processing-algae.lua b/angelsbioprocessing/prototypes/technology/bio-processing-algae.lua index 4ffc89113..88364a880 100644 --- a/angelsbioprocessing/prototypes/technology/bio-processing-algae.lua +++ b/angelsbioprocessing/prototypes/technology/bio-processing-algae.lua @@ -13,10 +13,6 @@ data:extend({ type = "unlock-recipe", recipe = "algae-farm", }, - { - type = "unlock-recipe", - recipe = "solid-alginic-acid", - }, { type = "unlock-recipe", recipe = "algae-green-simple", diff --git a/angelsbioprocessing/prototypes/technology/bio-processing-wood-paper.lua b/angelsbioprocessing/prototypes/technology/bio-processing-wood-paper.lua index c72f0f8de..b53afcc6e 100644 --- a/angelsbioprocessing/prototypes/technology/bio-processing-wood-paper.lua +++ b/angelsbioprocessing/prototypes/technology/bio-processing-wood-paper.lua @@ -578,9 +578,14 @@ data:extend({ icon_size = 128, order = "c-a", prerequisites = { + "basic-chemistry", "bio-processing-brown", }, effects = { + { + type = "unlock-recipe", + recipe = "solid-alginic-acid", + }, { type = "unlock-recipe", recipe = "solid-wood-pulp",