Fix Bio Boiler

This commit is contained in:
Simon Brodtmann 2025-07-28 00:22:49 +02:00
parent 662f05a1ea
commit e9b2aa368a

View file

@ -149,8 +149,8 @@ if BI.Settings.BI_Bio_Fuel then
base_level = -1, base_level = -1,
pipe_covers = pipecoverspictures(), pipe_covers = pipecoverspictures(),
pipe_connections = { pipe_connections = {
{ flow_direction = "input-output", direction = defines.direction.north, position = { -1, 0.5 } }, { flow_direction = "input-output", direction = defines.direction.west, position = { -1, 0.5 } },
{ flow_direction = "input-output", direction = defines.direction.north, position = { 1, 0.5 } } { flow_direction = "input-output", direction = defines.direction.east, position = { 1, 0.5 } }
}, },
production_type = "input-output", production_type = "input-output",
filter = "water" filter = "water"
@ -192,92 +192,100 @@ if BI.Settings.BI_Bio_Fuel then
}, },
max_sounds_per_type = 3 max_sounds_per_type = 3
}, },
structure = { pictures = {
north = { north = {
layers = { structure = {
{ layers = {
filename = ENTITYPATH .. "boiler-N-idle.png", {
priority = "extra-high", filename = ENTITYPATH .. "boiler-N-idle.png",
width = 269, priority = "extra-high",
height = 221, width = 269,
shift = util.by_pixel(-1.25, 5.25), height = 221,
scale = 0.5, shift = util.by_pixel(-1.25, 5.25),
tint = bio_boiler_tint, scale = 0.5,
}, tint = bio_boiler_tint,
{ },
filename = ENTITYPATH .. "boiler-N-shadow.png", {
priority = "extra-high", filename = ENTITYPATH .. "boiler-N-shadow.png",
width = 274, priority = "extra-high",
height = 164, width = 274,
scale = 0.5, height = 164,
shift = util.by_pixel(20.5, 9), scale = 0.5,
draw_as_shadow = true, shift = util.by_pixel(20.5, 9),
draw_as_shadow = true,
}
} }
} }
}, },
east = { east = {
layers = { structure = {
{ layers = {
filename = ENTITYPATH .. "boiler-E-idle.png", {
priority = "extra-high", filename = ENTITYPATH .. "boiler-E-idle.png",
width = 216, priority = "extra-high",
height = 301, width = 216,
shift = util.by_pixel(-3, 1.25), height = 301,
scale = 0.5, shift = util.by_pixel(-3, 1.25),
tint = bio_boiler_tint, scale = 0.5,
}, tint = bio_boiler_tint,
{ },
filename = ENTITYPATH .. "boiler-E-shadow.png", {
priority = "extra-high", filename = ENTITYPATH .. "boiler-E-shadow.png",
width = 184, priority = "extra-high",
height = 194, width = 184,
scale = 0.5, height = 194,
shift = util.by_pixel(30, 9.5), scale = 0.5,
draw_as_shadow = true, shift = util.by_pixel(30, 9.5),
draw_as_shadow = true,
}
} }
} }
}, },
south = { south = {
layers = { structure = {
{ layers = {
filename = ENTITYPATH .. "boiler-S-idle.png", {
priority = "extra-high", filename = ENTITYPATH .. "boiler-S-idle.png",
width = 260, priority = "extra-high",
height = 192, width = 260,
shift = util.by_pixel(4, 13), height = 192,
scale = 0.5, shift = util.by_pixel(4, 13),
tint = bio_boiler_tint, scale = 0.5,
}, tint = bio_boiler_tint,
{ },
filename = ENTITYPATH .. "boiler-S-shadow.png", {
priority = "extra-high", filename = ENTITYPATH .. "boiler-S-shadow.png",
width = 311, priority = "extra-high",
height = 131, width = 311,
scale = 0.5, height = 131,
shift = util.by_pixel(29.75, 15.75), scale = 0.5,
draw_as_shadow = true, shift = util.by_pixel(29.75, 15.75),
draw_as_shadow = true,
}
} }
} }
}, },
west = { west = {
layers = { structure = {
{ layers = {
filename = ENTITYPATH .. "boiler-W-idle.png", {
priority = "extra-high", filename = ENTITYPATH .. "boiler-W-idle.png",
width = 196, priority = "extra-high",
height = 273, width = 196,
shift = util.by_pixel(1.5, 7.75), height = 273,
scale = 0.5, shift = util.by_pixel(1.5, 7.75),
tint = bio_boiler_tint, scale = 0.5,
}, tint = bio_boiler_tint,
{ },
filename = ENTITYPATH .. "boiler-W-shadow.png", {
priority = "extra-high", filename = ENTITYPATH .. "boiler-W-shadow.png",
width = 206, priority = "extra-high",
height = 218, width = 206,
scale = 0.5, height = 218,
shift = util.by_pixel(19.5, 6.5), scale = 0.5,
draw_as_shadow = true, shift = util.by_pixel(19.5, 6.5),
draw_as_shadow = true,
}
} }
} }
} }