Page 1 of 1

[1.1.87] function "make_4way_animation_from_spritesheet" are missing draw_as_light

Posted: Tue Jul 25, 2023 10:11 am
by meifray
1.What I have done?

I heated the heat exchanger in the night,and remove connected heat pipe
heatex_bug.png
heatex_bug.png (679.18 KiB) Viewed 1926 times
2.What happened?
heat exchanger have some weird brightness segmentation.
and I print out its heat_pipe_covers,found "draw_as_light" which apply_heat_pipe_glow added is missing.

3.What did you expect to happen instead?
heatex_nbug.png
heatex_nbug.png (294.09 KiB) Viewed 1926 times
4.Does it happen always, once, or sometimes?
Yes.

5.If you can reproduce the issue provide the exact steps!
in data/base/prototype/entity/entities: line 431:function make_4way_animation_from_spritesheet(animation)
the local function make_animation_layer(idx, anim)
only copy some of property of input like filename,and the return table do missing the draw_as_light ,so it is gonna be ignored.

Re: [1.1.87] function "make_4way_animation_from_spritesheet" are missing draw_as_light

Posted: Tue Aug 01, 2023 5:32 am
by raspberrypuppies
+1 I spent over an hour trying to figure this out in a mod I'm making

Re: [1.1.87] function "make_4way_animation_from_spritesheet" are missing draw_as_light

Posted: Sat Oct 07, 2023 6:27 pm
by Rseding91
Thanks for the report. This is now fixed for the next 1.1 release.