This is the documentation page for Module:Map/data

Description

This module stores all data about the currently existing playable maps in alphabetical order. Whenever map changes occur this module needs to be updated respectively.

Syntax

All maps' data is stored in a standardized way as shown below.

    ["map name"] = {
        type = ,
        min_players = ,
        starting_positions = ,
        chest_positions = ,
        quest_positions = ,
        difficulties = ,
        campaign_name =
        prerequisites = ,
        unlocks = ,
        setup_description =
        mission_briefing_description = ,
        loading_screen_text = ,
        spectator_map_available = ,
        rankings = {
            {
                ranking_numberplayers = n(max),
                ranking_time = "",
                ranking_players = {"", ""},
                ranking_date = "",
                ranking_difficulty = ""
            },
            {
                ranking_numberplayers = 1,
                ranking_time = "",
                ranking_players = {"", ""},
                ranking_date = "",
                ranking_difficulty = ""
            }
        }
    },
Parameter and Syntax Explanation
Parameter Explanation / Usage Notes Omissible Accepted Input
["<map name>"] Full name of the map. False
  • <Custom text>
type False
  • <Custom text>
min_players False
  • <Custom text>
starting_positions False
  • <Custom text>
chest_positions False
  • <Custom text>
quest_positions False
  • <Custom text>
difficulties False
  • <Custom text>
campaign_name False
  • <Custom text>
prerequisites False
  • <Custom text>
unlocks False
  • <Custom text>
setup_description False
  • <Custom text>
mission_briefing_description False
  • <Custom text>
loading_screen_text False
  • <Custom text>
spectator_map_available False
  • <Custom text>
Ranking related parameters (this block repeats as many times as there are filterable rankings for the map)
ranking_numberplayers False
  • <Custom text>
ranking_time False
  • <Custom text>
ranking_players False
  • <Custom text>
ranking_date False
  • <Custom text>
ranking_difficulty False
  • <Custom text>

See also


Community content is available under CC-BY-SA unless otherwise noted.