Compare commits
2 commits
9d1d5d8cbd
...
f76c7e6564
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f76c7e6564 | ||
|
|
0d93d1989d |
3 changed files with 25 additions and 18 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.0.70
|
||||||
|
Date: 07.10.2025
|
||||||
|
Bug Fixes:
|
||||||
|
- Any Planet Start: Prevent crashes
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.0.69
|
Version: 1.0.69
|
||||||
Date: 02.10.2025
|
Date: 02.10.2025
|
||||||
Bug Fixes:
|
Bug Fixes:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lignumis",
|
"name": "lignumis",
|
||||||
"version": "1.0.69",
|
"version": "1.0.70",
|
||||||
"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",
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,15 @@ if not mods["any-planet-start"] then return end
|
||||||
|
|
||||||
local target_planet = settings.startup["aps-planet"].value
|
local target_planet = settings.startup["aps-planet"].value
|
||||||
|
|
||||||
if target_planet == "none" or target_planet == "nauvis" then return end
|
if not target_planet or target_planet == "none" or target_planet == "nauvis" then return end
|
||||||
|
|
||||||
Technology:new("tree-seeding"):setPrerequisites({ "wood-science-pack" })
|
Technology:new("tree-seeding"):setPrerequisites({ "wood-science-pack" })
|
||||||
|
|
||||||
|
|
||||||
-- Switch planet discovery technology to the new planet
|
-- Switch planet discovery technology to the new planet
|
||||||
local planet_discovery = data.raw.technology["planet-discovery-" .. target_planet] or data.raw.technology["moon-discovery-" .. target_planet]
|
local planet_discovery = data.raw.technology["planet-discovery-" .. target_planet] or data.raw.technology["moon-discovery-" .. target_planet]
|
||||||
Technology:new(planet_discovery)
|
if planet_discovery then
|
||||||
|
Technology:new(planet_discovery)
|
||||||
:assign({
|
:assign({
|
||||||
enabled = true,
|
enabled = true,
|
||||||
hidden = false,
|
hidden = false,
|
||||||
|
|
@ -25,8 +26,9 @@ Technology:new(planet_discovery)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
:setPrerequisites({ "provisional-rocketry" })
|
:setPrerequisites({ "provisional-rocketry" })
|
||||||
Technology:new("iron-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
|
Technology:new("iron-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
|
||||||
Technology:new("copper-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
|
Technology:new("copper-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
-- Vulcanus
|
-- Vulcanus
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue