initial smelting of silica and silicon

This commit is contained in:
Brevven 2020-09-15 21:29:32 -07:00
parent eef1442a2a
commit 56a5131a86
10 changed files with 146 additions and 0 deletions

3
data.lua Normal file
View file

@ -0,0 +1,3 @@
require("silica-recipe")
require("silicon-recipe")

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
graphics/icons/silica.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
graphics/icons/silicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

23
locale/en/silicon.cfg Normal file
View file

@ -0,0 +1,23 @@
[entity-name]
silica=Silica
silicon=Silicon
[item-name]
silica=Silica
silicon=Silicon
[item-description]
silica=Can be used directly or processed further.
silicon=Needed for various electrical and electronic applications
[technology-name]
silica-processing=Silica processing
silicon-processing=Silicon processing
[technology-description]
silica-processing=Process stone brick into silica.
silicon-processing=Process silica insto silcon.
[recipe-name]
silica=__ITEM__Silica__
silicon=__ITEM__Silicon__

59
silica-recipe.lua Normal file
View file

@ -0,0 +1,59 @@
-- Silica
data:extend(
{
{
type = "recipe",
name = "silica",
category = "smelting",
normal =
{
enabled = false,
energy_required = 3.2,
ingredients = {{"stone-brick", 1}},
result = "silica",
result_count = 5
},
expensive =
{
enabled = false,
energy_required = 6.4,
ingredients = {{"stone-brick", 2}},
result = "silica",
result_count = 5
},
},
{
type = "item",
name = "silica",
icon = "__bzsilicon__/graphics/icons/silica.png",
icon_size = 64,
subgroup = "raw-material",
order = "b[silica]",
stack_size = 100
},
{
type = "technology",
name = "silica-processing",
icon_size = 128,
icon = "__bzsilicon__/graphics/icons/silica-processing.png",
effects =
{
{
type = "unlock-recipe",
recipe = "silica"
}
},
unit =
{
count = 10,
ingredients =
{
{"automation-science-pack", 1},
},
time = 30
},
order = "b-b"
},
}
)

61
silicon-recipe.lua Normal file
View file

@ -0,0 +1,61 @@
-- Silicon
data:extend(
{
{
type = "recipe",
name = "silicon",
category = "smelting",
normal =
{
enabled = false,
energy_required = 3.2,
ingredients = {{"silica", 10}},
result = "silicon",
result_count = 1
},
expensive =
{
enabled = false,
energy_required = 3.2,
ingredients = {{"silica", 10}},
result = "silicon",
result_count = 1
},
},
{
type = "item",
name = "silicon",
icon = "__bzsilicon__/graphics/icons/silicon.png",
icon_size = 64,
subgroup = "raw-material",
order = "b[silica]",
stack_size = 100
},
{
type = "technology",
name = "silicon-processing",
icon_size = 128,
icon = "__bzsilicon__/graphics/icons/silicon-processing.png",
effects =
{
{
type = "unlock-recipe",
recipe = "silicon"
}
},
unit =
{
count = 100,
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
},
time = 30
},
prerequisites = {"silica-processing"},
order = "b-b"
},
}
)

BIN
thumbnail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB