diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2023-09-02 00:57:01 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | 7a24fc2dacb39d82a0b922244c8e54a79a4dadeb (patch) | |
tree | 6e708e26d5b09811f64ca6eff26487dae5aad193 /play.js | |
parent | 75c6b72df894aca18a6380a5e279bb11587e0143 (diff) | |
download | plantagenet-7a24fc2dacb39d82a0b922244c8e54a79a4dadeb.tar.gz |
early forage logic (exhaust/deplete)
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -685,7 +685,7 @@ function build_map() { // Locale Markers e = ui.locale_markers[ix] = document.createElement("div") - e.className = "locale marker rose york favour " + locale.name // York to be removed - York/Lancaster + e.className = "locale marker rose favour " + locale.name // York to be removed - York/Lancaster e.style.top = y+h-small + "px" e.style.left = x+ (w-small)/2 + "px" e.style.width = small + "px" @@ -698,7 +698,7 @@ function build_map() { // Depleted markers e = ui.locale_markers[ix] = document.createElement("div") - e.className = "locale marker exhausted " + locale.name // Depleted to be removed - depleted/exhausted to add markers + e.className = "locale marker " + locale.name // Depleted to be removed - depleted/exhausted to add markers e.style.top = y+h-small-offsetdeplete + "px" e.style.left = offsetdeplete+x+ (w-small)/2 + "px" e.style.width = small + "px" @@ -1120,14 +1120,14 @@ function update_locale(loc) { else ui.locale_markers[loc].appendChild(get_cached_element("marker circle battle")) - if (set_has(view.pieces.exhausted, loc)) { + /*if (set_has(view.pieces.exhausted, loc)) { let cn if (is_york_locale(loc)) cn = "marker small exhausted lancaster" else cn = "marker small exhausted york" ui.locale_markers[loc].appendChild(get_cached_element(cn)) - } + }*/ } function update_plan() { |