Add basic repair pack

This commit is contained in:
Simon Brodtmann 2025-01-07 00:40:47 +01:00
parent 59e869c12e
commit b16c16ae0a
7 changed files with 50 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View file

@ -51,6 +51,7 @@ moist-stromatolite-remnant=Moist stromatolite remnant
steam-science-pack=Steam science pack steam-science-pack=Steam science pack
destination-nauvis=Travel to Nauvis destination-nauvis=Travel to Nauvis
lumber=Lumber lumber=Lumber
basic-repair-pack=Basic repair pack
[item-description] [item-description]
wooden-wall=Use wooden walls to protect your base from the locals and to reduce noise levels. 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 wood-logistics=Wood logistics
automation=Electric automation automation=Electric automation
tree-seeding=Basic agriculture tree-seeding=Basic agriculture
basic-repair-pack=Basic repair pack
[technology-description] [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]. 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].

View file

@ -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
}
}
})

View file

@ -21,5 +21,6 @@ require("fuel-category")
require("basic-construction-robots") require("basic-construction-robots")
require("lumber") require("lumber")
require("wood-logistics") require("wood-logistics")
require("basic-repair-pack")
require("noise") require("noise")

Binary file not shown.

Binary file not shown.