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
5 months ago
2.0 - 2.1
821

b LuaFluidPrototype doesn't contain key fluid

8 days ago

I'm not aware of what happened. I just wanted to try out your amazing mod. Something's off with a fluidbox, apparently.

Error while running event alt-alt-mode::on_selected_entity_changed (ID 63)
LuaFluidPrototype doesn't contain key fluid.
stack traceback:
[C]: in function 'index'
__alt-alt-mode
/scripts/entity_logic.lua:296: in function 'draw_fluidbox_connections'
alt-alt-mode/scripts/entity_logic.lua:354: in function <alt-alt-mode/scripts/entity_logic.lua:353>
(...tail calls...)
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>

8 days ago

After some testing, I spotted a storage tank to be causing the crash. Adding the prototype to the blacklist helped. Notably, setting the display radius to zero or one was also safe.
Earlier, the game also crashed when I had the cursor hovering close to some steam turbines, so I disabled them, too. Actually I can live happily without the additional Alt-mode fluid info, so I blacklisted everything dealing with fluids, to be sure.

8 days ago
(updated 8 days ago)

Even entity-ghosts of a chemical plant was an issue. To the blacklist, too.

New response