Compare commits

..

2 commits

Author SHA1 Message Date
Simon Brodtmann
1f91f8441a 0.0.4 2025-01-06 22:50:50 +01:00
Simon Brodtmann
b024d89336 Improve transition to Nauvis 2025-01-06 22:38:12 +01:00
10 changed files with 88 additions and 11 deletions

View file

@ -21,6 +21,7 @@ The following mods can be a great addition for this mod:
Sorted by priority Sorted by priority
- Improve start on Nauvis - Improve start on Nauvis
- Add repair pack
- Balance pollution (noise) - Balance pollution (noise)
- Tweak enemies + warfare (add damage research) - Tweak enemies + warfare (add damage research)
- Add vent for steam - Add vent for steam

View file

@ -6,6 +6,8 @@ Date: 06.01.2025
- Add "wood fuel" category so burner entities don't use trees, lumber and seeds as fuel - Add "wood fuel" category so burner entities don't use trees, lumber and seeds as fuel
- Add recipe to process moist stromatolite remnant in a normal furnace to balance steam production - Add recipe to process moist stromatolite remnant in a normal furnace to balance steam production
- Add recipe to process gold stromatolite seeds to void excess seeds - Add recipe to process gold stromatolite seeds to void excess seeds
- Improve transition to Nauvis and do some overall polishing
- The mod "wood-logistics" is now marked incompatible. All wood-themed mods from SafTheLamb will be made compatible at a later point.
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.0.3 Version: 0.0.3
Date: 06.01.2025 Date: 06.01.2025

View file

@ -1,6 +1,6 @@
{ {
"name": "lignumis", "name": "lignumis",
"version": "0.0.3", "version": "0.0.4",
"title": "[Alpha] Lignumis", "title": "[Alpha] Lignumis",
"description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies. Warning: This is an early development version. Breaking changes will happen.", "description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies. Warning: This is an early development version. Breaking changes will happen.",
"author": "cackling fiend", "author": "cackling fiend",

View file

@ -54,7 +54,7 @@ lumber=Lumber
[item-description] [item-description]
wooden-wall=Use wooden walls to protect your base from the locals and to reduce noise levels. wooden-wall=Use wooden walls to protect your base from the locals and to reduce noise levels.
destination-nauvis=Insert this item into a rocket to travel to Nauvis. Notice that you won't come back for a while. destination-nauvis=Insert this item into a rocket to travel to Nauvis. Notice that you won`t come back for a while.\n__REMARK_COLOR_BEGIN__ALPHA notice: Clear your inventory before leaving as the current transition to Nauvis is a temporary implementation.__REMARK_COLOR_END__
[fluid-name] [fluid-name]
wood-pulp=Wood pulp wood-pulp=Wood pulp
@ -87,6 +87,11 @@ basic-gun-turret=Basic gun turret
basic-construction-robotics-gold=Basic construction robotics (gold) basic-construction-robotics-gold=Basic construction robotics (gold)
basic-construction-robotics-copper=Basic construction robotics (copper) basic-construction-robotics-copper=Basic construction robotics (copper)
wood-logistics=Wood logistics wood-logistics=Wood logistics
automation=Electric automation
tree-seeding=Basic agriculture
[technology-description]
tree-seeding=[entity=burner-agricultural-tower] allows planting seeds into seedable soil. Planted seeds grow into trees that can be harvested.\n[entity=tree-plant] can grow on grass and dirt. [entity=gold-stromatolite] can grow on [tile=natural-gold-soil].
[tile-name] [tile-name]
wood-floor=Wood floor wood-floor=Wood floor
@ -95,5 +100,13 @@ natural-gold-soil=Gold-infused soil
[fuel-category-name] [fuel-category-name]
wood=Wood fuel wood=Wood fuel
[mod-setting-name]
lignumis-belt-progression=Enable progressive belt recipes
lignumis-inserter-progression=Enable progressive inserter recipes
[mod-setting-description]
lignumis-belt-progression=Yellow belts will require wood belts to craft.
lignumis-inserter-progression=Yellow electric inserter will require burner inserter to craft.
[lignumis] [lignumis]
start-new-game=Lignumis is meant to be played in a fresh game as it extends the early game before Nauvis. start-new-game=Lignumis is meant to be played in a fresh game as it extends the early game before Nauvis.

View file

@ -47,7 +47,8 @@ local furnace_recipe = {
{ type = "item", name = "stone-furnace", amount = 1 }, { type = "item", name = "stone-furnace", amount = 1 },
{ type = "item", name = "gold-pipe", amount = 2 } { type = "item", name = "gold-pipe", amount = 2 }
}, },
results = { { type = "item", name = "desiccation-furnace", amount = 1 } } results = { { type = "item", name = "desiccation-furnace", amount = 1 } },
enabled = false
} }
data:extend({ data:extend({

View file

@ -115,7 +115,9 @@ data:extend({
researching_speed = 0.5, researching_speed = 0.5,
inputs = { inputs = {
"wood-science-pack", "wood-science-pack",
"steam-science-pack" "steam-science-pack",
"automation-science-pack",
"logistic-science-pack"
}, },
icons_positioning = { icons_positioning = {
{ inventory_index = defines.inventory.lab_modules, shift = { 0, 0.9 } }, { inventory_index = defines.inventory.lab_modules, shift = { 0, 0.9 } },

View file

@ -62,21 +62,47 @@ table.insert(data.raw["assembling-machine"]["assembling-machine-2"].crafting_cat
table.insert(data.raw["assembling-machine"]["assembling-machine-3"].crafting_categories, "wood-processing-or-assembling") table.insert(data.raw["assembling-machine"]["assembling-machine-3"].crafting_categories, "wood-processing-or-assembling")
-- Disable iron and copper recipes -- Disable vanilla early game recipes
data.raw.recipe["iron-plate"].enabled = false data.raw.recipe["iron-plate"].enabled = false
data.raw.recipe["iron-gear-wheel"].enabled = false data.raw.recipe["iron-gear-wheel"].enabled = false
data.raw.recipe["iron-chest"].enabled = false data.raw.recipe["iron-chest"].enabled = false
data.raw.recipe["copper-plate"].enabled = false data.raw.recipe["copper-plate"].enabled = false
data.raw.recipe["copper-cable"].enabled = false data.raw.recipe["copper-cable"].enabled = false
data.raw.recipe["transport-belt"].enabled = false
-- Progressive recipes
if settings.startup["lignumis-belt-progression"].value then
table.insert(
data.raw.recipe["transport-belt"].ingredients,
{ type = "item", name = "wood-transport-belt", amount = 2 }
)
table.insert(
data.raw.recipe["underground-belt"].ingredients,
{ type = "item", name = "wood-underground-belt", amount = 2 }
)
table.insert(
data.raw.recipe["splitter"].ingredients,
{ type = "item", name = "wood-splitter", amount = 1 }
)
end
if settings.startup["lignumis-inserter-progression"].value then
table.insert(
data.raw.recipe["inserter"].ingredients,
{ type = "item", name = "burner-inserter", amount = 1 }
)
end
-- Adjust vanilla technologies -- Adjust vanilla technologies
local automation_technology = data.raw.technology["automation-science-pack"] local automation_science_pack_technology = data.raw.technology["automation-science-pack"]
automation_technology.prerequisites = { "planet-discovery-nauvis" } automation_science_pack_technology.prerequisites = { "planet-discovery-nauvis" }
automation_technology.research_trigger = nil automation_science_pack_technology.research_trigger = nil
automation_technology.unit = { automation_science_pack_technology.unit = {
count = 100, count = 100,
ingredients = { ingredients = {
{ "wood-science-pack", 1 }, { "wood-science-pack", 1 },
@ -109,6 +135,15 @@ steam_power_technology.unit = {
time = 15 time = 15
} }
local automation_technology = data.raw.technology["automation"]
automation_technology.ignore_tech_cost_multiplier = false
local logistics_technology = data.raw.technology["logistics"]
table.insert(logistics_technology.effects, {
type = "unlock-recipe",
recipe = "transport-belt"
})
local landfill_technology = data.raw.technology["landfill"] local landfill_technology = data.raw.technology["landfill"]
landfill_technology.prerequisites = { "burner-automation" } landfill_technology.prerequisites = { "burner-automation" }
landfill_technology.unit = { landfill_technology.unit = {

View file

@ -23,8 +23,8 @@ local function travel_to_nauvis()
end end
end end
local ship_items = remote.call("freeplay", "get_ship_items") local ship_items = { ["burner-mining-drill"] = 5, ["stone-furnace"] = 5, ["burner-assembling-machine"] = 2, ["burner-agricultural-tower"] = 4, ["wood-lab"] = 4 }
local debris_items = remote.call("freeplay", "get_debris_items") local debris_items = { ["wood-darts-magazine"] = 20, ["wood"] = 20, ["lumber"] = 20 }
local crashed_ship_parts = remote.call("freeplay", "get_ship_parts") local crashed_ship_parts = remote.call("freeplay", "get_ship_parts")
nauvis.daytime = 0.7 nauvis.daytime = 0.7

View file

@ -0,0 +1,7 @@
data.raw["bool-setting"]["wood-military-rockets"].default_value = false
data.raw["bool-setting"]["wood-military-artillery"].default_value = false
data.raw["bool-setting"]["wood-military-damage-buff"].default_value = false
data.raw["bool-setting"]["wood-military-armor"].hidden = true
data.raw["bool-setting"]["wood-military-armor"].forced_value = true
data.raw["bool-setting"]["wood-military-nerf-start"].hidden = true
data.raw["bool-setting"]["wood-military-nerf-start"].forced_value = true

16
lignumis/settings.lua Normal file
View file

@ -0,0 +1,16 @@
data:extend({
{
type = "bool-setting",
name = "lignumis-belt-progression",
setting_type = "startup",
default_value = true,
order = "a"
},
{
type = "bool-setting",
name = "lignumis-inserter-progression",
setting_type = "startup",
default_value = true,
order = "b"
}
})