forked from cacklingfiend/lignumis
Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b2ac4793c6 | ||
![]() |
4ed26b5b9d |
5 changed files with 20 additions and 8 deletions
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
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:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lignumis",
|
"name": "lignumis",
|
||||||
"version": "1.0.29",
|
"version": "1.0.30",
|
||||||
"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",
|
||||||
|
|
|
@ -5,10 +5,12 @@ 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
|
||||||
|
|
|
@ -51,7 +51,11 @@ 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 })
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
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/"
|
||||||
|
@ -131,8 +132,8 @@ data:extend({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
table.insert(data.raw.technology["copper-processing"].effects, {
|
if not mods["planet-picker"] and not mods["any-planet-start"] then
|
||||||
type = "unlock-recipe",
|
Technology:new("copper-processing"):addRecipe("burner-agricultural-tower-copper")
|
||||||
recipe = "burner-agricultural-tower-copper"
|
else
|
||||||
})
|
Technology:new("electronics"):addRecipe("burner-agricultural-tower-copper")
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue