diff --git a/lignumis/graphics/icons/basic-repair-pack.png b/lignumis/graphics/icons/basic-repair-pack.png new file mode 100644 index 0000000..aae3c68 Binary files /dev/null and b/lignumis/graphics/icons/basic-repair-pack.png differ diff --git a/lignumis/graphics/technology/basic-repair-pack.png b/lignumis/graphics/technology/basic-repair-pack.png new file mode 100644 index 0000000..b8c6454 Binary files /dev/null and b/lignumis/graphics/technology/basic-repair-pack.png differ diff --git a/lignumis/locale/en/strings.cfg b/lignumis/locale/en/strings.cfg index c642190..a0473ae 100644 --- a/lignumis/locale/en/strings.cfg +++ b/lignumis/locale/en/strings.cfg @@ -51,6 +51,7 @@ moist-stromatolite-remnant=Moist stromatolite remnant steam-science-pack=Steam science pack destination-nauvis=Travel to Nauvis lumber=Lumber +basic-repair-pack=Basic repair pack [item-description] wooden-wall=Use wooden walls to protect your base from the locals and to reduce noise levels. @@ -89,6 +90,7 @@ basic-construction-robotics-copper=Basic construction robotics (copper) wood-logistics=Wood logistics automation=Electric automation tree-seeding=Basic agriculture +basic-repair-pack=Basic repair pack [technology-description] tree-seeding=[entity=burner-agricultural-tower] allows planting seeds into seedable soil. Planted seeds grow into trees that can be harvested.\n[entity=tree-plant] can grow on grass and dirt. [entity=gold-stromatolite] can grow on [tile=natural-gold-soil]. diff --git a/lignumis/prototypes/content/basic-repair-pack.lua b/lignumis/prototypes/content/basic-repair-pack.lua new file mode 100644 index 0000000..991eea4 --- /dev/null +++ b/lignumis/prototypes/content/basic-repair-pack.lua @@ -0,0 +1,47 @@ +local item_sounds = require("__base__.prototypes.item_sounds") +local item_tints = require("__base__.prototypes.item-tints") + +data:extend({ + { + type = "repair-tool", + name = "basic-repair-pack", + icon = "__lignumis__/graphics/icons/basic-repair-pack.png", + subgroup = "tool", + order = "b[repair]-0[basic-repair-pack]", + inventory_move_sound = item_sounds.repair_pack_inventory_move, + pick_sound = item_sounds.repair_pack_inventory_pickup, + drop_sound = item_sounds.repair_pack_inventory_move, + speed = 1, + durability = 150, + stack_size = 100, + random_tint_color = item_tints.iron_rust + }, + { + type = "recipe", + name = "basic-repair-pack", + enabled = false, + ingredients = { + { type = "item", name = "gold-cable", amount = 4 }, + { type = "item", name = "wooden-gear-wheel", amount = 1 } + }, + results = { { type = "item", name = "basic-repair-pack", amount = 1 } } + }, + { + type = "technology", + name = "basic-repair-pack", + icon = "__lignumis__/graphics/technology/basic-repair-pack.png", + icon_size = 256, + effects = { + { + type = "unlock-recipe", + recipe = "basic-repair-pack" + } + }, + prerequisites = { "wood-science-pack" }, + unit = { + count = 25, + ingredients = { { "wood-science-pack", 1 } }, + time = 10 + } + } +}) diff --git a/lignumis/prototypes/content/data.lua b/lignumis/prototypes/content/data.lua index a911e02..dfd47de 100644 --- a/lignumis/prototypes/content/data.lua +++ b/lignumis/prototypes/content/data.lua @@ -21,5 +21,6 @@ require("fuel-category") require("basic-construction-robots") require("lumber") require("wood-logistics") +require("basic-repair-pack") require("noise") diff --git a/sources/icons/basic-repair-pack.afphoto b/sources/icons/basic-repair-pack.afphoto new file mode 100644 index 0000000..768ad73 Binary files /dev/null and b/sources/icons/basic-repair-pack.afphoto differ diff --git a/sources/technology/basic-repair-pack.afphoto b/sources/technology/basic-repair-pack.afphoto new file mode 100644 index 0000000..4754cbe Binary files /dev/null and b/sources/technology/basic-repair-pack.afphoto differ