diff --git a/.gitignore b/.gitignore index e69de29..ab477e2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +htmlmap.html \ No newline at end of file diff --git a/js/locations/capitals.js b/js/locations/capitals.js index 9da1b98..94bb9f4 100644 --- a/js/locations/capitals.js +++ b/js/locations/capitals.js @@ -1,6 +1,7 @@ /** * @typedef {Object} CapitalData * @property {string} name + * @property {string?} description * @property {string?} url * @property {{x:string,y:string}} position */ @@ -11,6 +12,7 @@ const capitals = [ { name: "Lune", + description: "The capital of the Holy Empire Lubelius, home of God Luminous.", position: { x: "900", y: "930" } }, { @@ -20,48 +22,61 @@ const capitals = [ }, { name: "Imprerial Capital Nasca", + description: "The Imperial Capital of the Eastern Empire, formerly the Kingdom of Nasca.", position: { x: "2070", y: "730" } }, { name: "Dwargon Gate", + description: "The great gate that acts as the entrance into all of Dwargon's underground cities.", position: { x: "1840", y: "880" } }, { name: "Amrita", + description: "The capital of Jistav, formerly Clayman's base of operations.", url: "https://tensura.fandom.com/wiki/Amrita", position: { x: "2280", y: "1000" } }, { name: "City of the forgotten Dragon", + description: "The home of the Dragon Faithful, Milim's worshippers.", + url: "https://tensura.fandom.com/wiki/City_of_the_Forgotten_Dragon", position: { x: "2070", y: "1240" } }, { name: "Laura", + description: "The former capital of the Beast Kingdom of Eurazania. It was reduced to rubble by Milim Nava.", position: { x: "1960", y: "1325" } }, { name: "Jia", + description: "The capital of the Harpy Queendom of Fulbrosia.", position: { x: "1670", y: "1480" } }, { name: "Elmine Sarion", + description: "The Imperial Capital of Sarion.", position: { x: "1395", y: "1360" } }, { name: "Londo", + description: "The royal capital and sole city of the kingdom of Blumund.", position: { x: "1500", y: "1050" } }, { name: "Marris", + description: "The Royal Capital of Falmuth.", + url: "https://tensura.fandom.com/wiki/Kingdom_of_Falmuth#Marris", position: { x: "1455", y: "870" } }, { name: "Frost Palace", + description: "The home of Guy Crimson and his horde of daemons.", url: "https://tensura.fandom.com/wiki/Frost_Palace", position: { x: "1200", y: "320" } }, { name: "Golden City of El Dorado", + description: "The Kingdom of Demon Lord Leon.", url: "https://tensura.fandom.com/wiki/Golden_City_of_El_Dorado", position: { x: "800", y: "1565" } }, diff --git a/js/locations/nations.js b/js/locations/nations.js index b6c0ff4..b9297fa 100644 --- a/js/locations/nations.js +++ b/js/locations/nations.js @@ -133,19 +133,19 @@ const nations = [ { name: "Holy Empire of Lubelius", url: "https://tensura.fandom.com/wiki/Holy_Empire_of_Lubelius", - ruler: "Luminous Valentine (Holy Figure)
Louis Valentine (Holy Emperor)", + ruler: "Luminous Valentine (Holy Figure)
Louis Valentine (Holy Emperor)", capital: "Lune", population: "20M", description: "The headquarters of the Western Saint's Chruch, a communistic theocracy led by the pope. A wealthy country amoong the western alliance with vast wheat producing regions.", points: "1123, 936, 1117, 967, 1112, 1013, 1114, 1038, 1113, 1060, 1099, 1063, 1085, 1063, 1073, 1066, 1063, 1066, 1053, 1068, 1041, 1074, 1033, 1080, 1028, 1090, 1024, 1100, 1026, 1110, 1023, 1123, 1018, 1133, 1012, 1143, 1008, 1152, 1002, 1160, 995, 1170, 986, 1178, 978, 1187, 964, 1182, 949, 1176, 939, 1171, 923, 1163, 911, 1157, 900, 1152, 890, 1146, 879, 1141, 864, 1132, 852, 1123, 844, 1118, 835, 1110, 826, 1103, 819, 1096, 811, 1087, 803, 1079, 797, 1071, 790, 1061, 783, 1053, 775, 1043, 768, 1034, 757, 1021, 748, 1009, 741, 999, 734, 989, 727, 979, 721, 969, 713, 957, 704, 945, 698, 935, 690, 922, 684, 912, 682, 907, 690, 903, 696, 897, 703, 891, 713, 887, 717, 884, 722, 876, 726, 866, 729, 860, 732, 852, 740, 843, 744, 834, 744, 822, 740, 814, 740, 809, 734, 801, 734, 788, 727, 778, 731, 769, 735, 760, 743, 754, 751, 749, 757, 741, 765, 730, 772, 721, 782, 715, 790, 713, 798, 710, 807, 713, 814, 716, 821, 716, 826, 721, 830, 728, 838, 734, 849, 738, 856, 740, 868, 742, 879, 742, 885, 741, 890, 736, 896, 732, 902, 727, 905, 721, 905, 715, 900, 710, 901, 704, 898, 697, 892, 695, 891, 689, 897, 684, 905, 679, 915, 675, 921, 679, 926, 680, 936, 679, 948, 678, 954, 676, 961, 675, 971, 677, 974, 679, 977, 685, 983, 690, 987, 694, 993, 697, 998, 699, 1003, 706, 1008, 711, 1009, 718, 1009, 727, 1010, 736, 1015, 743, 1019, 751, 1023, 758, 1027, 766, 1030, 775, 1032, 784, 1024, 801, 1026, 813, 1028, 825, 1029, 838, 1030, 849, 1032, 861, 1036, 874, 1041, 883, 1048, 891, 1056, 898, 1064, 904, 1067, 909, 1067, 916, 1068, 922, 1080, 927, 1090, 930, 1102, 933" }, { - name: "Barren Lands", - url: "https://tensura.fandom.com/wiki/Magic_Continent#Barren_Lands", + name: "Damargania", + url: "https://tensura.fandom.com/wiki/Holy_Void_of_Damargania", ruler: "Demon Lord Dagruel", capital: "", population: "", - description: "Region furthest west on the 'Magic Continent'. It is a great expanse of inhospitable sandy desert contamined with magicule radiations and the territory of Demon Lord Dagruel.", + description: "Region furthest west on the Magic Continent. It is a great expanse of inhospitable sandy desert contamined with magicule radiations and the territory of Demon Lord Dagruel.", points: "681, 908, 684, 913, 689, 922, 696, 933, 703, 943, 711, 956, 719, 969, 725, 977, 733, 988, 739, 997, 747, 1008, 755, 1019, 768, 1034, 774, 1043, 783, 1054, 789, 1061, 797, 1071, 803, 1079, 811, 1087, 818, 1096, 825, 1103, 833, 1109, 841, 1117, 850, 1123, 863, 1132, 878, 1141, 888, 1147, 899, 1152, 909, 1156, 921, 1163, 937, 1170, 948, 1177, 965, 1183, 974, 1187, 979, 1201, 981, 1214, 975, 1226, 972, 1233, 963, 1240, 958, 1248, 950, 1254, 943, 1260, 932, 1264, 923, 1268, 910, 1272, 903, 1277, 899, 1282, 899, 1291, 902, 1301, 909, 1309, 916, 1314, 926, 1322, 926, 1329, 922, 1336, 918, 1342, 912, 1345, 905, 1346, 897, 1350, 887, 1356, 868, 1356, 850, 1356, 842, 1362, 810, 1398, 809, 1406, 806, 1415, 795, 1418, 786, 1415, 777, 1409, 769, 1404, 758, 1398, 749, 1393, 742, 1385, 738, 1375, 733, 1365, 728, 1360, 712, 1361, 701, 1363, 691, 1369, 677, 1364, 669, 1358, 665, 1346, 657, 1346, 648, 1346, 641, 1343, 632, 1345, 623, 1345, 615, 1343, 608, 1334, 599, 1321, 591, 1314, 582, 1306, 570, 1304, 560, 1293, 551, 1281, 543, 1271, 536, 1266, 524, 1270, 512, 1275, 504, 1284, 499, 1293, 496, 1305, 489, 1311, 476, 1313, 465, 1318, 452, 1324, 439, 1331, 428, 1338, 423, 1345, 424, 1352, 414, 1357, 402, 1361, 385, 1356, 385, 1348, 384, 1340, 381, 1337, 389, 1330, 397, 1323, 405, 1312, 412, 1303, 413, 1292, 413, 1278, 425, 1267, 435, 1257, 441, 1250, 452, 1248, 463, 1248, 474, 1250, 483, 1252, 491, 1254, 503, 1249, 520, 1239, 524, 1231, 523, 1221, 519, 1211, 514, 1203, 508, 1198, 491, 1197, 482, 1195, 472, 1187, 467, 1179, 464, 1168, 463, 1164, 454, 1166, 445, 1166, 437, 1164, 434, 1170, 430, 1178, 420, 1184, 409, 1192, 403, 1198, 402, 1205, 405, 1213, 407, 1220, 402, 1229, 392, 1233, 383, 1238, 368, 1250, 360, 1252, 351, 1247, 343, 1241, 335, 1237, 325, 1236, 316, 1229, 310, 1221, 304, 1213, 301, 1207, 292, 1204, 277, 1203, 268, 1201, 259, 1196, 251, 1192, 243, 1189, 232, 1189, 223, 1187, 215, 1182, 205, 1177, 195, 1177, 184, 1177, 179, 1174, 175, 1165, 171, 1158, 162, 1152, 155, 1148, 147, 1145, 138, 1138, 131, 1136, 122, 1131, 118, 1123, 116, 1112, 114, 1104, 110, 1093, 114, 1083, 117, 1077, 115, 1060, 118, 1057, 124, 1059, 128, 1058, 136, 1055, 142, 1057, 148, 1063, 155, 1070, 162, 1075, 169, 1080, 180, 1081, 190, 1079, 197, 1078, 204, 1083, 211, 1087, 218, 1091, 225, 1097, 230, 1098, 240, 1100, 251, 1102, 262, 1101, 271, 1097, 277, 1093, 283, 1085, 291, 1077, 299, 1078, 307, 1078, 318, 1080, 333, 1081, 342, 1080, 349, 1075, 351, 1068, 356, 1059, 357, 1047, 358, 1039, 353, 1033, 347, 1026, 341, 1017, 335, 1009, 329, 999, 323, 990, 316, 981, 306, 976, 294, 971, 286, 961, 282, 954, 272, 946, 263, 940, 251, 931, 234, 931, 224, 920, 223, 909, 220, 900, 216, 891, 213, 882, 216, 874, 220, 867, 220, 858, 215, 849, 211, 844, 217, 825, 226, 827, 233, 824, 240, 817, 241, 813, 241, 803, 238, 794, 238, 782, 239, 774, 233, 763, 235, 753, 245, 749, 253, 747, 262, 751, 272, 751, 278, 753, 283, 760, 287, 772, 294, 782, 303, 789, 314, 794, 322, 797, 330, 804, 341, 808, 351, 811, 360, 815, 369, 818, 374, 823, 378, 831, 388, 844, 395, 854, 415, 874, 424, 874, 433, 876, 441, 876, 445, 882, 462, 878, 474, 873, 484, 870, 494, 868, 502, 872, 511, 879, 522, 882, 535, 885, 547, 888, 555, 893, 563, 895, 574, 896, 582, 893, 592, 892, 601, 892, 608, 899, 614, 906, 622, 914, 633, 923, 642, 923, 652, 920, 665, 915" }, { diff --git a/js/locations/pois.js b/js/locations/pois.js index f5f6c95..4a915f4 100644 --- a/js/locations/pois.js +++ b/js/locations/pois.js @@ -67,4 +67,9 @@ const pois = [ url: "https://tensura.fandom.com/wiki/Magic%20Tower", position: { x: "1165", y: "1375" } }, + { + name: "Barren Lands", + description: "The uninhabitable region laid to waste during the battle between Guy and Milim 2,000 years ago.", + position: { x: "509", y: "940" } + }, ] \ No newline at end of file diff --git a/js/mapBuilder.js b/js/mapBuilder.js index bd5d2ab..ebc5543 100644 --- a/js/mapBuilder.js +++ b/js/mapBuilder.js @@ -47,6 +47,7 @@ function addCapital(svg, capital) { class="location" data-name="${capital.name}" data-url="${capital.url ?? ""}" + data-description="${capital.description ?? ""}" > - + ${regionCapital} `;