summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-23 15:39:27 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit64c8b10e17d47967b82825d4583f97019b95a193 (patch)
treee552135d2457bdf74a192032518713a9f9c45de0
parent48b8a64210ae6a9d5ac4f07abd6606601890c7f3 (diff)
downloadnevsky-64c8b10e17d47967b82825d4583f97019b95a193.tar.gz
Scenario blurbs on creation page.
-rw-r--r--create.html71
-rw-r--r--play.html8
2 files changed, 71 insertions, 8 deletions
diff --git a/create.html b/create.html
index e69de29..f504286 100644
--- a/create.html
+++ b/create.html
@@ -0,0 +1,71 @@
+<style>
+.scenario_info { display: none; font-style: italic }
+.scenario_info.show { display: block }
+.hide { display: none; }
+</style>
+
+<div class="scenario_info" id="Pleskau">
+<p>
+Pleskau - 1240
+<p>
+Frontier bishop Hermann von Buxhövden spurs a Latin lunge at the "schismatics" of Novgorod.
+</div>
+
+<div class="scenario_info show" id="Pleskau (Quickstart)">
+<p>
+Pleskau - 1240 (Quickstart)
+<p>
+Frontier bishop Hermann von Buxhövden spurs a Latin lunge at the "schismatics" of Novgorod.
+<p>
+NOTE: This is a quickstart setup for first time players who want to skip the first Levy phase.
+</div>
+
+<div class="scenario_info" id="Watland">
+<p>
+Watland - 1240
+<p>
+Following Hermann's success at Pskov, the Teutons agree on a plan to conquer another people under Novgorod's sway—the still mostly pagan Vodians.
+</div>
+
+<div class="scenario_info" id="Return of the Prince">
+<p>
+Return of the Prince - 1241 to 1242
+<p>
+With the Teutons settling into Rus and their raids almost reaching the great city, Novgorodans and the Grand Prince at last see eye-to-eye on a response.
+</div>
+
+<div class="scenario_info" id="Return of the Prince (Nicolle)">
+<p>
+Return of the Prince - Nicolle Variant
+<p>
+In contrast to the Novgorod Chronicle, David Nicolle in Lake Peipus 1242 (Osprey) dates the Teutonic assault on Pskov to 1241 rather than 1240, with the Teutons pressing south of Lake Chud while Aleksandr counterattacks in the north.
+</div>
+
+<div class="scenario_info" id="Peipus">
+<p>
+Peipus - 1242
+<p>
+Rather than pressing the Danes westward from his reconquest of Koporye, Aleksandr bolsters his army to liberate Pskov and wreak revenge on Dorpat.
+</div>
+
+<div class="scenario_info" id="Crusade on Novgorod">
+<p>
+Crusade on Novgorod - 1240 to 1242
+<p>
+With Aleksandr's repulse of the Swedes, the Veche feels safe to dismiss its Prince and let Novgorod see to its own defense. But over the lakes, reconciled Teutonic knights and Danes now eye Rus as a prize.
+</div>
+
+<p>
+<label><input type="checkbox" name="hidden" value="true">Hidden Mats</label>
+</p>
+
+</div>
+
+<script>
+let scenario = document.querySelector("select[name='scenario']")
+scenario.onchange = function (evt) {
+ document.querySelectorAll(".scenario_info").forEach(e=>e.classList.remove("show"))
+ document.getElementById(scenario.value).classList.add("show")
+}
+scenario.onchange()
+</script>
diff --git a/play.html b/play.html
index f5bc61a..2398036 100644
--- a/play.html
+++ b/play.html
@@ -1217,14 +1217,6 @@ body.shift .mustered_vassals {
<div class="menu_separator"></div>
<div class="menu_item" onclick="send_save()">&#x1F41E; Save</div>
<div class="menu_item" onclick="send_restore()">&#x1F41E; Restore</div>
- <div class="menu_item" onclick="send_restart('Pleskau (Quickstart)')">&#x26a0; Pleskau (Quickstart)</div>
- <div class="menu_item" onclick="send_restart('Pleskau')">&#x26a0; Pleskau</div>
- <div class="menu_item" onclick="send_restart('Watland')">&#x26a0; Watland</div>
- <div class="menu_item" onclick="send_restart('Peipus')">&#x26a0; Peipus</div>
- <div class="menu_item" onclick="send_restart('Return of the Prince')">&#x26a0; Return of the Prince</div>
- <div class="menu_item" onclick="send_restart('Return of the Prince (Nicolle)')">&#x26a0; Return of the Prince (Nicolle)</div>
- <div class="menu_item" onclick="send_restart('Crusade on Novgorod')">&#x26a0; Crusade on Novgorod</div>
- <div class="menu_item" onclick="send_restart('Test')">&#x26a0; Test</div>
</div>
</div>
<div class="icon_button" onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></div>