Split mod into mainstream and directors cut

This commit is contained in:
Simon Brodtmann 2025-11-11 23:58:49 +01:00
parent 2cd984c35e
commit 2891288a91
19 changed files with 783 additions and 25 deletions

View file

@ -1,8 +1,8 @@
{
"name": "lignumis",
"version": "1.1.0",
"version": "1.2.0",
"title": "Lignumis",
"description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.\n\nThis planet mod effects other planets and space ships. Make sure to read the description on the mod portal and check the mod settings.",
"description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.",
"author": "cackling fiend",
"homepage": "https://discord.gg/ufvFUJtVwk",
"factorio_version": "2.0",
@ -10,27 +10,27 @@
"dependencies": [
"base",
"space-age >= 2.0.53",
"astroponics >= 1.2.0",
"bioprocessing-tab",
"cf-lib >= 1.1.0",
"flib",
"gleba-water-cane",
"lignumis-assets >= 1.0.3",
"PlanetsLib >= 1.14.7",
"pollution-as-surface-property",
"Wood-Walls >= 1.2.0",
"vulcanus-sulfuric-bacteria",
"? aai-industry",
"? aai-loaders",
"? aai-loaders-sane",
"? any-planet-start",
"? astroponics >= 1.2.0",
"? canal-excavator >= 1.9.0",
"? crushing-industry",
"? fulgora-coralmium-agriculture",
"? gleba-water-cane",
"? hot-metals >= 1.1.0",
"? lane-splitters",
"? vulcanus-sulfuric-bacteria",
"? wood-industry",
"? wood-military >= 2.3.3",
"? canal-excavator >= 1.9.0",
"? wood-logistics",
"(?) atan-nuclear-science",
"(?) Diversitree",

View file

@ -1,8 +1,8 @@
[mod-name]
lignumis= Lignumis
lignumis= Lignumis
[mod-description]
lignumis=Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.
lignumis=Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.\n\nThis is the version that represents the original idea of the mod author. For a more isolated planet mod experience, install the regular version.
[space-location-name]
lignumis=Lignumis

View file

@ -1,5 +1,5 @@
[mod-name]
lignumis= Lignumis
lignumis= Lignumis
[mod-description]
lignumis=Sumérgete en el mundo de Lignumis, una luna de Nauvis que ofrece solo las tecnologías más básicas.

View file

@ -1,5 +1,5 @@
[mod-name]
lignumis= Lignumis
lignumis= Lignumis
[mod-description]
lignumis=Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.

View file

@ -1,5 +1,5 @@
[mod-name]
lignumis= Лигнумис
lignumis= Лигнумис
[mod-description]
lignumis=Погрузитесь в мир Лигнумиса — луны Наувиса, предлагающей лишь самые базовые технологии.

View file

@ -2,7 +2,7 @@ surface-condition-too-low=__1__不符合.
surface-condition-too-high=__1__不符合.
[mod-name]
lignumis= 愈创星 - Lignumis
lignumis= 愈创星 - Lignumis
[mod-description]
lignumis=潜入木木世界的世界,木星的月亮只提供最基本的技术

View file

@ -1,3 +1,5 @@
if not mods["astroponics"] then return end
local Technology = require("__cf-lib__/data/Technology")
-- This just undoes what astroponics changes to tree seeding

View file

@ -1,3 +1,5 @@
if not mods["astroponics"] then return end
local infinite = settings.startup["lignumis-infinite-astroponics-productivity-research"].value
local base_levels = {

View file

@ -1,9 +1,12 @@
local Settings = require("__cf-lib__/settings/Settings")
local force = Settings.force
data:extend({
{
type = "bool-setting",
name = "lignumis-restrict-sciences",
setting_type = "startup",
default_value = false,
default_value = true,
order = "a"
},
{
@ -17,35 +20,35 @@ data:extend({
type = "bool-setting",
name = "lignumis-belt-progression",
setting_type = "startup",
default_value = true,
default_value = false,
order = "c"
},
{
type = "bool-setting",
name = "lignumis-inserter-progression",
setting_type = "startup",
default_value = true,
default_value = false,
order = "d"
},
{
type = "bool-setting",
name = "lignumis-ammo-progression",
setting_type = "startup",
default_value = true,
default_value = false,
order = "e"
},
{
type = "bool-setting",
name = "lignumis-technology-progression",
setting_type = "startup",
default_value = true,
default_value = false,
order = "f"
},
{
type = "bool-setting",
name = "lignumis-circuit-progression",
setting_type = "startup",
default_value = false,
default_value = true,
order = "g"
},
{
@ -66,7 +69,7 @@ data:extend({
type = "bool-setting",
name = "lignumis-vanilla-lab",
setting_type = "startup",
default_value = false,
default_value = true,
order = "j"
},
{
@ -122,13 +125,10 @@ data:extend({
})
if mods["aai-industry"] then
data.raw["bool-setting"]["lignumis-inserter-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-inserter-progression"].hidden = true
data.raw["bool-setting"]["lignumis-assembler-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-assembler-progression"].hidden = true
force("lignumis-inserter-progression", false)
force("lignumis-assembler-progression", false)
end
if mods["wood-military"] then
data.raw["bool-setting"]["lignumis-ammo-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-ammo-progression"].hidden = true
force("lignumis-ammo-progression", false)
end