Code: Select all
/c game.player.print(type(game.player.game_view_settings.show_research_info))
Second bug:
The property show_alert_gui is only writable, not readable (Error: LuaStruct::luaIndex: unknown path show_alert_gui ...). The documentation lists it as [Read-Write]. Writing to it works as expected.
Minor point of confusion (legacy code?):
The show_minimap property does the same as LuaPlayer.minimap_enabled, except that minimap_enabled actually returns a boolean. Is there a reason behind having two properties that do the same?