[1.1.65] Max flame count doesn't behave right for a high value
Posted: Tue Aug 23, 2022 4:20 pm
If you create a fire with the max initial_ground_flame_count of 255, the fire doesn't burn like the a high fire count should. This can be seen by creating a fire at 255 and at 254 (1 less). The 254 fire spreads out from the center for a bit and will catch any near by trees on fire. But the 255 value fire just burns briefly in its center and then goes out. It also won't set any trees on fire
Code: Select all
/c game.player.surface.create_entity({name = "fire-flame", position = {0,0}, initial_ground_flame_count = 255}) game.player.surface.create_entity({name = "fire-flame", position = {10,0}, initial_ground_flame_count = 254})