Skip to content

Commit

Permalink
Fix issues with previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jun 25, 2024
1 parent 1244d6e commit 9a58634
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
36 changes: 29 additions & 7 deletions prototypes/buildings/eaf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ for i = 1, 4 do
frame_count = 1,
shift = util.by_pixel(0, -16)
},
{
filename = '__pyraworesgraphics__/graphics/entity/eaf/off-mask.png',
width = 160,
height = 192,
frame_count = 1,
shift = util.by_pixel(0, -16),
tint = py.tints[i]
},
}
},
working_visualisations = {
Expand All @@ -145,13 +153,27 @@ for i = 1, 4 do
south_position = util.by_pixel(16, -16),
east_position = util.by_pixel(16, -16),
animation = {
filename = '__pyraworesgraphics__/graphics/entity/eaf/on.png',
priority = 'high',
frame_count = 50,
line_length = 10,
width = 128,
height = 128,
animation_speed = 3
layers = {
{
filename = '__pyraworesgraphics__/graphics/entity/eaf/on.png',
priority = 'high',
frame_count = 50,
line_length = 10,
width = 128,
height = 128,
animation_speed = 3
},
{
filename = '__pyraworesgraphics__/graphics/entity/eaf/on-mask.png',
priority = 'high',
frame_count = 50,
line_length = 10,
width = 128,
height = 128,
animation_speed = 3,
tint = py.tints[i]
},
}
}
},
},
Expand Down
3 changes: 3 additions & 0 deletions prototypes/buildings/hydroclassifier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ for i = 1, 4 do
animation_speed = 1,
shift = util.by_pixel(-63, -2),
tint = py.tints[i],
draw_as_glow = true,
},
{
filename = '__pyraworesgraphics__/graphics/entity/hydroclassifier/h2-mask.png',
Expand All @@ -158,6 +159,7 @@ for i = 1, 4 do
animation_speed = 1,
shift = util.by_pixel(31, -2),
tint = py.tints[i],
draw_as_glow = true,
},
{
filename = '__pyraworesgraphics__/graphics/entity/hydroclassifier/h3-mask.png',
Expand All @@ -168,6 +170,7 @@ for i = 1, 4 do
animation_speed = 1,
shift = util.by_pixel(95, -2),
tint = py.tints[i],
draw_as_glow = true,
},
{
filename = '__pyraworesgraphics__/graphics/entity/hydroclassifier/shadow.png',
Expand Down

0 comments on commit 9a58634

Please sign in to comment.