Region District Settings

Overview

You can split up your Region is Districts by enabling this Setting and modifying the District Names in the Setting below.


Whether you want to use Districts for your Region.

USE_REGION_DISTRICTS_NAMES = true   

Possible values:

  • true = enabled: The Region Map will be split up in the below set Districts.

  • false = disabled.


Add an array for each District.

REGION_DISTRICTS = [
  [0, [9, 19],  [4, 6],   _INTL("North Essen")],
  [0, [15, 15], [7, 7],   _INTL("North Essen")],
  [0, [16, 19], [7, 7],  _INTL("East Essen")],
  [0, [15, 19], [8, 11],  _INTL("East Essen")],
  [0, [9, 19],  [12, 15], _INTL("South Essen")],
  [0, [9, 12],  [7, 11],  _INTL("West Essen")],
  [0, [13, 14], [7, 11],  _INTL("Central Essen")],
  [1, [10, 20], [5, 15],  _INTL("Central Tiall")]
]

Each district is an Array that contains following information:

  • 0 = Region ID

  • [9, 19] = Start X position and End X position in tiles on the Region Map.

  • [4, 6] = Start Y position and End Y position in tiles on the Region Map.

  • _INTL("North Essen") = the name of the District.

Districts may overlap each other but only 1 will be displayed. (This is the one first in the Array)


Link a Game Switch to each district that'll be set to ON when the respective District is 100% (only used when you use the progress counter).

PROGRESS_SWITCHES = {
  "Essen" => 106,
  "North Essen" => 99,
  "East Essen" => 100,
  "South Essen" => 101,
  "West Essen" => 102,
  "Central Essen" => 103,
  "Central Tiall" => 104
}
  • "Essen" = the name of the District.

    • 106 = the Game Switch with ID 106.

You don't need to add a switch for every district. If you don't use districts, linking the Region's name to a switch will also work "Essen" => 106. So when the whole Region has 100% exploration, Switch 106 will be set to ON. But you'll need to run switchesForDistricts in an event first before checking if any switches are turned on.

Last updated