Fixed recipe names, enhanced a recipe icon, updated the readme #1
1 changed files with 8 additions and 0 deletions
|
|
@ -202,6 +202,14 @@ data:extend({
|
||||||
name = "bronze-spring",
|
name = "bronze-spring",
|
||||||
category = "crafting",
|
category = "crafting",
|
||||||
order = "s2[spring]",
|
order = "s2[spring]",
|
||||||
|
icons = (mods["bztin2"] and
|
||||||
|
|
|||||||
|
{
|
||||||
|
{ icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 64 },
|
||||||
|
{ icon = "__bztin2__/graphics/icons/bronze-plate.png", icon_size = 128, scale = 0.125, shift = { -8, -8 } },
|
||||||
|
} or {
|
||||||
|
{ icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 128 }
|
||||||
|
}
|
||||||
|
),
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 2,
|
energy_required = 2,
|
||||||
ingredients = {{type="item", name="bronze-plate", amount=1}},
|
ingredients = {{type="item", name="bronze-plate", amount=1}},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue
You could use
data.raw.item["bronze-plate"].icon or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1](maybe make the item a variable) to be a bit more generic.The bronze-spring recipe has been updated to use any existing bronze-spring item icon. Plus a few other changes.