From 0b4db261d24b51dc01a7dc51e7aafc84f5d4d2d6 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Wed, 24 Dec 2025 08:52:31 +0100 Subject: [PATCH] Several things Mark basic circuit board setting as deprecated Add icons to overhaul settings labels Invert the meaning of the vanilla lab setting --- lignumis/locale/en/strings.cfg | 22 ++++++------- lignumis/prototypes/integrations/vanilla.lua | 8 ++--- lignumis/settings.lua | 34 ++++++++++---------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/lignumis/locale/en/strings.cfg b/lignumis/locale/en/strings.cfg index 3b0d74c..1fd946f 100644 --- a/lignumis/locale/en/strings.cfg +++ b/lignumis/locale/en/strings.cfg @@ -187,17 +187,17 @@ quality-catalyst=Quality catalyst [mod-setting-name] lignumis-restrict-sciences=Restrict Lignumis science recipes to Lignumis -lignumis-belt-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic belt recipes -lignumis-inserter-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic inserter recipes -lignumis-ammo-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic ammo recipes -lignumis-technology-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable progressive technologies -lignumis-basic-circuit-board=Enable basic circuit board -lignumis-circuit-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic circuit recipes -lignumis-assembler-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic assembler recipes +lignumis-belt-progression=[color=orange][font=heading-2]Overhaul[/font][/color] [item=wood-transport-belt] Enable telescopic belt recipes +lignumis-inserter-progression=[color=orange][font=heading-2]Overhaul[/font][/color] [item=burner-inserter] Enable telescopic inserter recipes +lignumis-ammo-progression=[color=orange][font=heading-2]Overhaul[/font][/color] [item=wood-darts-magazine] Enable telescopic ammo recipes +lignumis-technology-progression=[color=orange][font=heading-2]Overhaul[/font][/color] [item=wood-science-pack] Enable progressive technologies +lignumis-basic-circuit-board=[color=gray][font=heading-2]Deprecated (please enable)[/font] Enable basic circuit board[/color] +lignumis-circuit-progression=[color=orange][font=heading-2]Overhaul[/font][/color] [item=basic-circuit-board] Enable telescopic circuit recipes +lignumis-assembler-progression=[color=orange][font=heading-2]Overhaul[/font][/color] [item=burner-assembling-machine] Enable telescopic assembler recipes lignumis-lumber-mill-more-recipes=[color=green][font=heading-2]Easy[/font][/color] Enable more recipes for the lumber mill -lignumis-fulgora-wood=[color=orange][font=heading-2]Overhaul[/font][/color] Add wood to Fulgora +lignumis-fulgora-wood=[color=orange][font=heading-2]Overhaul[/font][/color] [planet=fulgora] Add wood to Fulgora lignumis-early-robots=[color=green][font=heading-2]Easy[/font][/color] Even earlier personal robots -lignumis-vanilla-lab=[color=orange][font=heading-2]Overhaul[/font][/color] Keep vanilla lab recipe +lignumis-lab=[color=orange][font=heading-2]Overhaul[/font][/color] [item=lab] Lab requires wooden belts lignumis-double-rocket=[color=green][font=heading-2]Easy[/font][/color] Double provisional rocket cargo capacity lignumis-sciences-spoil=[color=red][font=heading-2]Hard[/font][/color] Lignumis science packs spoil lignumis-infinite-astroponics-productivity-research=[color=green][font=heading-2]Easy[/font][/color] Infinite productivity research for Astroponics @@ -208,13 +208,13 @@ lignumis-belt-progression=Yellow belts will require wood belts to craft. lignumis-inserter-progression=Yellow electric inserter will require burner inserter to craft. lignumis-ammo-progression=Firearm magazines will require wooden darts magazines to craft. lignumis-technology-progression=Adds wood and steam science packs to most late game technologies. Disabling this removes the relevance of Lignumis' science packs in the late game. -lignumis-basic-circuit-board=Recipes use basic circuit boards instead of gold cables and gold plates where appropriate. Both gold and copper recipes will be added. +lignumis-basic-circuit-board=Please enable for new games. This option will be mandatory in the future. lignumis-circuit-progression=Electric circuits will require basic circuit boards to craft. lignumis-assembler-progression=Assembling machine 1 will require burner assembling machines to craft. lignumis-lumber-mill-more-recipes=The lumber mill can also craft basic turrets, burner assemblers and burner inserters. Improves balancing wood usage when all telescopic recipes are enabled and helps with marathon games. lignumis-fulgora-wood=This adds wooden gear wheels to scrap recycling as the main source of wood. Disable this is you have a different source of wood or import everything from other planets. lignumis-early-robots=Personal robots are moved from steam to wood science and are a tiny bit faster. -lignumis-vanilla-lab=Moves the transport belt recipe to Iron processing so the lab can be crafted with the original recipe without requiring to research logistics. +lignumis-lab=Moves the transport belt recipe to logistics research and uses wooden belts for the lab recipe so it can be crafted when landing on Nauvis. lignumis-double-rocket=The provisional rocket can carry 80 instead of 40 slots. lignumis-sciences-spoil=Both wood science packs and steam science packs spoil for additional difficulty. lignumis-infinite-astroponics-productivity-research=Productivity research for Astroponics is infinite instead of being capped to level 5 (which results in 50% productivity). diff --git a/lignumis/prototypes/integrations/vanilla.lua b/lignumis/prototypes/integrations/vanilla.lua index f6b8035..29fe4db 100644 --- a/lignumis/prototypes/integrations/vanilla.lua +++ b/lignumis/prototypes/integrations/vanilla.lua @@ -66,13 +66,13 @@ stone_furnace_remnants.animation[1].filename = Lignumis.graphics .. "entity/ston -- Lab -if settings.startup["lignumis-vanilla-lab"].value then - Recipe:new("transport-belt"):unlockedByTechnology("iron-processing") -else +if settings.startup["lignumis-lab"].value then Recipe:new("lab"):replaceIngredient("transport-belt", "wood-transport-belt") if not mods["wood-logistics"] or not settings.startup["wood-logistics-belts"].value then Recipe:new("transport-belt"):unlockedByTechnology("logistics") end +else + Recipe:new("transport-belt"):unlockedByTechnology("iron-processing") end @@ -173,7 +173,7 @@ automation_science_pack_technology.unit = { if not mods["aai-industry"] then local electronics_technology = data.raw.technology["electronics"] - electronics_technology.prerequisites = { "copper-processing" } + electronics_technology.prerequisites = { "copper-processing", "iron-processing" } local steam_power_technology = data.raw.technology["steam-power"] steam_power_technology.prerequisites = { "iron-processing" } diff --git a/lignumis/settings.lua b/lignumis/settings.lua index 114d16e..985783f 100644 --- a/lignumis/settings.lua +++ b/lignumis/settings.lua @@ -11,7 +11,7 @@ data:extend({ }, { type = "bool-setting", - name = "lignumis-basic-circuit-board", + name = "lignumis-circuit-progression", setting_type = "startup", default_value = true, order = "b" @@ -39,21 +39,21 @@ data:extend({ }, { type = "bool-setting", - name = "lignumis-technology-progression", + name = "lignumis-assembler-progression", setting_type = "startup", default_value = false, order = "f" }, { type = "bool-setting", - name = "lignumis-circuit-progression", + name = "lignumis-technology-progression", setting_type = "startup", - default_value = true, + default_value = false, order = "g" }, { type = "bool-setting", - name = "lignumis-assembler-progression", + name = "lignumis-lab", setting_type = "startup", default_value = false, order = "h" @@ -65,47 +65,47 @@ data:extend({ default_value = false, order = "i" }, - { - type = "bool-setting", - name = "lignumis-vanilla-lab", - setting_type = "startup", - default_value = true, - order = "j" - }, { type = "bool-setting", name = "lignumis-lumber-mill-more-recipes", setting_type = "startup", default_value = false, - order = "k" + order = "j" }, { type = "bool-setting", name = "lignumis-early-robots", setting_type = "startup", default_value = false, - order = "l" + order = "k" }, { type = "bool-setting", name = "lignumis-double-rocket", setting_type = "startup", default_value = false, - order = "m" + order = "l" }, { type = "bool-setting", name = "lignumis-electric-lumber-mill", setting_type = "startup", default_value = false, - order = "o" + order = "m" }, { type = "bool-setting", name = "lignumis-sciences-spoil", setting_type = "startup", default_value = false, - order = "p" + order = "n" + }, + { + type = "bool-setting", + name = "lignumis-basic-circuit-board", + setting_type = "startup", + default_value = true, + order = "z" }, { type = "string-setting",