diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-06-01 11:42:06 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-06-01 11:42:06 +0200 |
commit | 71a1badaa074df9ccb3b93910a556c9e88c75aed (patch) | |
tree | f10236bf9bdf3e127e73e876f61b88ee1155a4e1 /tools/parse-layout.js | |
parent | c8a135ad09d7cd758ed61e8c010dcde8580e6c2a (diff) | |
download | maria-71a1badaa074df9ccb3b93910a556c9e88c75aed.tar.gz |
style
Diffstat (limited to 'tools/parse-layout.js')
-rw-r--r-- | tools/parse-layout.js | 12 |
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: [], }, } |