-Revamped icons, techs visuals -New mod icon (proposition) -New tech icon for optical-fiber -icon mipmaps -updated changelog -version bumped to 0.5.0 -optimized with pnggauntlet (lossless)
96 lines
1.9 KiB
Lua
96 lines
1.9 KiB
Lua
-- Silica
|
|
local util = require("__bzsilicon__.util");
|
|
data:extend(
|
|
{
|
|
mods["Krastorio2"] and {
|
|
type = "recipe",
|
|
name = "silica",
|
|
category = "crushing",
|
|
enabled = false,
|
|
energy_required = 4,
|
|
ingredients = {{"quartz", 10}},
|
|
result = "silica",
|
|
result_count = 30
|
|
} or {
|
|
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, icon_mipmaps = 3,
|
|
subgroup = "raw-material",
|
|
order = "b[silica]",
|
|
stack_size = util.get_stack_size(100)
|
|
},
|
|
mods["Krastorio2"] and {
|
|
type = "technology",
|
|
name = "silica-processing",
|
|
icon_size = 256, icon_mipmaps = 4,
|
|
icon = "__bzsilicon__/graphics/technology/silica-processing.png",
|
|
effects =
|
|
{
|
|
{
|
|
type = "unlock-recipe",
|
|
recipe = "silica"
|
|
},
|
|
{
|
|
type = "unlock-recipe",
|
|
recipe = "quartz"
|
|
},
|
|
},
|
|
prerequisites = {"kr-fluids-chemistry"},
|
|
unit =
|
|
{
|
|
count = 10,
|
|
ingredients =
|
|
{
|
|
{"automation-science-pack", 1},
|
|
},
|
|
time = 30
|
|
},
|
|
order = "b-b"
|
|
} or {
|
|
type = "technology",
|
|
name = "silica-processing",
|
|
icon_size = 256, icon_mipmaps = 4,
|
|
icon = "__bzsilicon__/graphics/technology/silica-processing.png",
|
|
effects =
|
|
{
|
|
{
|
|
type = "unlock-recipe",
|
|
recipe = "silica"
|
|
}
|
|
},
|
|
unit =
|
|
{
|
|
count = 10,
|
|
ingredients =
|
|
{
|
|
{"automation-science-pack", 1},
|
|
},
|
|
time = 30
|
|
},
|
|
order = "b-b"
|
|
},
|
|
}
|
|
)
|