diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-20 21:41:28 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | f45d7f2f4495703f231cbb337ba17cbea3d8d803 (patch) | |
tree | 44ea7eda0d1bcb7dd8d435ea6c2d8ae9c3c76c91 /rules.js | |
parent | 5f91c39ed2c0dd350ce09680c364a5450e79855e (diff) | |
download | nevsky-f45d7f2f4495703f231cbb337ba17cbea3d8d803.tar.gz |
Way tooltip highlight.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,7 +1,5 @@ "use strict" -// TODO: Bridge - kn, sgt, 1x lh, maa, militia, serf, lh, ah - // FIXME: lift_sieges / besieged needs checking! (automatic after disband_lord, manual after move/sail, extra careful manual after battle) // FIXME: remove_legate_if_endangered needs checking! (automatic after disband_lord, manual after move/sail, manual after battle) @@ -4602,7 +4600,7 @@ function march_with_group_2() { spend_march_action(1) if (data.ways[way].name) - log(`Marched via ${data.ways[way].name} to %${to}.`) + log(`Marched via W${way} to %${to}.`) else log(`Marched to %${to}.`) @@ -4860,7 +4858,7 @@ function avoid_battle_2() { let way = game.march.avoid_way if (data.ways[way].name) - log(`Avoided Battle via ${data.ways[way].name} to %${to}.`) + log(`Avoided Battle via W${way} to %${to}.`) else log(`Avoided Battle to %${to}.`) @@ -9103,7 +9101,7 @@ function retreat_2() { let way = game.battle.retreat_way if (data.ways[way].name) - log(`Retreated via ${data.ways[way].name} to %${to}.`) + log(`Retreated via W${way} to %${to}.`) else log(`Retreated to %${to}.`) |