byprodcut
This commit is contained in:
parent
a2c2ebfab3
commit
27042209ff
6 changed files with 24 additions and 4 deletions
|
|
@ -23,12 +23,17 @@ data:extend({
|
|||
{
|
||||
type = "recipe",
|
||||
name = "palladium-ingot",
|
||||
main_product = "palladium-ingot",
|
||||
category = "smelting",
|
||||
order = "d[palladium-ingot]",
|
||||
enabled = false,
|
||||
energy_required = 1.6,
|
||||
ingredients = {{"palladium-powder", 1}},
|
||||
results = {{"palladium-ingot", 1}},
|
||||
results = util.me.byproduct() and
|
||||
{
|
||||
{type="item", name="palladium-ingot", amount=1, probability=0.95},
|
||||
{type="item", name="sulfur", amount=1, probability=0.05},
|
||||
} or {{"palladium-ingot", 1}},
|
||||
},
|
||||
})
|
||||
data:extend({
|
||||
|
|
|
|||
|
|
@ -23,12 +23,17 @@ data:extend({
|
|||
{
|
||||
type = "recipe",
|
||||
name = "platinum-ingot",
|
||||
main_product = "platinum-ingot",
|
||||
category = "smelting",
|
||||
order = "d[platinum-ingot]",
|
||||
enabled = false,
|
||||
energy_required = 1.6,
|
||||
ingredients = {{"platinum-powder", 1}},
|
||||
results = {{"platinum-ingot", 1}},
|
||||
results = util.me.byproduct() and
|
||||
{
|
||||
{type="item", name="platinum-ingot", amount=1, probability=0.95},
|
||||
{type="item", name="sulfur", amount=1, probability=0.05},
|
||||
} or {{"platinum-ingot", 1}},
|
||||
},
|
||||
})
|
||||
data:extend({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue