forked from cacklingfiend/lignumis
Add basic repair pack
This commit is contained in:
parent
59e869c12e
commit
b16c16ae0a
7 changed files with 50 additions and 0 deletions
BIN
lignumis/graphics/icons/basic-repair-pack.png
Normal file
BIN
lignumis/graphics/icons/basic-repair-pack.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
lignumis/graphics/technology/basic-repair-pack.png
Normal file
BIN
lignumis/graphics/technology/basic-repair-pack.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
|
@ -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].
|
||||||
|
|
47
lignumis/prototypes/content/basic-repair-pack.lua
Normal file
47
lignumis/prototypes/content/basic-repair-pack.lua
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
|
@ -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")
|
||||||
|
|
BIN
sources/icons/basic-repair-pack.afphoto
Normal file
BIN
sources/icons/basic-repair-pack.afphoto
Normal file
Binary file not shown.
BIN
sources/technology/basic-repair-pack.afphoto
Normal file
BIN
sources/technology/basic-repair-pack.afphoto
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue