Compare commits
No commits in common. "f76c7e65644f62b7e4fbe537c1b49db0011cb341" and "9d1d5d8cbd0a1b6fdcc1143bdbc022a19b039f46" have entirely different histories.
f76c7e6564
...
9d1d5d8cbd
3 changed files with 18 additions and 25 deletions
|
|
@ -1,9 +1,4 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
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.70",
|
"version": "1.0.69",
|
||||||
"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,13 @@ 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 not target_planet or target_planet == "none" or target_planet == "nauvis" then return end
|
if 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]
|
||||||
if planet_discovery then
|
|
||||||
Technology:new(planet_discovery)
|
Technology:new(planet_discovery)
|
||||||
:assign({
|
:assign({
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
|
@ -28,7 +27,6 @@ if planet_discovery then
|
||||||
: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