WIP
|  | @ -1,11 +1,3 @@ | |||
| require("prototypes/planet/noise") | ||||
| require("prototypes/planet/autoplace-controls") | ||||
| require("prototypes/planet/lignumis") | ||||
| require("prototypes/entity") | ||||
| require("prototypes/item") | ||||
| require("prototypes/recipe") | ||||
| require("prototypes/content/data") | ||||
| require("prototypes/integrations/data") | ||||
| require("prototypes/technology") | ||||
| require("prototypes/integrations/vanilla") | ||||
| require("prototypes/integrations/Wood-Walls") | ||||
| require("prototypes/integrations/wood-logistics") | ||||
| require("prototypes/noise") | ||||
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-base.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.8 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-1-1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.8 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-1-2.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.8 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-10.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 7.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-3.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.6 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-4.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.6 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-5-1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.3 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-5-2.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.3 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-5.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 4.3 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-6.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 1.6 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-7-1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-7-2.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.1 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-7.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.1 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-8.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 389 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-crane-9.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 7.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-agricultural-tower-remnants.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 131 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-assembling-machine-remnants.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 244 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-assembling-machine.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.2 MiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-inserter-hand-base.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 8.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-inserter-hand-closed.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-inserter-hand-open.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-inserter-platform.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/entity/burner-inserter-remnants.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 48 KiB | 
| After Width: | Height: | Size: 8.9 KiB | 
| After Width: | Height: | Size: 14 KiB | 
| After Width: | Height: | Size: 14 KiB | 
| After Width: | Height: | Size: 41 KiB | 
| After Width: | Height: | Size: 49 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/burner-agricultural-tower.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/burner-assembling-machine.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 15 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/burner-inserter.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 11 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/burner-long-handed-inserter.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 11 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/icons/peat.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										
											BIN
										
									
								
								lignumis/graphics/technology/burner-automation.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 119 KiB | 
|  | @ -11,6 +11,7 @@ | |||
|       "space-age >= 2.0.0", | ||||
|       "wood-military >= 2.0.0", | ||||
|       "Wood-Walls >= 1.2.0", | ||||
|       "WoodDeposit >= 1.0.0" | ||||
|       "wood-logistics >= 2.1.1", | ||||
|       "Burner-Leech-Fork >= 1.0.0" | ||||
|    ] | ||||
| } | ||||
|  | @ -9,17 +9,27 @@ noise=Noise | |||
| 
 | ||||
| [entity-name] | ||||
| wood-lab=Wood lab | ||||
| peat=Peat | ||||
| burner-agricultural-tower=Burner agricultural tower | ||||
| burner-assembling-machine=Burner assembling machine | ||||
| burner-long-handed-inserter=Burner long handed inserter | ||||
| 
 | ||||
| [item-name] | ||||
| wooden-gear-wheel=Wooden gear wheel | ||||
| wood-science-pack=Wood science pack | ||||
| peat=Peat | ||||
| 
 | ||||
| [item-description] | ||||
| wooden-wall=Use wooden walls to protect your base from the locals and to reduce noise levels. | ||||
| 
 | ||||
| [technology-name] | ||||
| wood-science-pack=Wood science pack | ||||
| burner-automation=Burner automation | ||||
| planet-discovery-nauvis=Planet discovery Nauvis | ||||
| iron-processing=Iron processing | ||||
| 
 | ||||
| [tile-name] | ||||
| wood-floor=Wood floor | ||||
| 
 | ||||
| [lignumis] | ||||
| start-new-game=Lignumis is meant to be played in a fresh game as it extends the early game before Nauvis. | ||||
							
								
								
									
										92
									
								
								lignumis/prototypes/content/burner-agricultural-tower.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,92 @@ | |||
| local item_sounds = require("__base__.prototypes.item_sounds") | ||||
| 
 | ||||
| local agricultural_tower = util.copy(data.raw["agricultural-tower"]["agricultural-tower"]) | ||||
| agricultural_tower.name = "burner-agricultural-tower" | ||||
| agricultural_tower.minable.result = "burner-agricultural-tower" | ||||
| agricultural_tower.next_upgrade = "agricultural-tower" | ||||
| agricultural_tower.corpses = "burner-agricultural-tower-remnants" | ||||
| agricultural_tower.icon = "__lignumis__/graphics/icons/burner-agricultural-tower.png" | ||||
| agricultural_tower.graphics_set.animation.layers[1].filename = "__lignumis__/graphics/entity/burner-agricultural-tower-base.png" | ||||
| agricultural_tower.graphics_set.working_visualisations[1].animation.filename = "__lignumis__/graphics/entity/burner-agricultural-tower-base.png" | ||||
| agricultural_tower.energy_source = { | ||||
|     type = "burner", | ||||
|     fuel_categories = { "chemical" }, | ||||
|     effectivity = 1, | ||||
|     fuel_inventory_size = 1, | ||||
|     emissions_per_minute = { noise = 4 } | ||||
| } | ||||
| agricultural_tower.resistances = nil | ||||
| agricultural_tower.input_inventory_size = 1 | ||||
| agricultural_tower.radius = 2 | ||||
| 
 | ||||
| local crane = agricultural_tower.crane | ||||
| crane.parts[1].rotated_sprite.filenames = { "__lignumis__/graphics/entity/burner-agricultural-tower-crane-1-1.png", "__lignumis__/graphics/entity/burner-agricultural-tower-crane-1-2.png" } | ||||
| crane.parts[2].rotated_sprite.filename = "__lignumis__/graphics/entity/burner-agricultural-tower-crane-3.png" | ||||
| crane.parts[3].rotated_sprite.filename = "__lignumis__/graphics/entity/burner-agricultural-tower-crane-4.png" | ||||
| crane.parts[4].rotated_sprite.filenames = { "__lignumis__/graphics/entity/burner-agricultural-tower-crane-5-1.png", "__lignumis__/graphics/entity/burner-agricultural-tower-crane-5-2.png" } | ||||
| crane.parts[5].rotated_sprite.filename = "__lignumis__/graphics/entity/burner-agricultural-tower-crane-6.png" | ||||
| crane.parts[6].rotated_sprite.filenames = { "__lignumis__/graphics/entity/burner-agricultural-tower-crane-7-1.png", "__lignumis__/graphics/entity/burner-agricultural-tower-crane-7-2.png" } | ||||
| crane.parts[7].rotated_sprite.filename = "__lignumis__/graphics/entity/burner-agricultural-tower-crane-8.png" | ||||
| crane.parts[8].sprite.filename = "__lignumis__/graphics/entity/burner-agricultural-tower-crane-9.png" | ||||
| crane.parts[9].sprite.filename = "__lignumis__/graphics/entity/burner-agricultural-tower-crane-10.png" | ||||
| crane.speed = { | ||||
|     arm = { | ||||
|         turn_rate = 0.001, | ||||
|         extension_speed = 0.0025 | ||||
|     }, | ||||
|     grappler = { | ||||
|         vertical_turn_rate = 0.001, | ||||
|         horizontal_turn_rate = 0.005, | ||||
|         extension_speed = 0.005, | ||||
|         allow_transpolar_movement = true | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| local remnants = util.copy(data.raw["corpse"]["agricultural-tower-remnants"]) | ||||
| remnants.name = "burner-agricultural-tower-remnants" | ||||
| remnants.icon = "__lignumis__/graphics/icons/burner-agricultural-tower.png" | ||||
| remnants.animation.filename = "__lignumis__/graphics/entity/burner-agricultural-tower-remnants.png" | ||||
| remnants.order = "a[0-burner-agricultural-tower]" | ||||
| 
 | ||||
| data:extend({ | ||||
|     agricultural_tower, | ||||
|     remnants, | ||||
|     { | ||||
|         type = "item", | ||||
|         name = "burner-agricultural-tower", | ||||
|         icon = "__lignumis__/graphics/icons/burner-agricultural-tower.png", | ||||
|         subgroup = "agriculture", | ||||
|         order = "a[0-burner-agricultural-tower]", | ||||
|         inventory_move_sound = item_sounds.mechanical_large_inventory_move, | ||||
|         pick_sound = item_sounds.mechanical_large_inventory_pickup, | ||||
|         drop_sound = item_sounds.mechanical_large_inventory_move, | ||||
|         place_result = "burner-agricultural-tower", | ||||
|         stack_size = 20, | ||||
|         default_import_location = "lignumis" | ||||
|     }, | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "burner-agricultural-tower", | ||||
|         energy_required = 10, | ||||
|         ingredients = { | ||||
|             { type = "item", name = "stone-brick", amount = 5 }, | ||||
|             { type = "item", name = "wooden-gear-wheel", amount = 20 }, | ||||
|             { type = "item", name = "lumber", amount = 20 } | ||||
|         }, | ||||
|         results = { { type = "item", name = "burner-agricultural-tower", amount = 1 } }, | ||||
|         enabled = false | ||||
|     } | ||||
| }) | ||||
| 
 | ||||
| local tech = data.raw.technology["tree-seeding"] | ||||
| table.insert(tech.effects, { type = "unlock-recipe", recipe = "burner-agricultural-tower" }) | ||||
| tech.prerequisites = { "wood-science-pack" } | ||||
| tech.unit = { | ||||
|     count = 10, | ||||
|     ingredients = { | ||||
|         { "wood-science-pack", 1 } | ||||
|     }, | ||||
|     time = 15 | ||||
| } | ||||
| 
 | ||||
| data.raw.technology["fish-breeding"].prerequisites = { "agricultural-science-pack" } | ||||
							
								
								
									
										79
									
								
								lignumis/prototypes/content/burner-assembling-machine.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,79 @@ | |||
| local item_sounds = require("__base__.prototypes.item_sounds") | ||||
| 
 | ||||
| local assembling_machine = util.copy(data.raw["assembling-machine"]["assembling-machine-1"]) | ||||
| assembling_machine.name = "burner-assembling-machine" | ||||
| assembling_machine.icon = "__lignumis__/graphics/icons/burner-assembling-machine.png" | ||||
| assembling_machine.minable.result = "burner-assembling-machine" | ||||
| assembling_machine.next_upgrade = "assembling-machine-1" | ||||
| assembling_machine.corpses = "burner-assembling-machine-remnants" | ||||
| assembling_machine.resistances = nil | ||||
| assembling_machine.graphics_set.animation.layers[1].filename = "__lignumis__/graphics/entity/burner-assembling-machine.png" | ||||
| assembling_machine.crafting_categories = { "crafting", "basic-crafting", "organic-or-assembling" } | ||||
| assembling_machine.crafting_speed = 0.25 | ||||
| assembling_machine.energy_source = { | ||||
|     type = "burner", | ||||
|     fuel_categories = { "chemical" }, | ||||
|     effectivity = 1, | ||||
|     fuel_inventory_size = 1, | ||||
|     emissions_per_minute = { noise = 20 } | ||||
| } | ||||
| 
 | ||||
| local remnants = util.copy(data.raw["corpse"]["assembling-machine-1-remnants"]) | ||||
| remnants.name = "burner-assembling-machine-remnants" | ||||
| remnants.icon = "__lignumis__/graphics/icons/burner-assembling-machine.png" | ||||
| remnants.animation[1].filename = "__lignumis__/graphics/entity/burner-assembling-machine-remnants.png" | ||||
| remnants.animation[2].filename = "__lignumis__/graphics/entity/burner-assembling-machine-remnants.png" | ||||
| remnants.animation[3].filename = "__lignumis__/graphics/entity/burner-assembling-machine-remnants.png" | ||||
| remnants.order = "a[0-burner-assembling-machine]" | ||||
| 
 | ||||
| data:extend({ | ||||
|     assembling_machine, | ||||
|     remnants, | ||||
|     { | ||||
|         type = "item", | ||||
|         name = "burner-assembling-machine", | ||||
|         icon = "__lignumis__/graphics/icons/burner-assembling-machine.png", | ||||
|         subgroup = "production-machine", | ||||
|         order = "a[0-burner-assembling-machine]", | ||||
|         inventory_move_sound = item_sounds.mechanical_inventory_move, | ||||
|         pick_sound = item_sounds.mechanical_inventory_pickup, | ||||
|         drop_sound = item_sounds.mechanical_inventory_move, | ||||
|         place_result = "burner-assembling-machine", | ||||
|         stack_size = 50 | ||||
|     }, | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "burner-assembling-machine", | ||||
|         enabled = false, | ||||
|         ingredients = { | ||||
|             { type = "item", name = "wooden-gear-wheel", amount = 5 }, | ||||
|             { type = "item", name = "lumber", amount = 8 }, | ||||
|             { type = "item", name = "copper-cable", amount = 20 } | ||||
|         }, | ||||
|         results = { { type = "item", name = "burner-assembling-machine", amount = 1 } }, | ||||
|         energy_required = 4 | ||||
|     }, | ||||
|     { | ||||
|         type = "technology", | ||||
|         name = "burner-automation", | ||||
|         icon = "__lignumis__/graphics/technology/burner-automation.png", | ||||
|         icon_size = 256, | ||||
|         effects = { | ||||
|             { | ||||
|                 type = "unlock-recipe", | ||||
|                 recipe = "burner-assembling-machine" | ||||
|             }, | ||||
|             { | ||||
|                 type = "unlock-recipe", | ||||
|                 recipe = "burner-long-handed-inserter" | ||||
|             } | ||||
|         }, | ||||
|         prerequisites = { "wood-science-pack" }, | ||||
|         unit = { | ||||
|             count = 10, | ||||
|             ingredients = { { "wood-science-pack", 1 } }, | ||||
|             time = 10 | ||||
|         }, | ||||
|         ignore_tech_cost_multiplier = true | ||||
|     } | ||||
| }) | ||||
							
								
								
									
										69
									
								
								lignumis/prototypes/content/burner-long-handed-inserter.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,69 @@ | |||
| local item_sounds = require("__base__.prototypes.item_sounds") | ||||
| 
 | ||||
| local long_handed_inserter = util.copy(data.raw["inserter"]["long-handed-inserter"]) | ||||
| long_handed_inserter.name = "burner-long-handed-inserter" | ||||
| long_handed_inserter.icon = "__lignumis__/graphics/icons/burner-long-handed-inserter.png" | ||||
| long_handed_inserter.minable.result = "burner-long-handed-inserter" | ||||
| long_handed_inserter.next_upgrade = "long-handed-inserter" | ||||
| long_handed_inserter.corpse = "burner-long-handed-inserter-remnants" | ||||
| long_handed_inserter.resistances = nil | ||||
| long_handed_inserter.hand_base_picture.filename = "__lignumis__/graphics/entity/burner-long-handed-inserter-hand-base.png" | ||||
| long_handed_inserter.hand_closed_picture.filename = "__lignumis__/graphics/entity/burner-long-handed-inserter-hand-closed.png" | ||||
| long_handed_inserter.hand_open_picture.filename = "__lignumis__/graphics/entity/burner-long-handed-inserter-hand-open.png" | ||||
| long_handed_inserter.platform_picture.sheet.filename = "__lignumis__/graphics/entity/burner-long-handed-inserter-platform.png" | ||||
| long_handed_inserter.energy_per_movement = "100kJ" | ||||
| long_handed_inserter.energy_per_rotation = "100kJ" | ||||
| long_handed_inserter.energy_source = { | ||||
|     type = "burner", | ||||
|     fuel_categories = { "chemical" }, | ||||
|     effectivity = 1, | ||||
|     fuel_inventory_size = 1, | ||||
|     light_flicker = { color = { 0, 0, 0 } }, | ||||
|     smoke = { | ||||
|         { | ||||
|             name = "smoke", | ||||
|             deviation = { 0.1, 0.1 }, | ||||
|             frequency = 9 | ||||
|         } | ||||
|     } | ||||
| } | ||||
| long_handed_inserter.extension_speed = 0.035 | ||||
| long_handed_inserter.rotation_speed = 0.014 | ||||
| 
 | ||||
| local remnants = util.copy(data.raw["corpse"]["long-handed-inserter-remnants"]) | ||||
| remnants.name = "burner-long-handed-inserter-remnants" | ||||
| remnants.icon = "__lignumis__/graphics/icons/burner-long-handed-inserter.png" | ||||
| remnants.animation[1].filename = "__lignumis__/graphics/entity/burner-long-handed-inserter-remnants.png" | ||||
| remnants.animation[2].filename = "__lignumis__/graphics/entity/burner-long-handed-inserter-remnants.png" | ||||
| remnants.animation[3].filename = "__lignumis__/graphics/entity/burner-long-handed-inserter-remnants.png" | ||||
| remnants.animation[4].filename = "__lignumis__/graphics/entity/burner-long-handed-inserter-remnants.png" | ||||
| remnants.order = "a-c-0" | ||||
| 
 | ||||
| data:extend({ | ||||
|     long_handed_inserter, | ||||
|     remnants, | ||||
|     { | ||||
|         type = "item", | ||||
|         name = "burner-long-handed-inserter", | ||||
|         icon = "__lignumis__/graphics/icons/burner-long-handed-inserter.png", | ||||
|         subgroup = "inserter", | ||||
|         color_hint = { text = "L" }, | ||||
|         order = "c[0-burner-long-handed-inserter]", | ||||
|         inventory_move_sound = item_sounds.inserter_inventory_move, | ||||
|         pick_sound = item_sounds.inserter_inventory_pickup, | ||||
|         drop_sound = item_sounds.inserter_inventory_move, | ||||
|         place_result = "burner-long-handed-inserter", | ||||
|         stack_size = 50 | ||||
|     }, | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "burner-long-handed-inserter", | ||||
|         enabled = false, | ||||
|         ingredients = { | ||||
|             { type = "item", name = "wooden-gear-wheel", amount = 1 }, | ||||
|             { type = "item", name = "burner-inserter", amount = 1 }, | ||||
|             { type = "item", name = "copper-cable", amount = 4 } | ||||
|         }, | ||||
|         results = { { type = "item", name = "burner-long-handed-inserter", amount = 1 } } | ||||
|     } | ||||
| }) | ||||
							
								
								
									
										11
									
								
								lignumis/prototypes/content/data.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,11 @@ | |||
| require("lignumis/planet") | ||||
| require("lignumis/autoplace-controls") | ||||
| require("wooden-gearwheel") | ||||
| require("peat") | ||||
| require("wood-lab") | ||||
| require("wood-science") | ||||
| require("burner-agricultural-tower") | ||||
| require("burner-assembling-machine") | ||||
| require("burner-long-handed-inserter") | ||||
| 
 | ||||
| require("noise") | ||||
|  | @ -1,12 +1,9 @@ | |||
| local resource_autoplace = require("resource-autoplace") | ||||
| 
 | ||||
| resource_autoplace.initialize_patch_set("lignumis_copper", true) | ||||
| resource_autoplace.initialize_patch_set("lignumis_peat", true) | ||||
| 
 | ||||
| data:extend({ | ||||
|     { | ||||
|         type = "autoplace-control", | ||||
|         name = "lignumis_iron", | ||||
|         localised_name = {"", "[entity=iron-ore] ", {"entity-name.iron-ore"}}, | ||||
|         richness = true, | ||||
|         order = "0-a", | ||||
|         category = "resource" | ||||
|     }, | ||||
|     { | ||||
|         type = "autoplace-control", | ||||
|         name = "lignumis_copper", | ||||
|  | @ -14,5 +11,13 @@ data:extend({ | |||
|         richness = true, | ||||
|         order = "0-b", | ||||
|         category = "resource" | ||||
|     }, | ||||
|     { | ||||
|         type = "autoplace-control", | ||||
|         name = "lignumis_peat", | ||||
|         localised_name = {"", "[entity=peat] ", {"entity-name.peat"}}, | ||||
|         richness = true, | ||||
|         order = "0-c", | ||||
|         category = "resource" | ||||
|     } | ||||
| }) | ||||
|  | @ -1,23 +1,19 @@ | |||
| return { | ||||
|     aux_climate_control = false, | ||||
|     moisture_climate_control = false, | ||||
|     property_expression_names = | ||||
|     { -- Warning: anything set here overrides any selections made in the map setup screen so the options do nothing. | ||||
|     property_expression_names = { -- Warning: anything set here overrides any selections made in the map setup screen so the options do nothing. | ||||
|         --cliff_elevation = "cliff_elevation_nauvis", | ||||
|         --cliffiness = "cliffiness_nauvis", | ||||
|         --elevation = "elevation_island" | ||||
|     }, | ||||
|     cliff_settings = | ||||
|     { | ||||
|     cliff_settings = { | ||||
|         name = "cliff", | ||||
|         control = "nauvis_cliff", | ||||
|         cliff_smoothing = 0 | ||||
|     }, | ||||
|     autoplace_controls = | ||||
|     { | ||||
|         ["lignumis_iron"] = {}, | ||||
|         ["lignumis_copper"] = {}, | ||||
|         ["wood-deposit"] = {}, | ||||
|     autoplace_controls = { | ||||
|         ["lignumis_copper"] = { richness = "very-poor", frequency = "low", size = "big" }, | ||||
|         ["lignumis_peat"] = { richness = "poor", frequency = "very-high", size = "small" }, | ||||
|         ["stone"] = {}, | ||||
|         ["water"] = {}, | ||||
|         ["trees"] = {}, | ||||
|  | @ -25,12 +21,9 @@ return { | |||
|         ["rocks"] = {}, | ||||
|         ["nauvis_cliff"] = {} | ||||
|     }, | ||||
|     autoplace_settings = | ||||
|     { | ||||
|         ["tile"] = | ||||
|         { | ||||
|             settings = | ||||
|             { | ||||
|     autoplace_settings = { | ||||
|         ["tile"] = { | ||||
|             settings = { | ||||
|                 ["grass-1"] = {}, | ||||
|                 ["grass-2"] = {}, | ||||
|                 ["grass-3"] = {}, | ||||
|  | @ -46,10 +39,8 @@ return { | |||
|                 ["deepwater"] = {} | ||||
|             } | ||||
|         }, | ||||
|         ["decorative"] = | ||||
|         { | ||||
|             settings = | ||||
|             { | ||||
|         ["decorative"] = { | ||||
|             settings = { | ||||
|                 ["brown-hairy-grass"] = {}, | ||||
|                 ["green-hairy-grass"] = {}, | ||||
|                 ["brown-carpet-grass"] = {}, | ||||
|  | @ -80,17 +71,13 @@ return { | |||
|                 ["tiny-rock"] = {} | ||||
|             } | ||||
|         }, | ||||
|         ["entity"] = | ||||
|         { | ||||
|             settings = | ||||
|             { | ||||
|                 ["iron-ore"] = {}, | ||||
|         ["entity"] = { | ||||
|             settings = { | ||||
|                 ["copper-ore"] = {}, | ||||
|                 ["stone"] = {}, | ||||
|                 ["wood-deposit"] = {}, | ||||
|                 ["peat"] = {}, | ||||
|                 ["fish"] = {}, | ||||
|                 ["big-sand-rock"] = {}, | ||||
|                 ["huge-rock"] = {}, | ||||
|                 ["big-rock"] = {}, | ||||
|             } | ||||
|         } | ||||
|  | @ -1,7 +1,7 @@ | |||
| local planet_map_gen = require("prototypes/planet/mapgen") | ||||
| local planet_map_gen = require("mapgen") | ||||
| local effects = require("__core__/lualib/surface-render-parameter-effects") | ||||
| local procession_graphic_catalogue_types = require("__base__/prototypes/planet/procession-graphic-catalogue-types") | ||||
| local asteroid_util = require("__space-age__.prototypes.planet.asteroid-spawn-definitions") | ||||
| local asteroid_util = require("__space-age__/prototypes/planet/asteroid-spawn-definitions") | ||||
| 
 | ||||
| local lignumis_chunks = 0.025 | ||||
| local nauvis_lignumis = { | ||||
|  | @ -28,7 +28,7 @@ data:extend({ | |||
|         magnitude = 0.35, | ||||
|         order = "a[lignumis]", | ||||
|         subgroup = "planets", | ||||
|         map_seed_offset = 0, | ||||
|         map_seed_offset = 100, | ||||
|         map_gen_settings = planet_map_gen, | ||||
|         pollutant_type = "noise", | ||||
|         solar_power_in_space = 300, | ||||
							
								
								
									
										29
									
								
								lignumis/prototypes/content/noise.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,29 @@ | |||
| data:extend({ | ||||
|     { | ||||
|         type = "airborne-pollutant", | ||||
|         name = "noise", | ||||
|         chart_color = { r = 183, g = 0, b = 225, a = 149 }, | ||||
|         icon = { | ||||
|             filename = "__core__/graphics/icons/mip/side-map-menu-buttons.png", | ||||
|             priority = "high", | ||||
|             size = 64, | ||||
|             mipmap_count = 2, | ||||
|             y = 3 * 64, | ||||
|             flags = { "gui-icon" } | ||||
|         }, | ||||
|         affects_evolution = true, | ||||
|         affects_water_tint = false, | ||||
|     } | ||||
| }) | ||||
| 
 | ||||
| data.raw["unit-spawner"]["spitter-spawner"].absorptions_per_second.noise = { absolute = 20, proportional = 0.01 } | ||||
| data.raw["unit-spawner"]["biter-spawner"].absorptions_per_second.noise = { absolute = 20, proportional = 0.01 } | ||||
| 
 | ||||
| for _, tree in pairs(data.raw.tree) do | ||||
|     if tree.emissions_per_second then | ||||
|         tree.emissions_per_second.noise = -0.01 | ||||
|     end | ||||
| end | ||||
| 
 | ||||
| data.raw.furnace["stone-furnace"].energy_source.emissions_per_minute.noise = 4 | ||||
| data.raw["mining-drill"]["burner-mining-drill"].energy_source.emissions_per_minute.noise = 12 | ||||
							
								
								
									
										88
									
								
								lignumis/prototypes/content/peat.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,88 @@ | |||
| local sounds = require("__base__.prototypes.entity.sounds") | ||||
| local resource_autoplace = require("resource-autoplace") | ||||
| local item_sounds = require("__base__.prototypes.item_sounds") | ||||
| 
 | ||||
| local grass_driving_sound = { | ||||
|     sound = { | ||||
|         filename = "__base__/sound/driving/vehicle-surface-grass.ogg", volume = 0.5, | ||||
|         advanced_volume_control = { fades = { fade_in = { curve_type = "cosine", from = { control = 0.5, volume_percentage = 0.0 }, to = { 1.5, 100.0 } } } } | ||||
|     }, | ||||
|     fade_ticks = 6 | ||||
| } | ||||
| 
 | ||||
| data:extend({ | ||||
|     { | ||||
|         type = "resource", | ||||
|         name = "peat", | ||||
|         icon = "__lignumis__/graphics/icons/peat.png", | ||||
|         flags = { "placeable-neutral" }, | ||||
|         order = "a-b-b", | ||||
|         tree_removal_probability = 0.1, | ||||
|         tree_removal_max_distance = 32 * 32, | ||||
|         minable = { | ||||
|             count = 2, | ||||
|             mining_particle = "wooden-particle", | ||||
|             mining_time = 1, | ||||
|             results = { | ||||
|                 { | ||||
|                     type = "item", | ||||
|                     name = "peat", | ||||
|                     amount = 2 | ||||
|                 }, | ||||
|                 { | ||||
|                     type = "item", | ||||
|                     name = "wood", | ||||
|                     amount_min = 1, | ||||
|                     amount_max = 8, | ||||
|                     probability = 0.05 | ||||
|                 } | ||||
|             } | ||||
|         }, | ||||
|         walking_sound = sounds.plant, | ||||
|         driving_sound = grass_driving_sound, | ||||
|         collision_box = { { -0.1, -0.1 }, { 0.1, 0.1 } }, | ||||
|         selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } }, | ||||
|         autoplace = resource_autoplace.resource_autoplace_settings { | ||||
|             name = "lignumis_peat", | ||||
|             order = "b", | ||||
|             base_density = 2, | ||||
|             base_spots_per_km2 = 5, | ||||
|             has_starting_area_placement = true, | ||||
|             regular_rq_factor_multiplier = 1, | ||||
|             starting_rq_factor_multiplier = 1, | ||||
|             candidate_spot_count = 21 | ||||
|         }, | ||||
|         stage_counts = { 15000, 9500, 5500, 2900, 1300, 400, 150, 80 }, | ||||
|         stages = { | ||||
|             sheet = { | ||||
|                 filename = "__base__/graphics/entity/iron-ore/iron-ore.png", | ||||
|                 priority = "extra-high", | ||||
|                 size = 128, | ||||
|                 frame_count = 8, | ||||
|                 variation_count = 8, | ||||
|                 scale = 0.5, | ||||
|                 tint = { b = 0.24, g = 0.50, r = 0.79 } | ||||
|             } | ||||
|         }, | ||||
|         map_color = { 0.4, 0.2470, 0.1176 }, | ||||
|         mining_visualisation_tint = { b = 0.24, g = 0.50, r = 0.79 }, | ||||
|         factoriopedia_simulation = { | ||||
|             init = "    game.simulation.camera_position = {0, -0.5}\n\n    game.surfaces[1].create_entity{name = \"peat\", position = {-2.5, -2.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-1.5, -2.5}, amount = 100}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-0.5, -2.5}, amount = 500}\n    game.surfaces[1].create_entity{name = \"peat\", position = {1.5, -2.5}, amount = 150}\n    game.surfaces[1].create_entity{name = \"peat\", position = {0.5, -2.5}, amount = 200}\n    game.surfaces[1].create_entity{name = \"peat\", position = {2.5, -2.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-4.5, -0.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-3.5, -1.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-3.5, -0.5}, amount = 150}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-2.5, -1.5}, amount = 150}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-2.5, -0.5}, amount = 650}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-0.5, -0.5}, amount = 1000}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-1.5, -0.5}, amount = 850}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-0.5, -1.5}, amount = 800}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-1.5, -1.5}, amount = 650}\n    game.surfaces[1].create_entity{name = \"peat\", position = {1.5, -1.5}, amount = 450}\n    game.surfaces[1].create_entity{name = \"peat\", position = {1.5, -0.5}, amount = 1000}\n    game.surfaces[1].create_entity{name = \"peat\", position = {0.5, -0.5}, amount = 1050}\n    game.surfaces[1].create_entity{name = \"peat\", position = {0.5, -1.5}, amount = 850}\n    game.surfaces[1].create_entity{name = \"peat\", position = {3.5, -1.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {3.5, -0.5}, amount = 250}\n    game.surfaces[1].create_entity{name = \"peat\", position = {2.5, -1.5}, amount = 250}\n    game.surfaces[1].create_entity{name = \"peat\", position = {2.5, -0.5}, amount = 500}\n    game.surfaces[1].create_entity{name = \"peat\", position = {4.5, -0.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-2.5, 1.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-3.5, 0.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-2.5, 0.5}, amount = 200}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-1.5, 1.5}, amount = 150}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-0.5, 1.5}, amount = 550}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-0.5, 0.5}, amount = 850}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-1.5, 0.5}, amount = 700}\n    game.surfaces[1].create_entity{name = \"peat\", position = {1.5, 1.5}, amount = 250}\n    game.surfaces[1].create_entity{name = \"peat\", position = {0.5, 1.5}, amount = 300}\n    game.surfaces[1].create_entity{name = \"peat\", position = {1.5, 0.5}, amount = 550}\n    game.surfaces[1].create_entity{name = \"peat\", position = {0.5, 0.5}, amount = 1000}\n    game.surfaces[1].create_entity{name = \"peat\", position = {3.5, 1.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {2.5, 1.5}, amount = 150}\n    game.surfaces[1].create_entity{name = \"peat\", position = {3.5, 0.5}, amount = 150}\n    game.surfaces[1].create_entity{name = \"peat\", position = {2.5, 0.5}, amount = 300}\n    game.surfaces[1].create_entity{name = \"peat\", position = {4.5, 0.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {-0.5, 2.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {1.5, 2.5}, amount = 50}\n    game.surfaces[1].create_entity{name = \"peat\", position = {2.5, 2.5}, amount = 50}\n  " | ||||
|         } | ||||
|     }, | ||||
|     { | ||||
|         type = "item", | ||||
|         name = "peat", | ||||
|         icon = "__lignumis__/graphics/icons/peat.png", | ||||
|         subgroup = "raw-resource", | ||||
|         order = "a[peat]", | ||||
|         inventory_move_sound = item_sounds.landfill_inventory_move, | ||||
|         pick_sound = item_sounds.landfill_inventory_pickup, | ||||
|         drop_sound = item_sounds.landfill_inventory_move, | ||||
|         stack_size = 100, | ||||
|         weight = 2 * kg, | ||||
|         random_tint_color = item_tints.iron_rust, | ||||
|         fuel_category = "chemical", | ||||
|         fuel_value = "8MJ", | ||||
|     } | ||||
| }) | ||||
|  | @ -1,3 +1,5 @@ | |||
| local item_sounds = require("__base__.prototypes.item_sounds") | ||||
| 
 | ||||
| data:extend({ | ||||
|     { | ||||
|         type = "lab", | ||||
|  | @ -127,5 +129,29 @@ data:extend({ | |||
|             {inventory_index = defines.inventory.lab_modules, shift = {0, 0.9}}, | ||||
|             {inventory_index = defines.inventory.lab_input, shift = {0, 0}, max_icons_per_row = 4, separation_multiplier = 1/1.1} | ||||
|         }, | ||||
|     }, | ||||
|     { | ||||
|         type = "item", | ||||
|         name = "wood-lab", | ||||
|         icon = "__lignumis__/graphics/icons/wood-lab.png", | ||||
|         subgroup = "production-machine", | ||||
|         order = "z[lab]", | ||||
|         inventory_move_sound = item_sounds.lab_inventory_move, | ||||
|         pick_sound = item_sounds.lab_inventory_pickup, | ||||
|         drop_sound = item_sounds.lab_inventory_move, | ||||
|         place_result = "wood-lab", | ||||
|         stack_size = 10 | ||||
|     }, | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "wood-lab", | ||||
|         energy_required = 2, | ||||
|         ingredients = { | ||||
|             { type = "item", name = "lumber", amount = 10 }, | ||||
|             { type = "item", name = "wooden-gear-wheel", amount = 10 }, | ||||
|             { type = "item", name = "stone-brick", amount = 10 } | ||||
|         }, | ||||
|         results = { { type = "item", name = "wood-lab", amount = 1 } }, | ||||
|         enabled = false | ||||
|     } | ||||
| }) | ||||
|  | @ -2,30 +2,6 @@ local item_tints = require("__base__.prototypes.item-tints") | |||
| local item_sounds = require("__base__.prototypes.item_sounds") | ||||
| 
 | ||||
| data:extend({ | ||||
|     { | ||||
|         type = "item", | ||||
|         name = "wooden-gear-wheel", | ||||
|         icon = "__lignumis__/graphics/icons/wooden-gear-wheel.png", | ||||
|         subgroup = "intermediate-product", | ||||
|         order = "a[basic-intermediates]-a[wooden-gear-wheel]", | ||||
|         inventory_move_sound = item_sounds.metal_small_inventory_move, | ||||
|         pick_sound = item_sounds.metal_small_inventory_pickup, | ||||
|         drop_sound = item_sounds.metal_small_inventory_move, | ||||
|         stack_size = 100, | ||||
|         random_tint_color = item_tints.iron_rust | ||||
|     }, | ||||
|     { | ||||
|         type = "item", | ||||
|         name = "wood-lab", | ||||
|         icon = "__lignumis__/graphics/icons/wood-lab.png", | ||||
|         subgroup = "production-machine", | ||||
|         order = "z[lab]", | ||||
|         inventory_move_sound = item_sounds.lab_inventory_move, | ||||
|         pick_sound = item_sounds.lab_inventory_pickup, | ||||
|         drop_sound = item_sounds.lab_inventory_move, | ||||
|         place_result = "wood-lab", | ||||
|         stack_size = 10 | ||||
|     }, | ||||
|     { | ||||
|         type = "tool", | ||||
|         name = "wood-science-pack", | ||||
|  | @ -44,5 +20,21 @@ data:extend({ | |||
|         factoriopedia_durability_description_key = "description.factoriopedia-science-pack-remaining-amount-key", | ||||
|         durability_description_value = "description.science-pack-remaining-amount-value", | ||||
|         random_tint_color = item_tints.iron_rust | ||||
|     }, | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "wood-science-pack", | ||||
|         enabled = false, | ||||
|         energy_required = 5, | ||||
|         ingredients = { | ||||
|             { type = "item", name = "wooden-gear-wheel", amount = 1 }, | ||||
|             { type = "item", name = "stone-brick", amount = 1 } | ||||
|         }, | ||||
|         results = { { type = "item", name = "wood-science-pack", amount = 1 } }, | ||||
|         crafting_machine_tint = { | ||||
|             primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 }, | ||||
|             secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 }, | ||||
|         }, | ||||
|         allow_productivity = true | ||||
|     } | ||||
| }) | ||||
							
								
								
									
										24
									
								
								lignumis/prototypes/content/wooden-gearwheel.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,24 @@ | |||
| local item_tints = require("__base__.prototypes.item-tints") | ||||
| local item_sounds = require("__base__.prototypes.item_sounds") | ||||
| 
 | ||||
| data:extend({ | ||||
|     { | ||||
|         type = "item", | ||||
|         name = "wooden-gear-wheel", | ||||
|         icon = "__lignumis__/graphics/icons/wooden-gear-wheel.png", | ||||
|         subgroup = "intermediate-product", | ||||
|         order = "a[basic-intermediates]-a[wooden-gear-wheel]", | ||||
|         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 = item_tints.iron_rust | ||||
|     }, | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "wooden-gear-wheel", | ||||
|         ingredients = { { type = "item", name = "lumber", amount = 1 } }, | ||||
|         results = { { type = "item", name = "wooden-gear-wheel", amount = 1 } }, | ||||
|         allow_productivity = true | ||||
|     } | ||||
| }) | ||||
|  | @ -3,4 +3,4 @@ recipe.ingredients = { { type = "item", name = "lumber", amount = 4 } } | |||
| recipe.results = { { type = "item", name = "wooden-wall", amount = 1 } } | ||||
| 
 | ||||
| local entity = data.raw.wall["wooden-wall"] | ||||
| entity.emissions_per_second = { noise = -0.25 } | ||||
| entity.emissions_per_second = { noise = -0.1 } | ||||
							
								
								
									
										3
									
								
								lignumis/prototypes/integrations/data.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,3 @@ | |||
| require("vanilla") | ||||
| require("Wood-Walls") | ||||
| require("wood-logistics") | ||||
|  | @ -1,9 +1,10 @@ | |||
| -- Burner mining drill | ||||
| 
 | ||||
| local drill = data.raw["mining-drill"]["burner-mining-drill"] | ||||
| local drill_animation = drill.graphics_set.animation | ||||
| drill.resource_searching_radius = 1.99 | ||||
| drill.icon = "__lignumis__/graphics/icons/burner-mining-drill.png" | ||||
| drill.impact_category = "wood" | ||||
| drill.energy_source.emissions_per_minute.noise = 12 | ||||
| drill_animation.north.layers[1].filename = "__lignumis__/graphics/entity/burner-mining-drill-N.png" | ||||
| drill_animation.east.layers[1].filename = "__lignumis__/graphics/entity/burner-mining-drill-E.png" | ||||
| drill_animation.south.layers[1].filename = "__lignumis__/graphics/entity/burner-mining-drill-S.png" | ||||
|  | @ -19,6 +20,45 @@ drill_recipe.ingredients = { | |||
|     { type = "item", name = "lumber", amount = 3 } | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| -- Burner inserter | ||||
| 
 | ||||
| local burner_inserter = data.raw["inserter"]["burner-inserter"] | ||||
| burner_inserter.icon = "__lignumis__/graphics/icons/burner-inserter.png" | ||||
| burner_inserter.hand_base_picture.filename = "__lignumis__/graphics/entity/burner-inserter-hand-base.png" | ||||
| burner_inserter.hand_closed_picture.filename = "__lignumis__/graphics/entity/burner-inserter-hand-closed.png" | ||||
| burner_inserter.hand_open_picture.filename = "__lignumis__/graphics/entity/burner-inserter-hand-open.png" | ||||
| burner_inserter.platform_picture.sheet.filename = "__lignumis__/graphics/entity/burner-inserter-platform.png" | ||||
| 
 | ||||
| data.raw.item["burner-inserter"].icon = "__lignumis__/graphics/icons/burner-inserter.png" | ||||
| 
 | ||||
| data.raw.recipe["burner-inserter"].ingredients = { | ||||
|     { type = "item", name = "wooden-gear-wheel", amount = 1 }, | ||||
|     { type = "item", name = "lumber", amount = 1 } | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| -- Wood processing | ||||
| 
 | ||||
| local wood_processing = data.raw.recipe["wood-processing"] | ||||
| wood_processing.ingredients[1].amount = 1 | ||||
| wood_processing.icon = data.raw.item["tree-seed"].icon | ||||
| 
 | ||||
| local tree_seed = data.raw.item["tree-seed"] | ||||
| tree_seed.fuel_category = nil | ||||
| tree_seed.fuel_value = nil | ||||
| 
 | ||||
| data.raw.plant["tree-plant"].growth_ticks = 5 * minute | ||||
| 
 | ||||
| 
 | ||||
| -- Disable iron recipes | ||||
| 
 | ||||
| data.raw.recipe["iron-plate"].enabled = false | ||||
| data.raw.recipe["iron-gear-wheel"].enabled = false | ||||
| data.raw.recipe["iron-chest"].enabled = false | ||||
| 
 | ||||
| 
 | ||||
| -- Temp | ||||
| local electronics_technology = data.raw.technology["electronics"] | ||||
| electronics_technology.research_trigger = nil | ||||
| electronics_technology.prerequisites = { "wood-science-pack" } | ||||
|  |  | |||
|  | @ -145,4 +145,11 @@ logistics_technology.icon = "__lignumis__/graphics/technology/wood-logistics.png | |||
| logistics_technology.prerequisites = { "wood-science-pack" } | ||||
| logistics_technology.unit.ingredients = { { "wood-science-pack", 1 } } | ||||
| 
 | ||||
| data.raw.recipe["wood-transport-belt"].ingredients[1] = { type = "item", name = "wooden-gear-wheel", amount = 1 } | ||||
| data.raw.recipe["wood-transport-belt"].ingredients = { | ||||
|     { type = "item", name = "wooden-gear-wheel", amount = 1 }, | ||||
|     { type = "item", name = "lumber", amount = 1 } | ||||
| } | ||||
| 
 | ||||
| local lumber = data.raw.item["lumber"] | ||||
| lumber.fuel_category = "chemical" | ||||
| lumber.fuel_value = "4MJ" | ||||
|  | @ -1,7 +0,0 @@ | |||
| for _, tree in pairs(data.raw.tree) do | ||||
|     if tree.emissions_per_second then | ||||
|         tree.emissions_per_second.noise = -0.1 | ||||
|     end | ||||
| end | ||||
| 
 | ||||
| data.raw.furnace["stone-furnace"].energy_source.emissions_per_minute.noise = 4 | ||||
|  | @ -1,17 +0,0 @@ | |||
| data:extend({ | ||||
|     { | ||||
|         type = "airborne-pollutant", | ||||
|         name = "noise", | ||||
|         chart_color = { r = 183, g = 0, b = 225, a = 149 }, | ||||
|         icon = { | ||||
|             filename = "__core__/graphics/icons/mip/side-map-menu-buttons.png", | ||||
|             priority = "high", | ||||
|             size = 64, | ||||
|             mipmap_count = 2, | ||||
|             y = 3 * 64, | ||||
|             flags = { "gui-icon" } | ||||
|         }, | ||||
|         affects_evolution = true, | ||||
|         affects_water_tint = false, | ||||
|     } | ||||
| }) | ||||
|  | @ -1,37 +0,0 @@ | |||
| data:extend({ | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "wooden-gear-wheel", | ||||
|         ingredients = { { type = "item", name = "lumber", amount = 2 } }, | ||||
|         results = { { type = "item", name = "wooden-gear-wheel", amount = 1 } }, | ||||
|         allow_productivity = true | ||||
|     }, | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "wood-lab", | ||||
|         energy_required = 2, | ||||
|         ingredients = { | ||||
|             { type = "item", name = "lumber", amount = 10 }, | ||||
|             { type = "item", name = "wooden-gear-wheel", amount = 10 }, | ||||
|             { type = "item", name = "stone-brick", amount = 10 } | ||||
|         }, | ||||
|         results = { { type = "item", name = "wood-lab", amount = 1 } }, | ||||
|         enabled = false | ||||
|     }, | ||||
|     { | ||||
|         type = "recipe", | ||||
|         name = "wood-science-pack", | ||||
|         enabled = false, | ||||
|         energy_required = 5, | ||||
|         ingredients = { | ||||
|             { type = "item", name = "wooden-gear-wheel", amount = 1 }, | ||||
|             { type = "item", name = "stone-brick", amount = 1 } | ||||
|         }, | ||||
|         results = { { type = "item", name = "wood-science-pack", amount = 1 } }, | ||||
|         crafting_machine_tint = { | ||||
|             primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 }, | ||||
|             secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 }, | ||||
|         }, | ||||
|         allow_productivity = true | ||||
|     } | ||||
| }) | ||||
|  | @ -43,5 +43,32 @@ data:extend({ | |||
|             }, | ||||
|             time = 10 | ||||
|         } | ||||
|     }, | ||||
|     { | ||||
|         type = "technology", | ||||
|         name = "iron-processing", | ||||
|         icon = "__base__/graphics/icons/iron-plate.png", | ||||
|         icon_size = 64, | ||||
|         essential = true, | ||||
|         effects = { | ||||
|             { | ||||
|                 type = "unlock-recipe", | ||||
|                 recipe = "iron-plate" | ||||
|             }, | ||||
|             { | ||||
|                 type = "unlock-recipe", | ||||
|                 recipe = "iron-chest" | ||||
|             }, | ||||
|             { | ||||
|                 type = "unlock-recipe", | ||||
|                 recipe = "iron-gear-wheel" | ||||
|             } | ||||
|         }, | ||||
|         prerequisites = { "planet-discovery-nauvis" }, | ||||
|         research_trigger = { | ||||
|             type = "craft-item", | ||||
|             item = "iron-ore", | ||||
|             count = 10 | ||||
|         } | ||||
|     } | ||||
| }) | ||||
 Simon Brodtmann
						Simon Brodtmann