Skylords Reborn
Advertisement
Skylords Reborn

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 = ,
        map_names = {"", "", ""},
        min_players = ,
        starting_positions = ,
        chest_positions = ,
        quest_positions = {},
        difficulties = ,
        campaign_name = "",
        prerequisites = "",
        unlocks = "",
        setup_description = "",
        mission_briefing_description = "",
        loading_screen_text = "",
        plot2 = "",
        conclusion1 = "",
        conclusion2 = "",
        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 Matchmaking type. False
  • "PvE"
  • "PvP"
map_names Enter the map tab names if scenario consists of multiple maps. Only mandatory for 12 player maps
  • Currently only applicable for 12-player scenarios.
    • {"<map name>", "<map name>", "<map name>"},
min_players Minimum number of players requiered to sucessfully play the map. False
  • 1
  • 2
  • 3
  • 4
  • For 12-player scenarios use the following syntax:
    • {<map 1 value>, <map 2 value>, <map 3 value>},
starting_positions Coordinates of starting positions. First entry represents player 1, second entry player 2, and so on. The number of entries is used to determine the maximum amount of starting players on this map. False
  • The location is given by inputting coordinates representaing percentages of the minimap image in the following format:
    • {<% of x-axis>,<% of y-axis>},
  • If it is a multiplayer map, use a table instead:
    • {<set of coordinates>, ..., <set of coordinates>},
    • For multi-map scenarios, put these tables of each map again into a table.
chest_positions Coordinates of gold chest positions. The number of entries is used to determine the maximum amount of obtainable chests on this map. False
  • The location is given by inputting coordinates representaing percentages of the minimap image in the following format:
    • {<% of x-axis>,<% of y-axis>},
  • If it is a multiplayer map, use a table instead:
    • {<set of coordinates 1>, ..., <set of coordinates n>},
    • For multi-map scenarios, put these tables of each map again into a table.
quest_positions Coordinates of quest goal positions. True
  • Each goal has to be organized in a table as shown below:
    • {letter="<letter>", <% of x-axis>,<% of y-axis>, "<custom tooltip text>"},
    • All letters from A - Z are available.
      • When no letter parameter is given, the goal icon will be empty.
    • An alternate custom tooltip can be specified that will be displayed upon hovering over the goal.
  • All goals of a map have to be organized in a table aswell:
    • {<goal 1>, ..., <goal n>},
    • For multi-map scenarios, put these tables of each map again into a table.
difficulties Available difficulties for the scenario. Only mandatory for PvE
  • {standard = <boolean>, advanced = <boolean>, expert = <boolean>},
    • If available: true
    • If not available: false
campaign_name Name of the campaign story of which the scenario is part. True
  • "<campaign story name>"
prerequisites Names of scenarios that need to be unlocked first to play this scenario. True
  • "<scenario name>"
    • If it is more than one, use a table instead:
    • {"<scenario name 1>", ..., "<scenario name n>"},
unlocks Names of scenarios that will be unlocked by winning this scenario. True
  • "<scenario name>"
    • If it is more than one, use a table instead:
    • {"<scenario name 1>", ..., "<scenario name n>"},
setup_description Description of the PvE scenario shown in the Setup Window. Only required for PvE
  • "<Custom text>"
    • Use <br> for a line break.
    • May contain template styling and links.
mission_briefing_description Description of the map shown in the Mission Briefing Window. False
  • "<Custom text>"
    • Use <br> for a line break.
loading_screen_text Text shown during loading screen of the scenario. If the scenario has a story book entry, this text is identical with the first part of the plot there. A respective audio file does then always exist. Only required for PvE
  • "<Custom text>"
    • Use <br> for a line break, twice for a new paragraph or page break.
    • Use and for quotation marks.
plot2 Second plot text of the scenario which is displayed in the story book. Does not exist for all scenarios. Only applicable for some PvE scenarios
  • "<Custom text>"
    • Use <br> for a line break, twice for a new paragraph or page break.
    • Use and for quotation marks.
  • nil, if it does not exist.
conclusion1 First conclusion text of the scenario which is displayed in the story book. A respective audio file does always exist. Only required for PvE
  • "<Custom text>"
    • Use <br> for a line break, twice for a new paragraph or page break.
    • Use and for quotation marks.
  • nil, if it does not exist.
conclusion2 Second conclusion text of the scenario which is displayed in the story book. Does not exist for all scenarios. Only applicable for some PvE scenarios
  • "<Custom text>"
    • Use <br> for a line break, twice for a new paragraph or page break.
    • Use and for quotation marks.
  • nil, if it does not exist.
spectator_map_available Availability of an official spectator map. False
  • If available: true
  • If not available: false
Ranking related parameters (This block repeats as many times as there are filterable rankings for the map.)
ranking_numberplayers Ranking category based on the maximum number of players in which this time is the fastest. Only required for PvE
  • Only list rankings that are applicable based on the maximum number of starting players of this map.
    • 12
    • 11
    • ...
    • 2
    • 1
ranking_time Time in which the scenario was won. Only required for PvE
  • "<mm:ss.ds>"
ranking_players Names of players that achieved the time. Only required for PvE
  • List the names alphabetically from left to right in a table:
    • {"<player name 1>", ..., "<player name n>"},
ranking_date Date when the time was achieved. Only required for PvE
  • "<month year>"
ranking_difficulty Difficulty at which this time was achieved. Only required for PvE
  • Usually the highest available difficulty:
    • "Standard"
    • "Advanced"
    • "Expert"

See also


Advertisement