Compare commits

...
Sign in to create a new pull request.

40 commits

Author SHA1 Message Date
Simon Brodtmann
48f6b5594d 1.0.72 2025-11-01 18:09:21 +01:00
Simon Brodtmann
2909937765 Move parent planet calculation to data-updates 2025-11-01 17:54:21 +01:00
Simon Brodtmann
9b268afba9 Buff quality assembling 2025-11-01 17:14:01 +01:00
Simon Brodtmann
c3e7ba5a2f Fix changelog 2025-10-21 00:16:14 +02:00
Simon Brodtmann
1e7800e4bb thumbnail 2025-10-20 23:24:20 +02:00
Simon Brodtmann
50aa8a956d 1.0.71 2025-10-20 23:17:37 +02:00
Simon Brodtmann
5cd457fbb8 readme 2025-10-20 23:14:10 +02:00
Simon Brodtmann
03f58c1493 Move wriggler sources to assets mod 2025-10-20 23:13:55 +02:00
Simon Brodtmann
f8cfa91b70 Use 60 sec crafting time for active noise cancelling to visualise progress
Reduce energy usage to 500kW
2025-10-17 10:22:23 +02:00
Simon Brodtmann
f76c7e6564 1.0.70 2025-10-07 21:50:58 +02:00
Simon Brodtmann
0d93d1989d Any Planet Start: Prevent crashes 2025-10-07 21:50:22 +02:00
Simon Brodtmann
9d1d5d8cbd 1.0.69 2025-10-02 22:11:31 +02:00
Simon Brodtmann
a28be675ca Readme 2025-10-02 22:11:18 +02:00
Simon Brodtmann
ab24e7f496 Fix more item weights 2025-10-02 22:10:47 +02:00
Simon Brodtmann
0e3c7c4819 1.0.68 2025-09-28 11:36:47 +02:00
Simon Brodtmann
74eb162d9a Remove enemies from starting area when leaving Lignumis 2025-09-28 11:36:00 +02:00
Simon Brodtmann
429e8a3a41 Readme 2025-09-28 11:35:25 +02:00
Simon Brodtmann
443eee9e17 1.0.67 2025-09-24 23:19:09 +02:00
Simon Brodtmann
e4fdd67bdf Fix potential crash when escaping to Nauvis 2025-09-24 23:17:53 +02:00
Simon Brodtmann
eb6b0d6384 K2SO: Move K2 starting recipes to Nauvis technologies 2025-09-24 22:48:36 +02:00
Simon Brodtmann
82ea8f3862 Reduce energy usage of Active noise cancelling tower 2025-09-21 12:32:22 +02:00
Simon Brodtmann
7ccd4d3a82 1.0.66 2025-09-21 10:17:52 +02:00
Simon Brodtmann
a158a42cfe Buff Cupriavidus Necator starter recipe 2025-09-21 09:13:01 +02:00
Simon Brodtmann
702e218a62 Buff wood liquefaction recipe by 50% for electric assemblers 2025-09-21 08:51:43 +02:00
Simon Brodtmann
aaea504cef More item weights 2025-09-17 23:21:28 +02:00
Simon Brodtmann
2336ad4d44 Buff Lignumis enemies 2025-09-17 23:21:16 +02:00
Simon Brodtmann
5c556646d9 Update Discord link 2025-09-15 18:13:53 +02:00
Simon Brodtmann
607ce9feb8 1.0.65 2025-09-14 13:48:30 +02:00
Simon Brodtmann
9bf4a5d6ff Add setting for infinite astroponics productivity research 2025-09-14 13:47:12 +02:00
Simon Brodtmann
ee9eb8faf1 More item weights 2025-09-13 23:21:40 +02:00
Simon Brodtmann
c1797dfcfe Remove warning for Alien Biomes 2025-09-11 18:55:59 +02:00
Simon Brodtmann
8fb0fac800 1.0.64 2025-09-10 23:19:31 +02:00
Simon Brodtmann
9cff8c4401 Fix steam assembler scaling with increased energy usage from modules 2025-09-10 23:18:41 +02:00
Simon Brodtmann
25b396affc Fix more item weights 2025-09-10 23:12:06 +02:00
Simon Brodtmann
7385751f2d 1.0.63 2025-09-09 19:11:11 +02:00
Simon Brodtmann
2d327c805d Wooden belts have half the weight 2025-09-09 19:09:44 +02:00
Simon Brodtmann
014eed03aa Fix vanilla more item weights 2025-09-09 19:09:32 +02:00
Simon Brodtmann
e14789ee81 1.0.62 2025-09-02 10:40:55 +02:00
Simon Brodtmann
3fb93faea5 Lumber mill can be built on Vulcanus 2025-09-02 10:34:22 +02:00
b746a7c88c fix: add final fixes for Lignumis and Alien Biomes compatibility (#7)
refer to: https://discord.com/channels/1327043776715292773/1327045033077248021/1400725705867919371

Added a compatibility fix for alien biomes and lignumis.

Changes:
- added back the vanilla fertile tiles tha Alien Biomes remove to the tile restrictions of trees for manual and world gen spawning and planting of trees.
- retains Lignumis' aesthetics of using the vanilla tiles and Nauvis' Alien Biomes
- able to plant and spawn trees in Lignumis now when Alien Biomes is also enabled

ps. this is the first time I contributed/made a mod for factorio, if there is anything to be improved on the syntaxes and anything do let me know.

Co-authored-by: chromebomb
Reviewed-on: cacklingfiend/lignumis#7
Co-authored-by: chromebomb <chromebomb@noreply.example.org>
Co-committed-by: chromebomb <chromebomb@noreply.example.org>
2025-09-01 12:35:06 +02:00
34 changed files with 393 additions and 96 deletions

View file

@ -1,4 +1,5 @@
[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/ufvFUJtVwk)[![Forgejo](https://img.shields.io/badge/source%20code-%23f4f4f5?style=for-the-badge&logo=forgejo&logoColor=%23c2410c)](https://git.cacklingfiend.info/cacklingfiend/lignumis)[![Downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fmods.factorio.com%2Fapi%2Fmods%2Flignumis&query=%24.downloads_count&suffix=%20Downloads&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI%2FPgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI%2BCjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMTIxNnB0IiBoZWlnaHQ9IjEyODBwdCIgdmlld0JveD0iMCAwIDEyMTYgMTI4MCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgo8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDEyODApIHNjYWxlKDAuMSwtMC4xKSIKZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTM0NzAgOTYwMCBsMCAtMzIwMCAtMTczMSAwIGMtOTUyIDAgLTE3MjkgLTQgLTE3MjcgLTggNCAtMTIgNjA2MgotNjM5MCA2MDY4IC02MzkwIDYgMCA2MDY0IDYzNzggNjA2OCA2MzkwIDIgNCAtNzc1IDggLTE3MjcgOCBsLTE3MzEgMCAwIDMyMDAKMCAzMjAwIC0yNjEwIDAgLTI2MTAgMCAwIC0zMjAweiIvPgo8L2c%2BCjwvc3ZnPgo%3D&label=&labelColor=%23e39827&color=%23e39827)](https://mods.factorio.com/mod/lignumis/metrics?range=last_two_months&type=mod_downloads)
_________________
![Lignumis poster](https://git.cacklingfiend.info/cacklingfiend/lignumis-assets/raw/branch/main/sources/readme/poster.jpg)
@ -73,6 +74,9 @@ Alternatives: [Burner Leech Fork](https://mods.factorio.com/mod/Burner-Leech-For
- [Wooden Fulgora: Coralmium Agriculture](https://mods.factorio.com/mod/fulgora-coralmium-agriculture)
- [Wooden Aquilo: Seabloom Algaculture](https://mods.factorio.com/mod/aquilo-seabloom-algaculture)
- [Wooden Cerys: Lunaponics](https://mods.factorio.com/mod/cerys-lunaponics)
- [Wooden Moshine: Solaponics](https://mods.factorio.com/mod/moshine-solaponics)
- [Wooden Arig](https://mods.factorio.com/mod/wooden-arig)
#### [Any Planet Start](https://mods.factorio.com/mod/any-planet-start)
@ -117,7 +121,6 @@ _________________
## Problematic / incompatible mods
* The combination of AAI Industry and Any planet start is currently not supported.
* Alien Biomes: Lignumis won't have any trees. It's playable, but not as intended.
* The rest of the Wooden Universe: I marked the ones incompatible that don't make sense to combine or that wouldn't add more that is not already included.
_________________
@ -178,7 +181,7 @@ _________________
- Fix pipe graphics on desiccation furnace and quality assembler
- Trees must not die when absorbing noise
- https://lua-api.factorio.com/latest/types/TreeVariation.html
- https://lua-api.factorio.com/latest/types/TreeVariation.html
- Add information in Factoriopedia
- Compatibility with [On Wayward Seas](https://mods.factorio.com/mod/wayward-seas)
- Compatibility with [Exotic Space Industries](https://mods.factorio.com/mod/exotic-space-industries)
@ -260,4 +263,8 @@ _________________
[Larger Lamps](https://mods.factorio.com/mod/DeadlockLargerLamp)
- Burner lamp
- Burner lamp
Talandar
- Planet graphics

View file

@ -1,4 +1,77 @@
---------------------------------------------------------------------------------------------------
Version: 1.0.72
Date: 01.11.2025
Bug Fixes:
- Move parent planet calculation to data-updates
Changes:
- Buff quality assembling
---------------------------------------------------------------------------------------------------
Version: 1.0.71
Date: 20.10.2025
Changes:
- Use 60 sec crafting time for active noise cancelling to visualise progress
- Reduce energy usage of noise cancelling tower to 500kW
---------------------------------------------------------------------------------------------------
Version: 1.0.70
Date: 07.10.2025
Bug Fixes:
- Any Planet Start: Prevent crashes
---------------------------------------------------------------------------------------------------
Version: 1.0.69
Date: 02.10.2025
Bug Fixes:
- Fix more item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.68
Date: 28.09.2025
Changes:
- Remove enemies from starting area when leaving Lignumis
---------------------------------------------------------------------------------------------------
Version: 1.0.67
Date: 24.09.2025
Changes:
- Reduce energy usage of Active noise cancelling tower
- K2SO: Move K2 starting recipes to Nauvis technologies
Bug Fixes:
- Fix potential crash when escaping to Nauvis
---------------------------------------------------------------------------------------------------
Version: 1.0.66
Date: 21.09.2025
Changes:
- Buff medium wrigglers
- Buff wood liquefaction recipe by 50% for electric assemblers
- Buff Cupriavidus Necator starter recipe chance
Bug Fixes:
- Fix more item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.65
Date: 14.09.2025
Changes:
- Remove warning for Alien Biomes
- Add setting for infinite Astroponics productivity research
Bug Fixes:
- Fix more item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.64
Date: 10.09.2025
Bug Fixes:
- Fix more item weights
- Fix steam assembler scaling with increased energy usage from modules
---------------------------------------------------------------------------------------------------
Version: 1.0.63
Date: 09.09.2025
Changes:
- Wooden belts have half the weight
Bug Fixes:
- Fix vanilla more item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.62
Date: 02.09.2025
Changes:
- Add spanish locales (thanks DFOXpro)
- Add compatibility for Alien Biomes (thanks Chromebomb)
- The lumber mill can be built on Vulcanus again
---------------------------------------------------------------------------------------------------
Version: 1.0.61
Date: 29.08.2025
Changes:

View file

@ -1,10 +1,10 @@
{
"name": "lignumis",
"version": "1.0.61",
"version": "1.0.72",
"title": "Lignumis",
"description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.",
"author": "cackling fiend",
"homepage": "https://discord.gg/5bevXf5W",
"homepage": "https://discord.gg/ufvFUJtVwk",
"factorio_version": "2.0",
"space_travel_required": true,
"dependencies": [

View file

@ -145,6 +145,7 @@ quality-assembler=Quality assembler
aai-wood-loader=Wood loader
basic-ore-crushing=Basic ore crushing
astroponics-productivity=Astroponics productivity
experienced-quality-assembling=Experienced quality assembling
[technology-description]
wood-science-pack=Allows research of basic technologies based on wood products.
@ -190,6 +191,7 @@ lignumis-early-robots=Even earlier personal robots
lignumis-vanilla-lab=Keep vanilla lab recipe
lignumis-double-rocket=Double provisional rocket cargo capacity
lignumis-sciences-spoil=Lignumis science packs spoil
lignumis-infinite-astroponics-productivity-research=Infinite productivity research for Astroponics
[mod-setting-description]
lignumis-belt-progression=Yellow belts will require wood belts to craft.
@ -205,6 +207,7 @@ lignumis-early-robots=Personal robots are moved from steam to wood science and a
lignumis-vanilla-lab=Moves the transport belt recipe to Iron processing so the lab can be crafted with the original recipe without requiring to research logistics.
lignumis-double-rocket=The provisional rocket can carry 80 instead of 40 slots.
lignumis-sciences-spoil=Both wood science packs and steam science packs spoil for additional difficulty.
lignumis-infinite-astroponics-productivity-research=Productivity research for Astroponics is infinite instead of being capped to level 5 (which results in 50% productivity).
[autoplace-control-names]
lignumis_enemy_base=Lignumis enemy bases

View file

@ -0,0 +1,67 @@
-- Lignumis + Alien Biomes Compatibility - Final Fixes
--
-- This runs AFTER alien-biomes data-updates.lua to ensure our fixes aren't overridden
-- Load order: data.lua -> data-updates.lua -> data-final-fixes.lua (THIS FILE)
if not mods["alien-biomes"] then
return
end
-- Define Lignumis grass tiles (from mapgen.lua)
local lignumis_grass_tiles = {
"grass-1",
"grass-2",
"grass-3",
"grass-4",
"natural-gold-soil"
}
-- Fix tree plant for manual planting on Lignumis grass tiles
local tree_plant = data.raw.plant["tree-plant"]
if mods["Diversitree"] then
tree_plant = data.raw.plant["s6xdvt-fake-tree"]
end
if tree_plant then
for _, tile in pairs(lignumis_grass_tiles) do
local already_present = false
for _, existing_tile in pairs(tree_plant.autoplace.tile_restriction) do
if existing_tile == tile then
already_present = true
break
end
end
if not already_present then
table.insert(tree_plant.autoplace.tile_restriction, tile)
end
end
end
-- Fix tree autoplace restrictions for natural tree spawning
for _, tree in pairs(data.raw.tree) do
if tree.autoplace and tree.autoplace.tile_restriction then
-- Skip gold stromatolites - they should remain exclusive to natural-gold-soil
local is_gold_stromatolite = tree.name and (tree.name:find("stromatolite") or tree.name:find("gold"))
if not is_gold_stromatolite then
-- Check if Lignumis grass tiles are missing
local has_lignumis_tiles = false
for _, existing_tile in pairs(tree.autoplace.tile_restriction) do
for _, lignumis_tile in pairs(lignumis_grass_tiles) do
if existing_tile == lignumis_tile then
has_lignumis_tiles = true
break
end
end
if has_lignumis_tiles then break end
end
-- Add Lignumis grass tiles if missing
if not has_lignumis_tiles then
for _, tile_name in pairs(lignumis_grass_tiles) do
table.insert(tree.autoplace.tile_restriction, tile_name)
end
end
end
end
end

View file

@ -6,6 +6,7 @@ settings["small-rock"] = nil
settings["tiny-rock"] = nil
-- Fix trees not being plantable on Alien Biomes tiles
-- Note: Additional tree fixes for Lignumis grass tiles are handled in alien-biomes-final.lua
local tile_restriction = data.raw["plant"]["tree-plant"].autoplace.tile_restriction
for _, tile in pairs(alien_biomes.all_tiles()) do
if tile.tags and (table.contains(tile.tags, "dirt") or table.contains(tile.tags, "grass")) then

View file

@ -4,29 +4,31 @@ if not mods["any-planet-start"] then return end
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" })
-- 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]
Technology:new(planet_discovery)
:assign({
enabled = true,
hidden = false,
unit = {
count = 100,
ingredients = {
{ "wood-science-pack", 1 },
{ "steam-science-pack", 1 }
},
time = 30
}
})
:setPrerequisites({ "provisional-rocketry" })
Technology:new("iron-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
Technology:new("copper-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
if planet_discovery then
Technology:new(planet_discovery)
:assign({
enabled = true,
hidden = false,
unit = {
count = 100,
ingredients = {
{ "wood-science-pack", 1 },
{ "steam-science-pack", 1 }
},
time = 30
}
})
:setPrerequisites({ "provisional-rocketry" })
Technology:new("iron-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
Technology:new("copper-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
end
-- Vulcanus

View file

@ -1,5 +1,6 @@
require("aai-loaders-final")
require("any-planet-start-final")
require("alien-biomes-final")
if not data.raw.technology["legendary-quality"] then
table.removeValue(data.raw.technology["quality-assembler"].prerequisites, "legendary-quality")

View file

@ -1,6 +1,44 @@
local Technology = require("__cf-lib__/data/Technology")
if not mods["Krastorio2-spaced-out"] then return end
data.raw.recipe["burner-inserter"].ingredients = {
{ type = "item", name = "wooden-gear-wheel", amount = 1 },
{ type = "item", name = "lumber", amount = 1 }
}
}
Technology:new("kr-automation-core"):addPrerequisite("iron-processing")
local function lock_recipes(technology, recipes)
local tech = Technology:new(technology)
for _, recipe in pairs(recipes) do
tech:addRecipe(recipe)
data.raw.recipe[recipe].enabled = false
end
end
lock_recipes("iron-processing", {
"iron-stick",
"kr-wind-turbine",
"kr-iron-beam",
"kr-inserter-parts"
})
lock_recipes("copper-processing", {
"copper-cable",
"small-electric-pole"
})
lock_recipes("planet-discovery-nauvis", {
"kr-rare-metals"
})
Technology:new("electronics"):removeRecipe("kr-electronic-circuit-wood")
if settings.startup["kr-realistic-weapons"].value then
local pistol_attack = data.raw.gun["pistol"].attack_parameters
pistol_attack.ammo_categories = pistol_attack.ammo_categories or { pistol_attack.ammo_category }
pistol_attack.ammo_category = nil
table.insert(pistol_attack.ammo_categories, "bullet")
data.raw.recipe["firearm-magazine"].enabled = false
end

View file

@ -22,7 +22,7 @@ data:extend({
max_health = 150,
crafting_speed = 1,
crafting_categories = { "active-noise-cancelling" },
energy_usage = "2MW",
energy_usage = "500kW",
energy_source = {
type = "electric",
usage_priority = "secondary-input",
@ -113,7 +113,7 @@ data:extend({
name = "active-noise-cancelling",
icons = { { icon = Lignumis.graphics .. "icons/active-noise-cancelling.png" } },
enabled = false,
energy_required = 1000000,
energy_required = 60,
ingredients = {},
results = {},
category = "active-noise-cancelling",

View file

@ -78,7 +78,8 @@ data:extend({
drop_sound = item_sounds.mechanical_large_inventory_move,
place_result = "burner-agricultural-tower",
stack_size = 20,
default_import_location = "lignumis"
default_import_location = "lignumis",
weight = 100 * kg
},
{
type = "recipe",

View file

@ -146,7 +146,8 @@ data:extend({
subgroup = "circuit-network", -- Copper lamp under circuit-network
order = "a[lamp]-b[copper-lamp]", -- Copper lamp after large lamp
place_result = "burner-lamp",
stack_size = 50
stack_size = 50,
weight = 20 * kg
},
{
name = "burner-lamp",

View file

@ -435,7 +435,7 @@ make_wriggler("lignumis-small-", 0.2, 10, 0.1,
space_age_sounds.wriggler_pentapod.small
)
make_wriggler("lignumis-medium-", 0.4, 20, 0.2,
make_wriggler("lignumis-medium-", 0.5, 50, 1,
{
mask = fade(lerp_color(gleba_small_mask_tint, { 255, 200, 0, 255 }, 0.4), 0.2),
body = grey_overlay(lerp_color(gleba_small_body_tint, { 255, 0, 0, 255 }, 0.4), 0.2)

View file

@ -84,6 +84,7 @@ local pipe_item = {
place_result = "gold-pipe",
stack_size = 100,
weight = 5 * kg,
default_import_location = "lignumis",
random_tint_color = item_tints.iron_rust
}
@ -159,6 +160,8 @@ local pipe_to_ground_item = {
drop_sound = item_sounds.metal_small_inventory_move,
place_result = "gold-pipe-to-ground",
stack_size = 50,
weight = 5 * kg,
default_import_location = "lignumis",
random_tint_color = item_tints.iron_rust
}
@ -347,7 +350,9 @@ local tank_item = {
pick_sound = item_sounds.metal_large_inventory_pickup,
drop_sound = item_sounds.metal_large_inventory_move,
place_result = "gold-storage-tank",
stack_size = 10
stack_size = 10,
weight = 50 * kg,
default_import_location = "lignumis"
}
local tank_recipe = {

View file

@ -0,0 +1,14 @@
local target_planet = settings.startup["lignumis-second-planet"].value or "nauvis"
if mods["any-planet-start"] then
target_planet = settings.startup["aps-planet"].value ~= "none" and settings.startup["aps-planet"].value or target_planet
end
local lignumis = data.raw.planet["lignumis"]
-- Set final solar power depending on parent planet
local solar_power = data.raw.planet[target_planet].surface_properties["solar-power"] or 100
local solar_power_in_space = data.raw.planet[target_planet].solar_power_in_space or 300
solar_power = solar_power * 1.2
solar_power_in_space = solar_power_in_space * 1.2
lignumis.solar_power_in_space = solar_power_in_space
lignumis.surface_properties["solar-power"] = solar_power

View file

@ -21,11 +21,6 @@ local nauvis_lignumis = {
}
}
local solar_power = data.raw.planet[target_planet].surface_properties["solar-power"] or 100
local solar_power_in_space = data.raw.planet[target_planet].solar_power_in_space or 300
solar_power = solar_power * 1.2
solar_power_in_space = solar_power_in_space * 1.2
PlanetsLib:extend({
{
type = "planet",
@ -53,7 +48,7 @@ PlanetsLib:extend({
map_seed_offset = 100,
map_gen_settings = planet_map_gen,
pollutant_type = "noise",
solar_power_in_space = solar_power_in_space,
solar_power_in_space = 300,
draw_orbit = false,
planet_procession_set = {
arrival = { "default-b" },
@ -63,7 +58,7 @@ PlanetsLib:extend({
["day-night-cycle"] = 2 * minute,
["gravity"] = 4,
["pressure"] = 900,
["solar-power"] = solar_power
["solar-power"] = 100
},
asteroid_spawn_influence = 1,
asteroid_spawn_definitions = asteroid_util.spawn_definitions(nauvis_lignumis, 0.9),

View file

@ -25,7 +25,7 @@ LumberMill.EntityBuilder:new()
surface_conditions = {
{
property = has_oxygen and "oxygen" or "pressure",
min = 10
min = 3
},
{
property = "gravity",

View file

@ -14,7 +14,7 @@ data:extend({
{ type = "fluid", name = "wood-pulp", amount = 100 },
{ type = "fluid", name = "water", amount = 100 }
},
results = { { type = "item", name = "cupriavidus-necator", amount_min = 4, amount_max = 10, probability = 0.1 } },
results = { { type = "item", name = "cupriavidus-necator", amount_min = 4, amount_max = 10, probability = 0.15 } },
result_is_always_fresh = true,
icons = {
{ icon = Lignumis.graphics .. "icons/cupriavidus-necator-1.png" },

View file

@ -43,7 +43,7 @@ data:extend({
drop_sound = item_sounds.metal_small_inventory_move,
stack_size = 50,
fuel_category = "quality-catalyst",
fuel_value = "1MJ",
fuel_value = "2MJ",
weight = 1000 / 50 * kg,
},
{
@ -56,8 +56,8 @@ data:extend({
{ type = "item", name = "tungsten-carbide", amount = 2 },
{ type = "item", name = "supercapacitor", amount = 2 }
},
results = { { type = "item", name = "gold-quality-catalyst", amount = 2 } },
allow_productivity = false,
results = { { type = "item", name = "gold-quality-catalyst", amount = 1 } },
allow_productivity = true,
allow_quality = false,
enabled = false
}
@ -76,8 +76,8 @@ QualityAssembler.EntityBuilder:new()
energy_usage = "1MW",
crafting_speed = 4,
module_slots = 6,
allowed_effects = { "pollution", "quality" },
effect_receiver = { base_effect = { quality = 2.5 } }
allowed_effects = { "consumption", "pollution", "quality" },
effect_receiver = { base_effect = { quality = 3.5 } }
})
QualityAssembler.ItemBuilder:new():apply()
@ -115,6 +115,41 @@ QualityAssembler.TechnologyBuilder:new()
:additionalRecipes({ "gold-quality-catalyst" })
:apply()
data:extend({
{
type = "technology",
name = "experienced-quality-assembling-1",
icons = {
{ icon = "__quality__/graphics/technology/legendary-quality.png", icon_size = 256 },
{ icon = Lignumis.graphics .. "icons/quality-gold-catalyst.png", icon_size = 64, scale = 1, shift = { 50, 50 }, draw_background = true }
},
level = 1,
max_level = 1,
show_levels_info = true,
effects = {
{ type = "change-recipe-productivity", recipe = "gold-quality-catalyst", change = 0.25 }
},
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 1000 },
prerequisites = { "quality-assembler" }
},
{
type = "technology",
name = "experienced-quality-assembling-2",
icons = {
{ icon = "__quality__/graphics/technology/legendary-quality.png", icon_size = 256 },
{ icon = Lignumis.graphics .. "icons/quality-gold-catalyst.png", icon_size = 64, scale = 1, shift = { 50, 50 }, draw_background = true }
},
level = 2,
max_level = 2,
show_levels_info = true,
effects = {
{ type = "change-recipe-productivity", recipe = "gold-quality-catalyst", change = 0.5 }
},
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 10000 },
prerequisites = { "experienced-quality-assembling-1" }
}
})
local function convert_category(name)
local quality_name = name .. "-or-quality-assembling"
data:extend({

View file

@ -31,6 +31,7 @@ assembling_machine.energy_usage = "25kW"
assembling_machine.energy_source = {
type = "fluid",
maximum_temperature = 165,
scale_fluid_usage = true,
effectivity = 1,
emissions_per_minute = { noise = 50 },
fluid_box = {

View file

@ -1 +1,2 @@
require("fuel-category-updates")
require("fuel-category-updates")
require("lignumis/planet-updates")

View file

@ -65,10 +65,10 @@ data:extend({
},
ingredients = {
{ type = "item", name = "wood", amount = 1 },
{ type = "fluid", name = "steam", amount = 5 }
{ type = "fluid", name = "steam", amount = 10 }
},
results = {
{ type = "fluid", name = "wood-pulp", amount = 10 }
{ type = "fluid", name = "wood-pulp", amount = 15 }
},
allow_productivity = true
},

View file

@ -33,9 +33,9 @@ Belt.EntityBuilder:new()
})
local splitter_item = Belt.ItemBuilder:new()
:itemsPerRocket("transportBelt", 100)
:itemsPerRocket("undergroundBelt", 50)
:itemsPerRocket("splitter", 50)
:itemsPerRocket("transportBelt", 200)
:itemsPerRocket("undergroundBelt", 100)
:itemsPerRocket("splitter", 100)
:order("0")
:apply()
.splitter

View file

@ -76,7 +76,8 @@ data:extend({
pick_sound = item_sounds.wood_inventory_pickup,
drop_sound = item_sounds.wood_inventory_move,
stack_size = 100,
weight = 10 * kg
weight = 5 * kg,
default_import_location = "lignumis"
},
{
type = "recipe",

View file

@ -1,38 +1,49 @@
data:extend({
{
type = "technology",
name = "astroponics-productivity",
icons = {
{ icon = "__base__/graphics/icons/wood.png", icon_size = 64 },
{ icon = "__astroponics__/graphics/icons/fluid/liquid-fertilizer.png", shift = { -32, -32 }, scale = 1.2 },
{
icon = "__core__/graphics/icons/technology/constants/constant-recipe-productivity.png",
icon_size = 128,
scale = 0.5,
shift = { 50, 50 },
floating = true
}
},
essential = false,
level = 1,
max_level = 5,
show_levels_info = true,
effects = {
{
type = "change-recipe-productivity",
recipe = "tree-astroponics",
change = 0.1
}
},
prerequisites = { "astroponics", "production-science-pack" },
unit = {
count_formula = "L*250",
ingredients = {
{ "wood-science-pack", 1 },
{ "production-science-pack", 1 },
{ "space-science-pack", 1 },
},
time = 60
local infinite = settings.startup["lignumis-infinite-astroponics-productivity-research"].value
local base_levels = {
type = "technology",
name = "astroponics-productivity",
icons = {
{ icon = "__base__/graphics/icons/wood.png", icon_size = 64 },
{ icon = "__astroponics__/graphics/icons/fluid/liquid-fertilizer.png", shift = { -32, -32 }, scale = 1.2 },
{
icon = "__core__/graphics/icons/technology/constants/constant-recipe-productivity.png",
icon_size = 128,
scale = 0.5,
shift = { 50, 50 },
floating = true
}
},
essential = false,
level = 1,
max_level = 5,
show_levels_info = true,
effects = {
{
type = "change-recipe-productivity",
recipe = "tree-astroponics",
change = 0.1
}
},
prerequisites = { "astroponics", "production-science-pack" },
unit = {
count_formula = "L*250",
ingredients = {
{ "wood-science-pack", 1 },
{ "production-science-pack", 1 },
{ "space-science-pack", 1 },
},
time = 60
}
})
}
data:extend({ base_levels })
if infinite then
local infinite_levels = table.deepcopy(base_levels)
infinite_levels.name = "astroponics-productivity-6"
infinite_levels.max_level = "infinite"
infinite_levels.unit.count_formula = "2^(L-6)*1500"
table.insert(infinite_levels.unit.ingredients, { "agricultural-science-pack", 1 })
infinite_levels.prerequisites = { "astroponics-productivity", "agricultural-science-pack" }
data:extend({ infinite_levels })
end

View file

@ -339,11 +339,30 @@ end
-- Fix item weights
local function set_default_weight(item, items_per_rocket)
data.raw.item[item].weight = data.raw.item[item].weight or 1000 * kg / items_per_rocket
local function set_default_weight(item, items_per_rocket, type)
data.raw[type or "item"][item].weight = data.raw[type or "item"][item].weight or 1000 * kg / items_per_rocket
end
set_default_weight("electronic-circuit", 2000)
set_default_weight("advanced-circuit", 1000)
set_default_weight("processing-unit", 300)
set_default_weight("low-density-structure", 200)
set_default_weight("rocket-fuel", 100)
set_default_weight("rocket-fuel", 100)
set_default_weight("inserter", 50)
set_default_weight("fast-inserter", 50)
set_default_weight("electric-mining-drill", 50)
set_default_weight("pumpjack", 20)
set_default_weight("repair-pack", 100, "repair-tool")
set_default_weight("big-electric-pole", 50)
set_default_weight("assembling-machine-1", 50)
set_default_weight("assembling-machine-2", 50)
set_default_weight("oil-refinery", 10)
set_default_weight("accumulator", 50)
set_default_weight("steam-engine", 10)
set_default_weight("substation", 50)
set_default_weight("radar", 50)
set_default_weight("storage-tank", 50)
set_default_weight("fast-transport-belt", 100)
set_default_weight("fast-underground-belt", 50)
set_default_weight("fast-splitter", 50)
set_default_weight("steel-plate", 400)
set_default_weight("steam-turbine", 10)

View file

@ -67,10 +67,6 @@ Init.events[defines.events.on_player_created] = function(event)
storage.init[event.player_index] = true
if script.active_mods["alien-biomes"] then
game.print("While Alien Biomes is playable with Lignumis, it is not recommended as it prevents trees from being generated on Lignumis.")
end
if not script.active_mods["Burner-Leech-Fork"] and not script.active_mods["Burner-Leech"] and not script.active_mods["InserterFuelLeech"] then
game.print("Lignumis: You are starting a new game without a burner leech mod. The intended experience is to use one of the available options. You can disable such a mod after the burner phase of the game. See the mod page for more details.")
end

View file

@ -25,6 +25,21 @@ local function init_nauvis()
end
-- Removes enemies around the crash site to not mess with the player start
local function clear_enemies()
local nauvis = game.planets[storage.target_planet].surface
local enemies = nauvis.find_entities_filtered({
position = { 0, 0 },
radius = 200,
force = "enemy"
})
for _, enemy in pairs(enemies) do
enemy.destroy()
end
end
-- Teleport player to Nauvis and show welcome message
local function teleport_player(player)
local nauvis = game.planets[storage.target_planet].surface
@ -67,16 +82,19 @@ local function transit_player(player_index)
end
init_nauvis()
clear_enemies()
teleport_player(player)
init_freeplay()
-- Give the player the content of the rocket
if transition.rocket_entry.rocket_content then
local inventory = player.get_main_inventory()
for _, item in pairs(transition.rocket_entry.rocket_content) do
inventory.insert(item)
if inventory then
for _, item in pairs(transition.rocket_entry.rocket_content) do
inventory.insert(item)
end
inventory.sort_and_merge()
end
inventory.sort_and_merge()
end
table.remove(storage.rocket_silos, transition.rocket_entry_index)
end

View file

@ -90,6 +90,13 @@ data:extend({
default_value = false,
order = "m"
},
{
type = "bool-setting",
name = "lignumis-infinite-astroponics-productivity-research",
setting_type = "startup",
default_value = false,
order = "n"
},
{
type = "string-setting",
name = "lignumis-second-planet",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB