pcb
This commit is contained in:
parent
e083771027
commit
6ad28a5d3b
3 changed files with 36 additions and 3 deletions
BIN
graphics/icons/pcb.png
Normal file
BIN
graphics/icons/pcb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
|
@ -7,9 +7,11 @@ salt=[item=salt] __ENTITY__salt__
|
|||
[item-name]
|
||||
salt=__ENTITY__salt__
|
||||
ferric-chloride=Ferric chloride
|
||||
pcb-substrate=PCB Substrate
|
||||
pcb=PCB
|
||||
pcb-substrate=__ITEM__pcb__ Substrate
|
||||
|
||||
[item-description]
|
||||
pcb=Printed circuit board
|
||||
|
||||
[fluid-name]
|
||||
chlorine=Chlorine
|
||||
|
|
35
pcb.lua
35
pcb.lua
|
@ -7,9 +7,19 @@ data:extend({
|
|||
icon = "__bzchlorine__/graphics/icons/pcb-substrate.png",
|
||||
icon_size = 128,
|
||||
subgroup = "intermediate-product",
|
||||
order = "b[pcb-s]",
|
||||
order = "f[advanced-circuit][pcb-substrate]",
|
||||
stack_size = util.get_stack_size(200),
|
||||
},
|
||||
{
|
||||
type = "item",
|
||||
name = "pcb",
|
||||
icon = "__bzchlorine__/graphics/icons/pcb.png",
|
||||
icon_size = 128,
|
||||
subgroup = "intermediate-product",
|
||||
order = "f[advanced-circuit][pcb]",
|
||||
stack_size = util.get_stack_size(200),
|
||||
},
|
||||
|
||||
})
|
||||
data:extend({
|
||||
{
|
||||
|
@ -26,6 +36,27 @@ data:extend({
|
|||
category = "chemistry",
|
||||
energy_requires = 3,
|
||||
},
|
||||
{
|
||||
type = "recipe",
|
||||
name = "pcb",
|
||||
results = {
|
||||
{"pcb", 1},
|
||||
},
|
||||
ingredients = {
|
||||
{"pcb-substrate", 1},
|
||||
{"copper-plate", 1},
|
||||
{"ferric-chloride", 1},
|
||||
},
|
||||
enabled = false,
|
||||
category = "chemistry",
|
||||
energy_requires = 3,
|
||||
},
|
||||
})
|
||||
|
||||
util.add_unlock("advanced-electronics", "pcb-substrate")
|
||||
util.add_unlock("advanced-electronics", "pcb")
|
||||
|
||||
-- These updates should be in data phase
|
||||
util.replace_some_ingredient("pcb-substrate", "plastic-bar", 1, "silica", 3)
|
||||
util.replace_some_ingredient("pcb-substrate", "plastic-bar", 1, "bakelite")
|
||||
util.replace_some_ingredient("pcb-substrate", "plastic-bar", 1, "bakelite", 1)
|
||||
util.replace_ingredient("advanced-circuit", "plastic-bar", "pcb", 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue