diff --git a/config.lua b/config.lua index cd1773bf..301f4b66 100644 --- a/config.lua +++ b/config.lua @@ -3,7 +3,9 @@ _CHEATS = false local market_item = 'coin' global.config = { + -- adds a GUI listing the scenario features, the rules, and the details of the current map map_info = { + enabled = true, -- The title of the map map_name_key = 'This Map has no name', -- The long description of the map, typically 1 paragraph diff --git a/control.lua b/control.lua index 99c7e155..11c9883e 100644 --- a/control.lua +++ b/control.lua @@ -63,7 +63,9 @@ end -- GUIs the order determines the order they appear from left to right. -- These can be safely disabled if you want less GUI items. -- Some map presets will add GUI modules themselves. -require 'features.gui.info' +if config.map_info.enabled then + require 'features.gui.info' +end if config.player_list.enabled then require 'features.gui.player_list' end