Compare commits

..

1 commit

6 changed files with 9 additions and 20 deletions

View file

@ -1,9 +1,4 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 1.0.30
Date: 06.03.2025
Bug Fixes:
- Any planet start: Fix startup crash
---------------------------------------------------------------------------------------------------
Version: 1.0.29 Version: 1.0.29
Date: 05.03.2025 Date: 05.03.2025
Breaking Changes: Breaking Changes:

View file

@ -1,6 +1,6 @@
{ {
"name": "lignumis", "name": "lignumis",
"version": "1.0.30", "version": "1.0.29",
"title": "Lignumis", "title": "Lignumis",
"description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.", "description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.",
"author": "cackling fiend", "author": "cackling fiend",

View file

@ -5,12 +5,10 @@ if not mods["aai-industry"] then return end
data.raw.recipe["wood-science-pack"].allow_hand_crafting = true data.raw.recipe["wood-science-pack"].allow_hand_crafting = true
local burner_mechanics = Technology:new("burner-mechanics") local burner_mechanics = Technology:new("burner-mechanics")
burner_mechanics:addPrerequisite("iron-processing")
burner_mechanics:removeRecipe("burner-inserter") burner_mechanics:removeRecipe("burner-inserter")
burner_mechanics:removeRecipe("burner-mining-drill") burner_mechanics:removeRecipe("burner-mining-drill")
burner_mechanics:removeRecipe("burner-assembling-machine") burner_mechanics:removeRecipe("burner-assembling-machine")
if not mods["planet-picker"] and not mods["any-planet-start"] then
burner_mechanics:addPrerequisite("iron-processing")
end
data.raw.recipe["burner-inserter"].enabled = true data.raw.recipe["burner-inserter"].enabled = true
data.raw.recipe["burner-mining-drill"].enabled = true data.raw.recipe["burner-mining-drill"].enabled = true

View file

@ -34,6 +34,7 @@ AAILoaders.make_tier({
unlubricated_recipe = mods["aai-loaders-sane"] and recipe or { unlubricated_recipe = mods["aai-loaders-sane"] and recipe or {
ingredients = { ingredients = {
{ type = "item", name = "lumber", amount = 50 }, { type = "item", name = "lumber", amount = 50 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 100 } or
{ type = "item", name = "gold-cable", amount = 100 }, { type = "item", name = "gold-cable", amount = 100 },
{ type = "item", name = "wood-transport-belt", amount = 1 } { type = "item", name = "wood-transport-belt", amount = 1 }
}, },

View file

@ -51,11 +51,7 @@ data:extend({
} }
}) })
if not mods["planet-picker"] and not mods["any-planet-start"] then
Technology:new("copper-processing"):addRecipe("basic-circuit-board-copper") Technology:new("copper-processing"):addRecipe("basic-circuit-board-copper")
else
Technology:new("electronics"):addRecipe("basic-circuit-board-copper")
end
if settings.startup["lignumis-circuit-progression"].value then if settings.startup["lignumis-circuit-progression"].value then
table.insert(data.raw.recipe["electronic-circuit"].ingredients, { type = "item", name = "basic-circuit-board", amount = 1 }) table.insert(data.raw.recipe["electronic-circuit"].ingredients, { type = "item", name = "basic-circuit-board", amount = 1 })

View file

@ -1,5 +1,4 @@
local item_sounds = require("__base__.prototypes.item_sounds") local item_sounds = require("__base__.prototypes.item_sounds")
local Technology = require("__cf-lib__/data/Technology")
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
local gfx = Lignumis.graphics .. "entity/burner-agricultural-tower/" local gfx = Lignumis.graphics .. "entity/burner-agricultural-tower/"
@ -132,8 +131,8 @@ data:extend({
} }
}) })
if not mods["planet-picker"] and not mods["any-planet-start"] then table.insert(data.raw.technology["copper-processing"].effects, {
Technology:new("copper-processing"):addRecipe("burner-agricultural-tower-copper") type = "unlock-recipe",
else recipe = "burner-agricultural-tower-copper"
Technology:new("electronics"):addRecipe("burner-agricultural-tower-copper") })
end