diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-03 14:07:11 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-03 14:42:14 +0100 |
commit | 429aa8d6c822c35a92869f8b1d9bcec2e1f13d84 (patch) | |
tree | ca65ba88ae8dbcf64319f2e4ab69de40fea22614 /data.js | |
parent | 04001db84cb251da84a9d6c4711258d447730d67 (diff) | |
download | julius-caesar-429aa8d6c822c35a92869f8b1d9bcec2e1f13d84.tar.gz |
Update block art.
Diffstat (limited to 'data.js')
-rw-r--r-- | data.js | 143 |
1 files changed, 78 insertions, 65 deletions
@@ -303,77 +303,90 @@ function init_data() { sea("Pontus Euxinus", "Propontis") sea("Pontus Euxinus", "Sinope") - function block(name, type, steps, initiative, firepower, levy = 0) { + function block(row, col, name, type, steps, initiative, firepower, levy = 0) { if (levy) levy = SPACES.findIndex(s=>s.name===levy) - BLOCKS.push({ name, type, steps, initiative, firepower, levy }) + BLOCKS.push({ name, type, steps, initiative, firepower, levy, row, col }) } - block("Caesar", "leader", 3, "A", 3) - block("Antonius", "leader", 2, "A", 2) - block("Octavian", "leader", 3, "A", 2) - block("Legio 7", "legio", 3, "C", 2, "Tarraco") - block("Legio 8", "legio", 3, "C", 3, "Tarraco") - block("Legio 9", "legio", 3, "C", 2, "Carthago Nova") - block("Legio 10", "legio", 3, "C", 4, "Corduba") - block("Legio 11", "legio", 3, "C", 3, "Genua") - block("Legio 12", "legio", 3, "C", 3, "Genua") - block("Legio 13", "legio", 3, "C", 3, "Ravenna") - block("Legio 14", "legio", 3, "C", 3, "Ravenna") - block("Legio 16", "legio", 3, "C", 2, "Aquileia") - block("Legio 17", "legio", 4, "C", 2, "Roma") - block("Legio 18", "legio", 4, "C", 2, "Neapolis") - block("Legio 19", "legio", 4, "C", 2, "Syracusae") - block("Legio 20", "legio", 4, "C", 2, "Athenae") - block("Legio 21", "legio", 4, "C", 3, "Ancyra") - block("Equitatus 1", "equitatus", 3, "B", 2, "Lugdunum") - block("Equitatus 2", "equitatus", 2, "B", 2, "Toletum") - block("Equitatus 3", "equitatus", 2, "B", 3, "Byzantium") - block("Equitatus 4", "equitatus", 3, "B", 3, "Antiochia") - block("Auxilia 1", "auxilia-b", 4, "B", 1) - block("Auxilia 2", "auxilia-b", 4, "B", 1) - block("Auxilia 3", "auxilia-a", 3, "A", 1) - block("Auxilia 4", "auxilia-a", 3, "A", 1) - block("Ballista", "ballista", 2, "X", 4) - block("Navis 1", "navis", 2, "D", 2) - block("Navis 2", "navis", 2, "D", 2) - block("Navis 3", "navis", 2, "D", 2) - block("Navis 4", "navis", 2, "D", 3) - block("Navis 5", "navis", 2, "D", 3) + block(5,5, "Caesar", "leader", 3, "A", 3) + block(5,6, "Antonius", "leader", 2, "A", 2) + block(6,1, "Octavian", "leader", 3, "A", 2) - block("Cleopatra", "cleopatra", 4, "C", 1) + block(1,1, "Legio 7", "legio", 3, "C", 2, "Tarraco") + block(1,2, "Legio 8", "legio", 3, "C", 3, "Tarraco") + block(1,3, "Legio 9", "legio", 3, "C", 2, "Carthago Nova") + block(1,4, "Legio 10", "legio", 3, "C", 4, "Corduba") + block(1,5, "Legio 11", "legio", 3, "C", 3, "Genua") + block(1,6, "Legio 12", "legio", 3, "C", 3, "Genua") - block("Pompeius", "leader", 3, "B", 3) - block("Scipio", "leader", 3, "A", 2) - block("Brutus", "leader", 2, "A", 2) - block("Legio 1", "legio", 4, "C", 2, "Roma") - block("Legio 2", "legio", 4, "C", 2, "Carthago Nova") - block("Legio 3", "legio", 3, "C", 3, "Ravenna") - block("Legio 4", "legio", 3, "C", 2, "Carthago Nova") - block("Legio 5", "legio", 3, "C", 2, "Tarraco") - block("Legio 6", "legio", 3, "C", 2, "Tarraco") - block("Legio 32", "legio", 3, "C", 2, "Athenae") - block("Legio 33", "legio", 3, "C", 3, "Creta") - block("Legio 34", "legio", 3, "C", 3, "Antiochia") - block("Legio 35", "legio", 3, "C", 2, "Byzantium") - block("Legio 36", "legio", 4, "C", 2, "Ephesus") - block("Legio 37", "legio", 3, "C", 2, "Syracusae") - block("Legio 38", "legio", 4, "C", 2, "Alexandria") - block("Legio 39", "legio", 3, "C", 2, "Utica") - block("Equitatus 1", "equitatus", 2, "B", 3, "Toletum") - block("Equitatus 2", "equitatus", 4, "B", 2, "Badias") - block("Equitatus 3", "equitatus", 3, "B", 2, "Antiochia") - block("Elephant", "elephant", 2, "B", 3, "Utica") - block("Auxilia 1", "auxilia-b", 4, "B", 1) - block("Auxilia 2", "auxilia-b", 4, "B", 1) - block("Auxilia 3", "auxilia-a", 3, "A", 1) - block("Auxilia 4", "auxilia-a", 3, "A", 1) - block("Ballista", "ballista", 2, "X", 4) - block("Navis 1", "navis", 2, "D", 3) - block("Navis 2", "navis", 2, "D", 3) - block("Navis 3", "navis", 2, "D", 2) - block("Navis 4", "navis", 2, "D", 2) - block("Navis 5", "navis", 2, "D", 2) + block(2,1, "Legio 13", "legio", 3, "C", 3, "Ravenna") + block(2,2, "Legio 14", "legio", 3, "C", 3, "Ravenna") + block(2,3, "Legio 16", "legio", 3, "C", 2, "Aquileia") + block(2,4, "Legio 17", "legio", 4, "C", 2, "Roma") + block(2,5, "Legio 18", "legio", 4, "C", 2, "Neapolis") + block(2,6, "Legio 19", "legio", 4, "C", 2, "Syracusae") + + block(3,1, "Legio 20", "legio", 4, "C", 2, "Athenae") + block(3,2, "Legio 21", "legio", 4, "C", 3, "Ancyra") + + block(3,3, "Equitatus 1", "equitatus", 3, "B", 2, "Lugdunum") + block(3,4, "Equitatus 2", "equitatus", 2, "B", 2, "Toletum") + block(3,5, "Equitatus 3", "equitatus", 2, "B", 3, "Byzantium") + block(4,4, "Equitatus 4", "equitatus", 3, "B", 3, "Antiochia") + + block(3,6, "Auxilia 1", "auxilia-b", 4, "B", 1) + block(4,1, "Auxilia 2", "auxilia-b", 4, "B", 1) + block(4,2, "Auxilia 3", "auxilia-a", 3, "A", 1) + block(4,3, "Auxilia 4", "auxilia-a", 3, "A", 1) + + block(5,4, "Ballista", "ballista", 2, "X", 4) + + block(4,5, "Navis 1", "navis", 2, "D", 2) + block(4,6, "Navis 2", "navis", 2, "D", 2) + block(5,1, "Navis 3", "navis", 2, "D", 2) + block(5,2, "Navis 4", "navis", 2, "D", 3) + block(5,3, "Navis 5", "navis", 2, "D", 3) + + block(1,1, "Cleopatra", "cleopatra", 4, "C", 1) + + block(1,1, "Pompeius", "leader", 3, "B", 3) + block(1,2, "Scipio", "leader", 3, "A", 2) + block(1,3, "Brutus", "leader", 2, "A", 2) + + block(3,6, "Legio 1", "legio", 4, "C", 2, "Roma") + block(4,1, "Legio 2", "legio", 4, "C", 2, "Carthago Nova") + block(4,2, "Legio 3", "legio", 3, "C", 3, "Ravenna") + block(4,3, "Legio 4", "legio", 3, "C", 2, "Carthago Nova") + block(4,4, "Legio 5", "legio", 3, "C", 2, "Tarraco") + block(4,5, "Legio 6", "legio", 3, "C", 2, "Tarraco") + block(4,6, "Legio 32", "legio", 3, "C", 2, "Athenae") + block(5,1, "Legio 33", "legio", 3, "C", 3, "Creta") + block(5,2, "Legio 34", "legio", 3, "C", 3, "Antiochia") + block(5,3, "Legio 35", "legio", 3, "C", 2, "Byzantium") + block(5,4, "Legio 36", "legio", 4, "C", 2, "Ephesus") + block(5,5, "Legio 37", "legio", 3, "C", 2, "Syracusae") + block(5,6, "Legio 38", "legio", 4, "C", 2, "Alexandria") + block(6,1, "Legio 39", "legio", 3, "C", 2, "Utica") + + block(2,5, "Equitatus 1", "equitatus", 2, "B", 3, "Toletum") + block(2,6, "Equitatus 2", "equitatus", 4, "B", 2, "Badias") + block(3,1, "Equitatus 3", "equitatus", 3, "B", 2, "Antiochia") + + block(2,4, "Elephant", "elephant", 2, "B", 3, "Utica") + + block(3,2, "Auxilia 1", "auxilia-b", 4, "B", 1) + block(3,3, "Auxilia 2", "auxilia-b", 4, "B", 1) + block(3,4, "Auxilia 3", "auxilia-a", 3, "A", 1) + block(3,5, "Auxilia 4", "auxilia-a", 3, "A", 1) + + block(2,3, "Ballista", "ballista", 2, "X", 4) + + block(1,4, "Navis 1", "navis", 2, "D", 3) + block(1,5, "Navis 2", "navis", 2, "D", 3) + block(1,6, "Navis 3", "navis", 2, "D", 2) + block(2,1, "Navis 4", "navis", 2, "D", 2) + block(2,2, "Navis 5", "navis", 2, "D", 2) } init_data() |