diff --git a/lignumis/data.lua b/lignumis/data.lua index 339e13b..21a41f5 100644 --- a/lignumis/data.lua +++ b/lignumis/data.lua @@ -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") \ No newline at end of file diff --git a/lignumis/graphics/entity/burner-agricultural-tower-base.png b/lignumis/graphics/entity/burner-agricultural-tower-base.png new file mode 100644 index 0000000..3ab9e11 Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-base.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-1-1.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-1-1.png new file mode 100644 index 0000000..2edf9f2 Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-1-1.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-1-2.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-1-2.png new file mode 100644 index 0000000..1ef0eeb Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-1-2.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-10.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-10.png new file mode 100644 index 0000000..64a672d Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-10.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-3.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-3.png new file mode 100644 index 0000000..0aef4fb Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-3.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-4.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-4.png new file mode 100644 index 0000000..defd6ca Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-4.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-5-1.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-5-1.png new file mode 100644 index 0000000..e1ccf76 Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-5-1.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-5-2.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-5-2.png new file mode 100644 index 0000000..3ca4fc3 Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-5-2.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-5.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-5.png new file mode 100644 index 0000000..6ff323e Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-5.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-6.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-6.png new file mode 100644 index 0000000..071788d Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-6.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-7-1.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-7-1.png new file mode 100644 index 0000000..f088100 Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-7-1.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-7-2.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-7-2.png new file mode 100644 index 0000000..cc9806b Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-7-2.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-7.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-7.png new file mode 100644 index 0000000..2788fbe Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-7.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-8.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-8.png new file mode 100644 index 0000000..f463d20 Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-8.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-crane-9.png b/lignumis/graphics/entity/burner-agricultural-tower-crane-9.png new file mode 100644 index 0000000..8aeea9f Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-crane-9.png differ diff --git a/lignumis/graphics/entity/burner-agricultural-tower-remnants.png b/lignumis/graphics/entity/burner-agricultural-tower-remnants.png new file mode 100644 index 0000000..ed3de1f Binary files /dev/null and b/lignumis/graphics/entity/burner-agricultural-tower-remnants.png differ diff --git a/lignumis/graphics/entity/burner-assembling-machine-remnants.png b/lignumis/graphics/entity/burner-assembling-machine-remnants.png new file mode 100644 index 0000000..24e758c Binary files /dev/null and b/lignumis/graphics/entity/burner-assembling-machine-remnants.png differ diff --git a/lignumis/graphics/entity/burner-assembling-machine.png b/lignumis/graphics/entity/burner-assembling-machine.png new file mode 100644 index 0000000..881645a Binary files /dev/null and b/lignumis/graphics/entity/burner-assembling-machine.png differ diff --git a/lignumis/graphics/entity/burner-inserter-hand-base.png b/lignumis/graphics/entity/burner-inserter-hand-base.png new file mode 100644 index 0000000..4a8c833 Binary files /dev/null and b/lignumis/graphics/entity/burner-inserter-hand-base.png differ diff --git a/lignumis/graphics/entity/burner-inserter-hand-closed.png b/lignumis/graphics/entity/burner-inserter-hand-closed.png new file mode 100644 index 0000000..74e2aae Binary files /dev/null and b/lignumis/graphics/entity/burner-inserter-hand-closed.png differ diff --git a/lignumis/graphics/entity/burner-inserter-hand-open.png b/lignumis/graphics/entity/burner-inserter-hand-open.png new file mode 100644 index 0000000..974f958 Binary files /dev/null and b/lignumis/graphics/entity/burner-inserter-hand-open.png differ diff --git a/lignumis/graphics/entity/burner-inserter-platform.png b/lignumis/graphics/entity/burner-inserter-platform.png new file mode 100644 index 0000000..4eac826 Binary files /dev/null and b/lignumis/graphics/entity/burner-inserter-platform.png differ diff --git a/lignumis/graphics/entity/burner-inserter-remnants.png b/lignumis/graphics/entity/burner-inserter-remnants.png new file mode 100644 index 0000000..24a71e7 Binary files /dev/null and b/lignumis/graphics/entity/burner-inserter-remnants.png differ diff --git a/lignumis/graphics/entity/burner-long-handed-inserter-hand-base.png b/lignumis/graphics/entity/burner-long-handed-inserter-hand-base.png new file mode 100644 index 0000000..9d6d1f1 Binary files /dev/null and b/lignumis/graphics/entity/burner-long-handed-inserter-hand-base.png differ diff --git a/lignumis/graphics/entity/burner-long-handed-inserter-hand-closed.png b/lignumis/graphics/entity/burner-long-handed-inserter-hand-closed.png new file mode 100644 index 0000000..e766d79 Binary files /dev/null and b/lignumis/graphics/entity/burner-long-handed-inserter-hand-closed.png differ diff --git a/lignumis/graphics/entity/burner-long-handed-inserter-hand-open.png b/lignumis/graphics/entity/burner-long-handed-inserter-hand-open.png new file mode 100644 index 0000000..2e0ff56 Binary files /dev/null and b/lignumis/graphics/entity/burner-long-handed-inserter-hand-open.png differ diff --git a/lignumis/graphics/entity/burner-long-handed-inserter-platform.png b/lignumis/graphics/entity/burner-long-handed-inserter-platform.png new file mode 100644 index 0000000..c937ddd Binary files /dev/null and b/lignumis/graphics/entity/burner-long-handed-inserter-platform.png differ diff --git a/lignumis/graphics/entity/burner-long-handed-inserter-remnants.png b/lignumis/graphics/entity/burner-long-handed-inserter-remnants.png new file mode 100644 index 0000000..36e4ca0 Binary files /dev/null and b/lignumis/graphics/entity/burner-long-handed-inserter-remnants.png differ diff --git a/lignumis/graphics/icons/burner-agricultural-tower.png b/lignumis/graphics/icons/burner-agricultural-tower.png new file mode 100644 index 0000000..083a878 Binary files /dev/null and b/lignumis/graphics/icons/burner-agricultural-tower.png differ diff --git a/lignumis/graphics/icons/burner-assembling-machine.png b/lignumis/graphics/icons/burner-assembling-machine.png new file mode 100644 index 0000000..fc7efb5 Binary files /dev/null and b/lignumis/graphics/icons/burner-assembling-machine.png differ diff --git a/lignumis/graphics/icons/burner-inserter.png b/lignumis/graphics/icons/burner-inserter.png new file mode 100644 index 0000000..ecb6520 Binary files /dev/null and b/lignumis/graphics/icons/burner-inserter.png differ diff --git a/lignumis/graphics/icons/burner-long-handed-inserter.png b/lignumis/graphics/icons/burner-long-handed-inserter.png new file mode 100644 index 0000000..d9700e3 Binary files /dev/null and b/lignumis/graphics/icons/burner-long-handed-inserter.png differ diff --git a/lignumis/graphics/icons/peat.png b/lignumis/graphics/icons/peat.png new file mode 100644 index 0000000..1b1a341 Binary files /dev/null and b/lignumis/graphics/icons/peat.png differ diff --git a/lignumis/graphics/technology/burner-automation.png b/lignumis/graphics/technology/burner-automation.png new file mode 100644 index 0000000..559d285 Binary files /dev/null and b/lignumis/graphics/technology/burner-automation.png differ diff --git a/lignumis/info.json b/lignumis/info.json index 5781f68..d3c8440 100644 --- a/lignumis/info.json +++ b/lignumis/info.json @@ -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" ] } \ No newline at end of file diff --git a/lignumis/locale/en/strings.cfg b/lignumis/locale/en/strings.cfg index 7c7019e..56866e0 100644 --- a/lignumis/locale/en/strings.cfg +++ b/lignumis/locale/en/strings.cfg @@ -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. \ No newline at end of file diff --git a/lignumis/prototypes/content/burner-agricultural-tower.lua b/lignumis/prototypes/content/burner-agricultural-tower.lua new file mode 100644 index 0000000..e25faf3 --- /dev/null +++ b/lignumis/prototypes/content/burner-agricultural-tower.lua @@ -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" } \ No newline at end of file diff --git a/lignumis/prototypes/content/burner-assembling-machine.lua b/lignumis/prototypes/content/burner-assembling-machine.lua new file mode 100644 index 0000000..8605f8b --- /dev/null +++ b/lignumis/prototypes/content/burner-assembling-machine.lua @@ -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 + } +}) \ No newline at end of file diff --git a/lignumis/prototypes/content/burner-long-handed-inserter.lua b/lignumis/prototypes/content/burner-long-handed-inserter.lua new file mode 100644 index 0000000..4b0d42c --- /dev/null +++ b/lignumis/prototypes/content/burner-long-handed-inserter.lua @@ -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 } } + } +}) \ No newline at end of file diff --git a/lignumis/prototypes/content/data.lua b/lignumis/prototypes/content/data.lua new file mode 100644 index 0000000..d4e20ce --- /dev/null +++ b/lignumis/prototypes/content/data.lua @@ -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") diff --git a/lignumis/prototypes/planet/autoplace-controls.lua b/lignumis/prototypes/content/lignumis/autoplace-controls.lua similarity index 53% rename from lignumis/prototypes/planet/autoplace-controls.lua rename to lignumis/prototypes/content/lignumis/autoplace-controls.lua index db9df48..a7a5fd4 100644 --- a/lignumis/prototypes/planet/autoplace-controls.lua +++ b/lignumis/prototypes/content/lignumis/autoplace-controls.lua @@ -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" } }) \ No newline at end of file diff --git a/lignumis/prototypes/planet/mapgen.lua b/lignumis/prototypes/content/lignumis/mapgen.lua similarity index 78% rename from lignumis/prototypes/planet/mapgen.lua rename to lignumis/prototypes/content/lignumis/mapgen.lua index 40fd712..414d056 100644 --- a/lignumis/prototypes/planet/mapgen.lua +++ b/lignumis/prototypes/content/lignumis/mapgen.lua @@ -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"] = {}, } } diff --git a/lignumis/prototypes/planet/lignumis.lua b/lignumis/prototypes/content/lignumis/planet.lua similarity index 96% rename from lignumis/prototypes/planet/lignumis.lua rename to lignumis/prototypes/content/lignumis/planet.lua index a1af36a..9be32f1 100644 --- a/lignumis/prototypes/planet/lignumis.lua +++ b/lignumis/prototypes/content/lignumis/planet.lua @@ -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, diff --git a/lignumis/prototypes/content/noise.lua b/lignumis/prototypes/content/noise.lua new file mode 100644 index 0000000..827f0bf --- /dev/null +++ b/lignumis/prototypes/content/noise.lua @@ -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 \ No newline at end of file diff --git a/lignumis/prototypes/content/peat.lua b/lignumis/prototypes/content/peat.lua new file mode 100644 index 0000000..3b9476a --- /dev/null +++ b/lignumis/prototypes/content/peat.lua @@ -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", + } +}) \ No newline at end of file diff --git a/lignumis/prototypes/entity.lua b/lignumis/prototypes/content/wood-lab.lua similarity index 83% rename from lignumis/prototypes/entity.lua rename to lignumis/prototypes/content/wood-lab.lua index a6f6778..ceb8be1 100644 --- a/lignumis/prototypes/entity.lua +++ b/lignumis/prototypes/content/wood-lab.lua @@ -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 } }) \ No newline at end of file diff --git a/lignumis/prototypes/item.lua b/lignumis/prototypes/content/wood-science.lua similarity index 53% rename from lignumis/prototypes/item.lua rename to lignumis/prototypes/content/wood-science.lua index f555873..59af19b 100644 --- a/lignumis/prototypes/item.lua +++ b/lignumis/prototypes/content/wood-science.lua @@ -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 } }) \ No newline at end of file diff --git a/lignumis/prototypes/content/wooden-gearwheel.lua b/lignumis/prototypes/content/wooden-gearwheel.lua new file mode 100644 index 0000000..2e77fdb --- /dev/null +++ b/lignumis/prototypes/content/wooden-gearwheel.lua @@ -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 + } +}) \ No newline at end of file diff --git a/lignumis/prototypes/integrations/Wood-Walls.lua b/lignumis/prototypes/integrations/Wood-Walls.lua index 4c55c8b..697f62f 100644 --- a/lignumis/prototypes/integrations/Wood-Walls.lua +++ b/lignumis/prototypes/integrations/Wood-Walls.lua @@ -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 } \ No newline at end of file +entity.emissions_per_second = { noise = -0.1 } \ No newline at end of file diff --git a/lignumis/prototypes/integrations/data.lua b/lignumis/prototypes/integrations/data.lua new file mode 100644 index 0000000..c5ffc9b --- /dev/null +++ b/lignumis/prototypes/integrations/data.lua @@ -0,0 +1,3 @@ +require("vanilla") +require("Wood-Walls") +require("wood-logistics") \ No newline at end of file diff --git a/lignumis/prototypes/integrations/vanilla.lua b/lignumis/prototypes/integrations/vanilla.lua index 572767d..4ab7edf 100644 --- a/lignumis/prototypes/integrations/vanilla.lua +++ b/lignumis/prototypes/integrations/vanilla.lua @@ -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" } diff --git a/lignumis/prototypes/integrations/wood-logistics.lua b/lignumis/prototypes/integrations/wood-logistics.lua index 6704eaf..2372d7f 100644 --- a/lignumis/prototypes/integrations/wood-logistics.lua +++ b/lignumis/prototypes/integrations/wood-logistics.lua @@ -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 } \ No newline at end of file +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" \ No newline at end of file diff --git a/lignumis/prototypes/noise.lua b/lignumis/prototypes/noise.lua deleted file mode 100644 index 4e62eb2..0000000 --- a/lignumis/prototypes/noise.lua +++ /dev/null @@ -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 \ No newline at end of file diff --git a/lignumis/prototypes/planet/noise.lua b/lignumis/prototypes/planet/noise.lua deleted file mode 100644 index 11ba739..0000000 --- a/lignumis/prototypes/planet/noise.lua +++ /dev/null @@ -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, - } -}) \ No newline at end of file diff --git a/lignumis/prototypes/recipe.lua b/lignumis/prototypes/recipe.lua deleted file mode 100644 index 4054116..0000000 --- a/lignumis/prototypes/recipe.lua +++ /dev/null @@ -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 - } -}) \ No newline at end of file diff --git a/lignumis/prototypes/technology.lua b/lignumis/prototypes/technology.lua index d34bf55..159db26 100644 --- a/lignumis/prototypes/technology.lua +++ b/lignumis/prototypes/technology.lua @@ -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 + } } }) \ No newline at end of file diff --git a/sources/entity/burner-agricultural-tower-base.afphoto b/sources/entity/burner-agricultural-tower-base.afphoto new file mode 100644 index 0000000..46bfc42 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-base.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-1-1.afphoto b/sources/entity/burner-agricultural-tower-crane-1-1.afphoto new file mode 100644 index 0000000..8bae083 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-1-1.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-1-2.afphoto b/sources/entity/burner-agricultural-tower-crane-1-2.afphoto new file mode 100644 index 0000000..05fc5bd Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-1-2.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-10.afphoto b/sources/entity/burner-agricultural-tower-crane-10.afphoto new file mode 100644 index 0000000..a17746b Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-10.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-3.afphoto b/sources/entity/burner-agricultural-tower-crane-3.afphoto new file mode 100644 index 0000000..6fb0a23 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-3.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-4.afphoto b/sources/entity/burner-agricultural-tower-crane-4.afphoto new file mode 100644 index 0000000..53176f9 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-4.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-5-1.afphoto b/sources/entity/burner-agricultural-tower-crane-5-1.afphoto new file mode 100644 index 0000000..937c2d2 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-5-1.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-5-2.afphoto b/sources/entity/burner-agricultural-tower-crane-5-2.afphoto new file mode 100644 index 0000000..8ce55b6 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-5-2.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-5.afphoto b/sources/entity/burner-agricultural-tower-crane-5.afphoto new file mode 100644 index 0000000..e0c442d Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-5.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-6.afphoto b/sources/entity/burner-agricultural-tower-crane-6.afphoto new file mode 100644 index 0000000..c296939 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-6.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-7-1.afphoto b/sources/entity/burner-agricultural-tower-crane-7-1.afphoto new file mode 100644 index 0000000..7386a5e Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-7-1.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-7-2.afphoto b/sources/entity/burner-agricultural-tower-crane-7-2.afphoto new file mode 100644 index 0000000..8599507 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-7-2.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-7.afphoto b/sources/entity/burner-agricultural-tower-crane-7.afphoto new file mode 100644 index 0000000..98b8aec Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-7.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-8.afphoto b/sources/entity/burner-agricultural-tower-crane-8.afphoto new file mode 100644 index 0000000..a82c368 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-8.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-crane-9.afphoto b/sources/entity/burner-agricultural-tower-crane-9.afphoto new file mode 100644 index 0000000..6144d37 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-crane-9.afphoto differ diff --git a/sources/entity/burner-agricultural-tower-remnants.afphoto b/sources/entity/burner-agricultural-tower-remnants.afphoto new file mode 100644 index 0000000..9489c35 Binary files /dev/null and b/sources/entity/burner-agricultural-tower-remnants.afphoto differ diff --git a/sources/entity/burner-assembling-machine-remnants.afphoto b/sources/entity/burner-assembling-machine-remnants.afphoto new file mode 100644 index 0000000..d4d95cb Binary files /dev/null and b/sources/entity/burner-assembling-machine-remnants.afphoto differ diff --git a/sources/entity/burner-assembling-machine.afphoto b/sources/entity/burner-assembling-machine.afphoto new file mode 100644 index 0000000..0c613fd Binary files /dev/null and b/sources/entity/burner-assembling-machine.afphoto differ diff --git a/sources/entity/burner-inserter-hand-base.afphoto b/sources/entity/burner-inserter-hand-base.afphoto new file mode 100644 index 0000000..c7f4287 Binary files /dev/null and b/sources/entity/burner-inserter-hand-base.afphoto differ diff --git a/sources/entity/burner-inserter-hand-closed.afphoto b/sources/entity/burner-inserter-hand-closed.afphoto new file mode 100644 index 0000000..ae9f5e1 Binary files /dev/null and b/sources/entity/burner-inserter-hand-closed.afphoto differ diff --git a/sources/entity/burner-inserter-hand-open.afphoto b/sources/entity/burner-inserter-hand-open.afphoto new file mode 100644 index 0000000..36db657 Binary files /dev/null and b/sources/entity/burner-inserter-hand-open.afphoto differ diff --git a/sources/entity/burner-inserter-platform.afphoto b/sources/entity/burner-inserter-platform.afphoto new file mode 100644 index 0000000..f616708 Binary files /dev/null and b/sources/entity/burner-inserter-platform.afphoto differ diff --git a/sources/entity/burner-inserter-remnants.afphoto b/sources/entity/burner-inserter-remnants.afphoto new file mode 100644 index 0000000..7ef592c Binary files /dev/null and b/sources/entity/burner-inserter-remnants.afphoto differ diff --git a/sources/entity/burner-long-handed-inserter-hand-base.afphoto b/sources/entity/burner-long-handed-inserter-hand-base.afphoto new file mode 100644 index 0000000..ef6642c Binary files /dev/null and b/sources/entity/burner-long-handed-inserter-hand-base.afphoto differ diff --git a/sources/entity/burner-long-handed-inserter-hand-closed.afphoto b/sources/entity/burner-long-handed-inserter-hand-closed.afphoto new file mode 100644 index 0000000..f380825 Binary files /dev/null and b/sources/entity/burner-long-handed-inserter-hand-closed.afphoto differ diff --git a/sources/entity/burner-long-handed-inserter-hand-open.afphoto b/sources/entity/burner-long-handed-inserter-hand-open.afphoto new file mode 100644 index 0000000..ce9314e Binary files /dev/null and b/sources/entity/burner-long-handed-inserter-hand-open.afphoto differ diff --git a/sources/entity/burner-long-handed-inserter-platform.afphoto b/sources/entity/burner-long-handed-inserter-platform.afphoto new file mode 100644 index 0000000..f1abd9f Binary files /dev/null and b/sources/entity/burner-long-handed-inserter-platform.afphoto differ diff --git a/sources/entity/burner-long-handed-inserter-remnants.afphoto b/sources/entity/burner-long-handed-inserter-remnants.afphoto new file mode 100644 index 0000000..86f505c Binary files /dev/null and b/sources/entity/burner-long-handed-inserter-remnants.afphoto differ diff --git a/sources/icons/burner-agricultural-tower.afphoto b/sources/icons/burner-agricultural-tower.afphoto new file mode 100644 index 0000000..2f7772b Binary files /dev/null and b/sources/icons/burner-agricultural-tower.afphoto differ diff --git a/sources/icons/burner-assembling-machine.afphoto b/sources/icons/burner-assembling-machine.afphoto index 1879b91..7301ac6 100644 Binary files a/sources/icons/burner-assembling-machine.afphoto and b/sources/icons/burner-assembling-machine.afphoto differ diff --git a/sources/icons/burner-inserter.afphoto b/sources/icons/burner-inserter.afphoto new file mode 100644 index 0000000..397fe88 Binary files /dev/null and b/sources/icons/burner-inserter.afphoto differ diff --git a/sources/icons/burner-long-handed-inserter.afphoto b/sources/icons/burner-long-handed-inserter.afphoto new file mode 100644 index 0000000..844f71a Binary files /dev/null and b/sources/icons/burner-long-handed-inserter.afphoto differ diff --git a/sources/icons/peat.afphoto b/sources/icons/peat.afphoto new file mode 100644 index 0000000..0d1881e Binary files /dev/null and b/sources/icons/peat.afphoto differ diff --git a/sources/peat.afphoto b/sources/peat.afphoto new file mode 100644 index 0000000..55b1982 Binary files /dev/null and b/sources/peat.afphoto differ diff --git a/sources/technology/burner-automation.afphoto b/sources/technology/burner-automation.afphoto new file mode 100644 index 0000000..5c10a58 Binary files /dev/null and b/sources/technology/burner-automation.afphoto differ