From 71109a3bc3db404e7e969674e5781ae58657d207 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Mon, 29 Sep 2025 22:48:50 +0200 Subject: [PATCH 1/4] Increase pure sand usage in advanced cactus tissue cultivation --- wooden-arig/prototypes/compatibility/muluna.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wooden-arig/prototypes/compatibility/muluna.lua b/wooden-arig/prototypes/compatibility/muluna.lua index bc59b14..42b1aa9 100644 --- a/wooden-arig/prototypes/compatibility/muluna.lua +++ b/wooden-arig/prototypes/compatibility/muluna.lua @@ -14,7 +14,7 @@ data:extend({ category = "muluna-greenhouse-11x11", ingredients = { { type = "item", name = "cactus-tissue", amount = 20 }, - { type = "fluid", name = "planetaris-pure-sand", amount = 4 }, + { type = "fluid", name = "planetaris-pure-sand", amount = 20 }, { type = "fluid", name = "steam", amount = 25 }, }, results = { { type = "item", name = "cactus-tissue", amount = 50 } }, From 1b18fde8302122596a7b914f3ebf0ef96646ce19 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 30 Sep 2025 21:17:31 +0200 Subject: [PATCH 2/4] Fix migration --- wooden-arig/migrations/{1.0.0.lua => 1.0.1.lua} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename wooden-arig/migrations/{1.0.0.lua => 1.0.1.lua} (64%) diff --git a/wooden-arig/migrations/1.0.0.lua b/wooden-arig/migrations/1.0.1.lua similarity index 64% rename from wooden-arig/migrations/1.0.0.lua rename to wooden-arig/migrations/1.0.1.lua index 4b5f70f..53b0b3a 100644 --- a/wooden-arig/migrations/1.0.0.lua +++ b/wooden-arig/migrations/1.0.1.lua @@ -1,4 +1,4 @@ -local arig = game.get_surface("arig") +local arig = game.get_surface("arig") or game.planets["arig"].create_surface() local mgs = arig.map_gen_settings mgs.autoplace_settings.decorative.settings["arig-small-cactus"] = nil From 4ed1af54b1f7110f7dd163ce871cdf98784ab461 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 30 Sep 2025 21:20:18 +0200 Subject: [PATCH 3/4] Move mapgen settings to final-fixes --- wooden-arig/data-final-fixes.lua | 3 +++ wooden-arig/prototypes/content/cactus.lua | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 wooden-arig/data-final-fixes.lua diff --git a/wooden-arig/data-final-fixes.lua b/wooden-arig/data-final-fixes.lua new file mode 100644 index 0000000..1c384f0 --- /dev/null +++ b/wooden-arig/data-final-fixes.lua @@ -0,0 +1,3 @@ +local autoplace = data.raw.planet["arig"].map_gen_settings.autoplace_settings +autoplace.decorative.settings["arig-small-cactus"] = nil +autoplace.entity.settings["arig-small-cactus"] = {} \ No newline at end of file diff --git a/wooden-arig/prototypes/content/cactus.lua b/wooden-arig/prototypes/content/cactus.lua index 2ff8690..9b75b86 100644 --- a/wooden-arig/prototypes/content/cactus.lua +++ b/wooden-arig/prototypes/content/cactus.lua @@ -44,8 +44,4 @@ data:extend({ subgroup = "arig-bioprocessing", order = "a[cactus-tissue]", } -}) - -local autoplace = data.raw.planet["arig"].map_gen_settings.autoplace_settings -autoplace.decorative.settings["arig-small-cactus"] = nil -autoplace.entity.settings["arig-small-cactus"] = {} \ No newline at end of file +}) \ No newline at end of file From 00c92b133c2f2bc1f42aac893f0a8370fcb7fe14 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 30 Sep 2025 21:22:24 +0200 Subject: [PATCH 4/4] 1.0.1 --- wooden-arig/changelog.txt | 8 ++++++++ wooden-arig/info.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 wooden-arig/changelog.txt diff --git a/wooden-arig/changelog.txt b/wooden-arig/changelog.txt new file mode 100644 index 0000000..ba8d1f4 --- /dev/null +++ b/wooden-arig/changelog.txt @@ -0,0 +1,8 @@ +--------------------------------------------------------------------------------------------------- +Version: 1.0.1 +Date: 30.09.2025 + Changes: + - Increase pure sand usage in advanced cactus tissue cultivation + Bug Fixes: + - Fix crash due to migration + - Move mapgen settings to final-fixes diff --git a/wooden-arig/info.json b/wooden-arig/info.json index 02c098d..5aca27e 100644 --- a/wooden-arig/info.json +++ b/wooden-arig/info.json @@ -1,6 +1,6 @@ { "name": "wooden-arig", - "version": "1.0.0", + "version": "1.0.1", "title": "Wooden Arig", "description": "Adds wood production to Arig.", "author": "cackling fiend",