summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-04 21:24:03 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:19:39 +0100
commit9d54f04657ac2bd3774f5da58e9bfc239b4e3686 (patch)
treef199290a91658e9a4c4a5639b6c2eae9e95319df
parent0cf79fbe2a01348a69e49b79a6374b46b8aa53a0 (diff)
downloadcrusader-rex-9d54f04657ac2bd3774f5da58e9bfc239b4e3686.tar.gz
crusader: Tweak town layouts.
-rw-r--r--data.js26
-rw-r--r--play.html1
2 files changed, 14 insertions, 13 deletions
diff --git a/data.js b/data.js
index a0f30f8..9b12794 100644
--- a/data.js
+++ b/data.js
@@ -95,7 +95,7 @@ const TOWNS = {
"Egypt":{"x":202,"y":2318},
"Gaza":{"x":300,"y":2185},
"Hama":{"x":1035,"y":477},
- "Harim":{"x":699,"y":124},
+ "Harim":{"x":700,"y":120},
"Hebron":{"x":680,"y":2109},
"Homs":{"x":1053,"y":683},
"Jaffa":{"x":399,"y":1923},
@@ -113,9 +113,9 @@ const TOWNS = {
"Monterrand":{"x":920,"y":603},
"Nablus":{"x":643,"y":1787},
"Qaddas":{"x":1145,"y":916},
- "Ramallah":{"x":514,"y":1952},
- "Sa\xf4ne":{"x":653,"y":428},
- "Shughur":{"x":656,"y":296},
+ "Ramallah":{"x":514,"y":1950},
+ "Sa\xf4ne":{"x":650,"y":430},
+ "Shughur":{"x":655,"y":300},
"Sidon":{"x":493,"y":1276},
"St. Simeon":{"x":364,"y":211},
"Tartus":{"x":605,"y":718},
@@ -275,11 +275,11 @@ const PORTS = [];
town('Y', 0.5, 0.5, 3, "Syria", "Artah", 1, "town");
town('X', 1.0, 0.5, 3, "Syria", "Zerdana", 1, "town");
town('X', 1.0, 0.5, 3, "Syria", "Hama", 1, "town");
- town('X', 1.0, 0.5, 3, "Syria", "Homs", 2, "town");
- town('X', 0.5, 0.5, 3, "Syria", "Lacum", 0, "town");
- town('X', 0.5, 0.5, 3, "Syria", "Qaddas", 0, "town");
- town('X', 0.5, 0.5, 3, "Syria", "Baalbek", 1, "town");
- town('X', 0.5, 0.5, 3, "Syria", "Anjar", 0, "town");
+ town('X', 0.9, 0.5, 3, "Syria", "Homs", 2, "town");
+ town('X', 0.3, 0.5, 3, "Syria", "Lacum", 0, "town");
+ town('X', 0.3, 0.5, 3, "Syria", "Qaddas", 0, "town");
+ town('X', 0.5, 1.0, 3, "Syria", "Baalbek", 1, "town");
+ town('X', 0.5, 1.0, 3, "Syria", "Anjar", 0, "town");
town('X', 0.5, 0.5, 4, "Syria", "Damascus", 4, "town");
town('X', 1.0, 0.5, 3, "Syria", "Banyas", 1, "town");
town('X', 1.0, 0.5, 3, "Syria", "Ashtera", 1, "town");
@@ -287,7 +287,7 @@ const PORTS = [];
town('X', 0.0, 0.5, 3, "Antioch", "St. Simeon", 0, "port");
town('Y', 0.5, 0.5, 3, "Antioch", "Antioch", 3, "town");
- town('Y', 1.0, 0.5, 3, "Antioch", "Harim", 0, "town");
+ town('Y', 0.5, 0.5, 3, "Antioch", "Harim", 0, "town");
town('X', 0.5, 0.5, 3, "Antioch", "Kassab", 0, "town");
town('X', 0.5, 0.5, 3, "Antioch", "Shughur", 0, "town");
town('X', 0.0, 0.5, 3, "Antioch", "Latakia", 1, "port");
@@ -319,11 +319,11 @@ const PORTS = [];
town('Y', 0.5, 0.5, 3, "Jerusalem", "Ramallah", 0, "town");
town('X', 0.5, 0.5, 3, "Jerusalem", "Jerusalem", 3, "town");
town('Y', 0.5, 0.5, 3, "Jerusalem", "Jericho", 0, "town");
- town('X', 0.0, 0.5, 3, "Jerusalem", "Ascalon", 2, "port");
+ town('X', 0.1, 0.5, 6, "Jerusalem", "Ascalon", 2, "port");
town('Y', 0.5, 0.5, 3, "Jerusalem", "Lachish", 0, "town");
- town('X', 0.5, 0.5, 3, "Jerusalem", "Hebron", 1, "town");
+ town('X', 0.5, 1.0, 3, "Jerusalem", "Hebron", 1, "town");
town('X', 1.0, 0.5, 3, "Jerusalem", "Kerak", 1, "town");
- town('X', 0.5, 0.5, 3, "Jerusalem", "Gaza", 1, "town");
+ town('X', 0.5, 0.5, 6, "Jerusalem", "Gaza", 1, "town");
town('Y', 0.5, 0.5, 3, "Jerusalem", "Beersheba", 0, "town");
town('X', 0.5, 0.5, 3, "Jerusalem", "Dimona", 0, "town");
town('X', 1.0, 0.5, 3, "Jerusalem", "Zoar", 0, "town");
diff --git a/play.html b/play.html
index 3f20e4c..d288c2c 100644
--- a/play.html
+++ b/play.html
@@ -154,6 +154,7 @@ body.shift .block.known:hover {
.block.Franks { border: 3px solid darkkhaki; background-color: khaki; }
.block.Saracens { border: 3px solid seagreen; background-color: darkseagreen; }
+.block.Saracens.known { background-color: darkgreen; }
.block.Assassins { border: 3px solid rebeccapurple; background-color: rebeccapurple; }
.block.Franks.highlight { border-color: white; }