Compare commits
No commits in common. "d7be28e94fe3ca7516868c7287d5a6240249305c" and "11104a179bd22d020e975d859b89b349b5598464" have entirely different histories.
d7be28e94f
...
11104a179b
1 changed files with 58 additions and 65 deletions
|
|
@ -87,9 +87,6 @@ if data.raw.item["rubber"] then
|
||||||
table.insert(shock_absorber_ingredients, {type="item", name="rubber", amount=1})
|
table.insert(shock_absorber_ingredients, {type="item", name="rubber", amount=1})
|
||||||
end
|
end
|
||||||
|
|
||||||
local spring_icon = "__IntermediatesForYou2__/graphics/icons/spring.png"
|
|
||||||
local spring_icon_size = 64
|
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
|
|
@ -114,8 +111,8 @@ data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
name = "spring",
|
name = "spring",
|
||||||
icon = spring_icon,
|
icon = "__IntermediatesForYou2__/graphics/icons/spring.png",
|
||||||
icon_size = spring_icon_size,
|
icon_size = 64,
|
||||||
group = "intermediate-product",
|
group = "intermediate-product",
|
||||||
subgroup = "intermediate-product",
|
subgroup = "intermediate-product",
|
||||||
order = "a[spring]",
|
order = "a[spring]",
|
||||||
|
|
@ -199,22 +196,18 @@ util.add_unlock("rocket-silo","satellite-body")
|
||||||
util.add_unlock("fast-inserter", "shock-absorber")
|
util.add_unlock("fast-inserter", "shock-absorber")
|
||||||
|
|
||||||
if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then
|
if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then
|
||||||
local bronze_plate_icon = data.raw.item["bronze-plate"].icon
|
|
||||||
or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon
|
|
||||||
local bronze_plate_icon_size = data.raw.item["bronze-plate"].icon_size
|
|
||||||
or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon_size
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "bronze-spring",
|
name = "bronze-spring",
|
||||||
category = "crafting",
|
category = "crafting",
|
||||||
order = "s2[spring]",
|
order = "s2[spring]",
|
||||||
icons = (data.raw.item["bronze-plate"] and
|
icons = (mods["bztin2"] and
|
||||||
{
|
{
|
||||||
{ icon = spring_icon, icon_size = spring_icon_size },
|
{ icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 64 },
|
||||||
{ icon = bronze_plate_icon, icon_size = bronze_plate_icon_size, scale = 0.125, shift = { -8, -8 } }
|
{ icon = "__bztin2__/graphics/icons/bronze-plate.png", icon_size = 128, scale = 0.125, shift = { -8, -8 } },
|
||||||
} or {
|
} or {
|
||||||
{ icon = spring_icon, icon_size = spring_icon_size }
|
{ icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon_size = 128 }
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
enabled = false,
|
enabled = false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue