updates
This commit is contained in:
parent
bce801f48b
commit
7f46bdeb25
10 changed files with 83 additions and 63 deletions
|
|
@ -19,10 +19,16 @@ function cutil.nanotube_recipe(recipe_name, item_name, tech)
|
|||
}
|
||||
else
|
||||
new_recipe.localised_name = {"item-name."..item_name}
|
||||
new_recipe.icons = {
|
||||
{ icon = data.raw.item[item_name].icon, icon_size = data.raw.item[item_name].icon_size},
|
||||
{ icon = "__bzcarbon__/graphics/icons/nanotube.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
|
||||
}
|
||||
if new_recipe.icons and #new_recipe.icons > 1 then
|
||||
table.insert(new_recipe.icons,
|
||||
{ icon = "__bzcarbon__/graphics/icons/nanotube.png", icon_size = 128, scale=0.125, shift= {-8, -8}}
|
||||
)
|
||||
else
|
||||
new_recipe.icons = {
|
||||
{ icon = data.raw.item[item_name].icon, icon_size = data.raw.item[item_name].icon_size},
|
||||
{ icon = "__bzcarbon__/graphics/icons/nanotube.png", icon_size = 128, scale=0.125, shift= {-8, -8}},
|
||||
}
|
||||
end
|
||||
end
|
||||
new_recipe.icon = nil
|
||||
new_recipe.icon_size = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue