forked from ynoproject/ynolocations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
30 lines (30 loc) · 2.13 KB
/
config.json.example
File metadata and controls
30 lines (30 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"__comment__": "Map IDs for maps that are either inaccessible or don't represent actual locations that should affect the location text (e.g. transition screen shared by several worlds)",
"ignoredMapIds": [ "0001", "9999" ],
"__comment2__": "Base URL to use for locations. The location title or the urlTitle (if specified) will be appended to this URL. Leave out this property if locations should not be links.",
"urlRoot": "https://examplewiki.com/wiki/",
"mapLocations": {
"__comment3__": "Basic text locations",
"0002": "Location A",
"__comment4": "Location with urlTitle specified to override the location link; the name is specified with 'title'.",
"0003": {
"title": "Location B",
"__comment5": "You can override the URL used for location links by specifying urlTitle",
"urlTitle": "Actual_Location_B"
},
"__comment6__": "Multiple locations that will be displayed simultaneously (only use when the location is ambiguous for a map, even given the previous map ID)",
"0005": [ "Location C", "Location D" ],
"__comment7__": "Location that will vary depending on previous map ID; avoid using this argument if the game allows to teleport while on the same map, as it will lead to incorrect results (e.g. Bat effect of Yume 2kki teleports the player while not moving out of the map, rendering the previous map check null)",
"0010": {
"__comment8__": "If previous map ID matches the key, it will use that value for the location",
"0002": "Location E",
"0003": { "title": "Location F", "urlTitle": "Actual_Location_F" },
"__comment9__": "If 'else' is present, its value will be used if the previous map ID does not match any of the keys for this entry (if 'else' is not present, 'Unknown Location' will be displayed, but it's better to have an else anyways as a failsafe)",
"else": [ "Location E", { "title": "Location F", "urlTitle": "Actual_Location_F" } ]
}
},
"__comment10__": "Locations matching a key for locationUrlTitles will have their urlTitle assigned that entry's value. This is useful for locations with many maps that also need an overridden urlTitle.",
"locationUrlTitles": {
"Location E": "Actual_Location_E"
}
}