summaryrefslogtreecommitdiff
path: root/tools/parse-layout.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/parse-layout.js')
-rw-r--r--tools/parse-layout.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/parse-layout.js b/tools/parse-layout.js
index b389669..9006560 100644
--- a/tools/parse-layout.js
+++ b/tools/parse-layout.js
@@ -221,7 +221,7 @@ const PRUSSIA = "Prussia"
const SAXONY = "Saxony"
const AUSTRIA = "Austria"
const AUSTRIAN_NETHERLANDS = "Austria"
-const HRE = "HRE"
+const EMPIRE = "Empire"
const NETHERLANDS = "Netherlands"
const SILESIA = "Silesia"
const POLAND = "Poland"
@@ -254,13 +254,13 @@ for (let key in points) {
let map = "UNKNOWN"
let country = "UNKNOWN"
- if (find_enclosing_rect(rects.$HRE_W, x, y)) {
+ if (find_enclosing_rect(rects.$Empire_W, x, y)) {
map = FLANDERS
- country = HRE
+ country = EMPIRE
}
- else if (find_enclosing_rect(rects.$HRE_E, x, y)) {
+ else if (find_enclosing_rect(rects.$Empire_E, x, y)) {
map = BOHEMIA
- country = HRE
+ country = EMPIRE
}
else if (find_enclosing_rect(rects.$Austria_W, x, y)) {
map = FLANDERS
@@ -393,7 +393,7 @@ let sets = {
Prussia: [],
Saxony: [],
Silesia: [],
- HRE: [],
+ Empire: [],
UNKNOWN: [],
},
}