Remove dependency for "wood-logistics"

This commit is contained in:
Simon Brodtmann 2025-01-06 20:57:52 +01:00
parent 1332014de4
commit 8110034134
33 changed files with 110 additions and 34 deletions

View file

@ -20,7 +20,6 @@ The following mods can be a great addition for this mod:
Sorted by priority
- Make mod "Wooden logistics" optional
- Improve start on Nauvis
- Balance pollution (noise)
- Tweak enemies + warfare (add damage research)
@ -78,3 +77,7 @@ Unsorted
[Zithorian's Extra Storage Tanks](https://mods.factorio.com/mod/zithorian-extra-storage-tanks)
- Gold storage tank
[Wooden Basegame Assets](https://mods.factorio.com/mod/wood-base-assets)
- Lumber

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 619 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

View file

@ -1,19 +1,19 @@
{
"name": "lignumis",
"version": "0.0.3",
"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.",
"author": "cackling fiend",
"homepage": "",
"factorio_version": "2.0",
"dependencies": [
"base",
"space-age >= 2.0.0",
"cf-lib >= 0.0.1",
"wood-military >= 2.0.0",
"Wood-Walls >= 1.2.0",
"wood-logistics >= 2.1.1",
"mf-buildings >= 0.1.0",
"mf-logistics >= 0.1.0"
]
"name": "lignumis",
"version": "0.0.3",
"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.",
"author": "cackling fiend",
"homepage": "",
"factorio_version": "2.0",
"dependencies": [
"base",
"space-age >= 2.0.0",
"cf-lib >= 0.0.1",
"wood-military >= 2.0.0",
"Wood-Walls >= 1.2.0",
"mf-buildings >= 0.1.0",
"mf-logistics >= 0.1.0",
"!wood-logistics"
]
}

View file

@ -47,6 +47,7 @@ gold-cable=Gold cable
moist-stromatolite-remnant=Moist stromatolite remnant
steam-science-pack=Steam science pack
destination-nauvis=Travel to Nauvis
lumber=Lumber
[item-description]
wooden-wall=Use wooden walls to protect your base from the locals and to reduce noise levels.

View file

@ -13,8 +13,7 @@ assembling_machine.crafting_categories = {
"crafting",
"basic-crafting",
"organic-or-assembling",
"wood-processing-or-assembling",
"crafting-or-carpentry"
"wood-processing-or-assembling"
}
assembling_machine.crafting_speed = 0.25
assembling_machine.energy_source = {

View file

@ -19,5 +19,7 @@ require("wooden-rocket-silo")
require("basic-gun-turret")
require("fuel-category")
require("basic-construction-robots")
require("lumber")
require("wood-logistics")
require("noise")

View file

@ -36,14 +36,9 @@ LumberMill.RecipeBuilder:new()
category = "wood-processing-or-assembling"
})
local tech = LumberMill.TechnologyBuilder:new()
LumberMill.TechnologyBuilder:new()
:prerequisites({ "steam-science-pack" })
:build()
tech.unit = {
count = 250,
ingredients = { { "wood-science-pack", 1 }, { "steam-science-pack", 1 } },
time = 15
}
data:extend({ tech })
:count(250)
:time(15)
:ingredients({ { "wood-science-pack", 1 }, { "steam-science-pack", 1 } })
:apply()

View file

@ -0,0 +1,33 @@
local item_sounds = require("__base__.prototypes.item_sounds")
data:extend({
{
type = "item",
name = "lumber",
icon = "__lignumis__/graphics/icons/lumber.png",
pictures = {
{ filename = "__lignumis__/graphics/icons/lumber.png", size = 64, scale = 0.5, mipmap_count = 4 },
{ filename = "__lignumis__/graphics/icons/lumber-1.png", size = 64, scale = 0.5, mipmap_count = 4 },
{ filename = "__lignumis__/graphics/icons/lumber-2.png", size = 64, scale = 0.5, mipmap_count = 4 },
},
subgroup = "intermediate-product",
order = "A[basic-intermediates]-c[lumber]",
inventory_move_sound = item_sounds.wood_inventory_move,
pick_sound = item_sounds.wood_inventory_pickup,
drop_sound = item_sounds.wood_inventory_move,
stack_size = 100,
random_tint_color = { 1.0, 0.95, 0.9, 1.0 },
fuel_category = "wood",
fuel_value = "4MJ"
},
{
type = "recipe",
name = "lumber",
category = "wood-processing-or-assembling",
allow_productivity = true,
allow_as_intermediate = true,
ingredients = { { type = "item", name = "wood", amount = 2 } },
results = { { type = "item", name = "lumber", amount = 1 } },
energy_required = 2
}
})

View file

@ -16,8 +16,7 @@ assembling_machine.crafting_categories = {
"basic-crafting",
"organic-or-assembling",
"wood-processing-or-assembling",
"crafting-with-fluid",
"crafting-or-carpentry"
"crafting-with-fluid"
}
assembling_machine.crafting_speed = 0.5
assembling_machine.energy_usage = "25kW"

View file

@ -0,0 +1,44 @@
local BeltFactory = require(MF.logistics .. "Belts")
local Belt = BeltFactory("wood", "brown", "slow")
Belt.EntityBuilder:new()
:itemsPerSecond(7.5)
:nextTier("")
:undergroundDistance(4)
:apply({
transportBelt = {
emissions_per_second = { noise = 0.01 }
},
undergroundBelt = {
emissions_per_second = { noise = 0.1 }
},
splitter = {
emissions_per_second = { noise = 1 }
}
})
Belt.ItemBuilder:new():apply()
Belt.RecipeBuilder:new()
:beltAmount(2)
:ingredients("transportBelt", {
{ type = "item", name = "lumber", amount = 1 },
{ type = "item", name = "wooden-gear-wheel", amount = 1 }
})
:ingredients("undergroundBelt", {
{ type = "item", name = "lumber", amount = 1 },
{ type = "item", name = "wood-transport-belt", amount = 4 },
})
:ingredients("splitter", {
{ type = "item", name = "lumber", amount = 2 },
{ type = "item", name = "wooden-gear-wheel", amount = 5 },
{ type = "item", name = "wood-transport-belt", amount = 2 },
})
:apply()
Belt.TechnologyBuilder:new()
:prerequisites({ "wood-science-pack" })
:ingredients({ { "wood-science-pack", 1 } })
:count(10)
:time(10)
:apply()

View file

@ -1,4 +1,4 @@
require("vanilla")
require("Wood-Walls")
require("wood-logistics")
--require("wood-logistics")
require("wood-military")