Correct tin plate recipe for K2
This commit is contained in:
parent
6592f44b59
commit
13697f3937
1 changed files with 543 additions and 557 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
local item_sounds = require('__base__.prototypes.item_sounds')
|
||||
local util = require("data-util");
|
||||
local futil = require("util");
|
||||
|
||||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||
data:extend({
|
||||
|
|
@ -19,34 +18,14 @@ data:extend({
|
|||
{ icon = "__bztin2__/graphics/icons/tin-plate.png", icon_size = 128 },
|
||||
}
|
||||
),
|
||||
-- (mods["Krastorio2"] and
|
||||
-- {
|
||||
-- main_product = "tin-plate",
|
||||
-- enabled = true,
|
||||
-- energy_required = 12,
|
||||
-- ingredients = {{"tin-ore", 10}},
|
||||
-- results = {
|
||||
-- {type="item", name = "tin-plate", amount=5}
|
||||
-- }
|
||||
-- } or
|
||||
main_product = "tin-plate",
|
||||
enabled = true,
|
||||
energy_required = 2.4,
|
||||
ingredients = {util.item("tin-ore", 1)},
|
||||
energy_required = mods["Krastorio2"] and 12 or 2.4,
|
||||
ingredients = { util.item("tin-ore", mods["Krastorio2"] and 10 or 1) },
|
||||
results = {
|
||||
{type="item", name = "tin-plate", amount=1}
|
||||
{ type = "item", name = "tin-plate", amount = mods["Krastorio2"] and 5 or 1 }
|
||||
},
|
||||
allow_productivity = true,
|
||||
-- expensive =
|
||||
-- {
|
||||
-- main_product = "tin-plate",
|
||||
-- enabled = true,
|
||||
-- energy_required = 4.8,
|
||||
-- ingredients = {{"tin-ore", 1}},
|
||||
-- results = {
|
||||
-- {type="item", name = "tin-plate", amount=1},
|
||||
-- }
|
||||
-- }
|
||||
},
|
||||
{
|
||||
type = "item",
|
||||
|
|
@ -126,13 +105,15 @@ data:extend({
|
|||
icons = {
|
||||
{ icon = "__bztin2__/graphics/icons/solder.png", icon_size = 128, scale = 0.33, shift = { 0, -6 } },
|
||||
{ icon = "__bztin2__/graphics/icons/tin-plate.png", icon_size = 128, scale = 0.25, shift = { -6, 4 } },
|
||||
mods["bzlead2"] and {icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64, scale = 0.5, shift = {6,4}} or
|
||||
mods["bzlead2"] and
|
||||
{ icon = "__bzlead2__/graphics/icons/lead-plate.png", icon_size = 64, scale = 0.5, shift = { 6, 4 } } or
|
||||
{ icon = "__base__/graphics/icons/copper-plate.png", icon_size = 64, scale = 0.5, shift = { 6, 4 } },
|
||||
},
|
||||
effects = {},
|
||||
prerequisites = { "metallurgic-science-pack", "electromagnetic-science-pack" },
|
||||
unit = {
|
||||
count = 250, time = 30,
|
||||
count = 250,
|
||||
time = 30,
|
||||
ingredients = {
|
||||
{ "chemical-science-pack", 1 },
|
||||
{ "electromagnetic-science-pack", 1 },
|
||||
|
|
@ -154,7 +135,8 @@ if mods.bzaluminum2 and not mods["bzlead2"] then
|
|||
{ type = "unlock-recipe", recipe = "solder" },
|
||||
},
|
||||
unit = {
|
||||
count = 10, time = 15,
|
||||
count = 10,
|
||||
time = 15,
|
||||
ingredients = { { "automation-science-pack", 1 } },
|
||||
},
|
||||
prerequisites = { "copper-processing" },
|
||||
|
|
@ -213,7 +195,8 @@ data:extend({
|
|||
{ type = "unlock-recipe", recipe = "organotins" },
|
||||
},
|
||||
unit = {
|
||||
count = 50, time = 30,
|
||||
count = 50,
|
||||
time = 30,
|
||||
ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 } },
|
||||
},
|
||||
prerequisites = { "oil-processing" },
|
||||
|
|
@ -229,7 +212,8 @@ data:extend({
|
|||
type = "item",
|
||||
name = "tinned-cable",
|
||||
icon = "__bztin2__/graphics/icons/tinned-cable.png",
|
||||
icon_size = 64, icon_mipmaps = 4,
|
||||
icon_size = 64,
|
||||
icon_mipmaps = 4,
|
||||
subgroup = util.cablesg,
|
||||
order = "b[tinned-cable]",
|
||||
stack_size = util.get_stack_size(100),
|
||||
|
|
@ -253,12 +237,14 @@ data:extend({
|
|||
type = "technology",
|
||||
name = "tinned-cable",
|
||||
icon = "__bztin2__/graphics/icons/tinned-cable.png",
|
||||
icon_size = 64, icon_mipmaps = 4,
|
||||
icon_size = 64,
|
||||
icon_mipmaps = 4,
|
||||
effects = {
|
||||
{ type = "unlock-recipe", recipe = "tinned-cable" },
|
||||
},
|
||||
unit = {
|
||||
count = 50, time = 15,
|
||||
count = 50,
|
||||
time = 15,
|
||||
ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 } },
|
||||
},
|
||||
prerequisites = { "logistic-science-pack" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue