Skylords Reborn
No edit summary
No edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{WIP}}{{Documentation subpage}}__NOTOC__
+
{{Documentation subpage}}__NOTOC__
 
== Description ==
 
== 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.
 
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.
Line 8: Line 8:
 
["map name"] = {
 
["map name"] = {
 
type = ,
 
type = ,
minimap_image = ,
 
 
min_players = ,
 
min_players = ,
 
starting_positions = ,
 
starting_positions = ,
Line 14: Line 13:
 
quest_positions = ,
 
quest_positions = ,
 
difficulties = ,
 
difficulties = ,
campaign_name =
+
campaign_name = "",
prerequisites = ,
+
prerequisites = "",
unlocks = ,
+
unlocks = "",
setup_description =
+
setup_description = "",
mission_briefing_description = ,
+
mission_briefing_description = "",
loading_screen_text = ,
+
loading_screen_text = "",
 
spectator_map_available = ,
 
spectator_map_available = ,
 
rankings = {
 
rankings = {
Line 48: Line 47:
 
|-
 
|-
 
| <code>["{{pht|map name}}"]</code> || Full name of the map. || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
 
| <code>["{{pht|map name}}"]</code> || Full name of the map. || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>type</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>min_players</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>starting_positions</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>chest_positions</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>quest_positions</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>difficulties</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>campaign_name</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>prerequisites</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>unlocks</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>setup_description</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>mission_briefing_description</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>loading_screen_text</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>spectator_map_available</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| colspan="4" style="background-color:#070F19;" | '''Ranking related parameters''' (this block repeats as many times as there are filterable rankings for the map)
  +
|-
  +
| <code>ranking_numberplayers</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>ranking_time</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>ranking_players</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>ranking_date</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
  +
*<code>{{pht|Custom text}}</code>
  +
|-
  +
| <code>ranking_difficulty</code> || || style="text-align:center;" | [[File:False.svg|17px|link=|False]] ||
 
*<code>{{pht|Custom text}}</code>
 
*<code>{{pht|Custom text}}</code>
 
|}
 
|}

Revision as of 13:13, 13 June 2021

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