Back to NxLabs

NxLabs / Factorio

No minimap on platforms

QBy Quezler

As if you can get lost, you just want to see thruster info in the sidebar.

Description

shield > once 2.1.x drops do not expect new 2.0.x mods here, mods will be slowly ported based on my needs and/or requests from the community, thx for playing!

script.on_event(defines.events.on_player_changed_surface, function(event)
  local player = game.get_player(event.player_index) --[[@as LuaPlayer]]
  player.game_view_settings.show_minimap = player.surface.platform == nil
end)

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.