Remove dependency for "wood-logistics"
| Before Width: | Height: | Size: 29 MiB | 
| Before Width: | Height: | Size: 7.3 MiB | 
| Before Width: | Height: | Size: 285 KiB | 
| Before Width: | Height: | Size: 408 KiB | 
| Before Width: | Height: | Size: 411 KiB | 
| Before Width: | Height: | Size: 619 KiB | 
| Before Width: | Height: | Size: 110 KiB | 
| Before Width: | Height: | Size: 555 KiB | 
| Before Width: | Height: | Size: 392 KiB | 
| Before Width: | Height: | Size: 441 KiB | 
| Before Width: | Height: | Size: 110 KiB | 
| Before Width: | Height: | Size: 1.6 MiB | 
| Before Width: | Height: | Size: 139 KiB | 
| Before Width: | Height: | Size: 148 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/lumber-1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 7.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/lumber-2.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 7.1 KiB | 
| Before Width: | Height: | Size: 45 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/lumber.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 7.1 KiB | 
| Before Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 17 KiB | 
| Before Width: | Height: | Size: 13 KiB | 
| Before Width: | Height: | Size: 154 KiB | 
| Before Width: | Height: | Size: 127 KiB | 
|  | @ -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" | ||||
|     ] | ||||
| } | ||||
|  | @ -28,6 +28,9 @@ provisional-rocket-silo=Provisional rocket silo | |||
| basic-gun-turret=Basic gun turret | ||||
| basic-construction-robot-gold=Basic construction robot (gold) | ||||
| basic-construction-robot-copper=Basic construction robot (copper) | ||||
| wood-transport-belt=Wood transport belt | ||||
| wood-underground-belt=Wood underground belt | ||||
| wood-splitter=Wood splitter | ||||
| 
 | ||||
| [equipment-name] | ||||
| basic-portable-generator-equipment-gold=Basic portable generator equipment (gold) | ||||
|  | @ -47,6 +50,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. | ||||
|  | @ -82,6 +86,7 @@ provisional-rocketry=Provisional rocketry | |||
| basic-gun-turret=Basic gun turret | ||||
| basic-construction-robotics-gold=Basic construction robotics (gold) | ||||
| basic-construction-robotics-copper=Basic construction robotics (copper) | ||||
| wood-logistics=Wood logistics | ||||
| 
 | ||||
| [tile-name] | ||||
| wood-floor=Wood floor | ||||
|  |  | |||
|  | @ -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 = { | ||||
|  |  | |||
|  | @ -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") | ||||
|  |  | |||
|  | @ -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() | ||||
							
								
								
									
										33
									
								
								lignumis/prototypes/content/lumber.lua
									
										
									
									
									
										Normal 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 | ||||
|     } | ||||
| }) | ||||
|  | @ -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" | ||||
|  |  | |||
							
								
								
									
										46
									
								
								lignumis/prototypes/content/wood-logistics.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,46 @@ | |||
| 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() | ||||
|     :order("0") | ||||
|     :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() | ||||
|  | @ -1,4 +1,4 @@ | |||
| require("vanilla") | ||||
| require("Wood-Walls") | ||||
| require("wood-logistics") | ||||
| --require("wood-logistics") | ||||
| require("wood-military") | ||||
 Simon Brodtmann
						Simon Brodtmann