Alternative Alt Mode


Replaces the standard Alt-Mode by providing more information for more objects. This information is shown only for entities around the player cursor, so the graphics of other objects can be enjoyed without always having an information overlay on top of them.

Utilities
2 months ago
2.0 - 2.1
792

b Error while running event alt-alt-mode::on_selected_entity_changed

a month ago

Got this bug, first time Factorio crashed for me!

This is 2.1, Krastorio 2.0, when hovering near Gas Power Station. 0.95 Gas Power Station is the key here, as this issues is repeatable, and I've never seen it in other contexts.

The mod Alternative Alt Mode (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event alt-alt-mode::on_selected_entity_changed (ID 63)
__alt-alt-mode__/scripts/entity_logic.lua:321: attempt to index local 'fluid' (a nil value)
stack traceback:
    __alt-alt-mode__/scripts/entity_logic.lua:321: in function 'draw_fluidbox_connections'
    __alt-alt-mode__/scripts/entity_logic.lua:354: in function '?'
    __alt-alt-mode__/scripts/entity_logic.lua:1182: in function 'show_alt_info_for_entity'
    __alt-alt-mode__/scripts/player_logic.lua:53: in function 'show_alt_info_for_player'
    __alt-alt-mode__/control.lua:13: in function <__alt-alt-mode__/control.lua:9>

Thanks for an otherwise excellent mod, I wish it was more well known, people are missing out!

New response