diff --git a/game.py b/game.py index e50cd6e..5835631 100644 --- a/game.py +++ b/game.py @@ -7398,6 +7398,12 @@ ORDER_RECIPES, ORDER_RAW = _order_sources() # What changed, shown on the Patch notes page. Newest first; every shipped change adds a # line here (new / balance / fix), and a new release a new entry on top. PATCH_NOTES = [ + {"date": "2026-11-04", "title": "War council", "notes": [ + ("new", "War council on the Kingdom page: propose sending guards to another town. 1h vote: a majority of active players settles it, else the votes cast. Tie: they stay."), + ("new", "Guards march 20h with their kit and wage, stand one fight, then march home. Lost fight: some die. Their posts stay empty while they're away."), + ("new", "War table: every town's threat, as far as its scouts know, defence, guards and garrison."), + ("new", "Main assault: with 2+ towns of Town size, one takes +50% weight, the rest -25%. Kingdom total stays the same. Full intel reveals it."), + ]}, {"date": "2026-11-04", "title": "Kingdom", "notes": [ ("new", "Kingdom: found a new town. Needs a city, a charter and a second signature. Costs 20 settlers, 5,000 gold, 200 provisions."), ("new", "Regions: โ›ฐ๏ธ mining, ๐ŸŒฒ woodcutting + hunting, ๐ŸŒŠ fishing, ๐ŸŒพ farming. Up to +100% yield on basic materials, grows with the town. One town per region."), diff --git a/static/app.js b/static/app.js index e2f320e..ef71ee3 100644 --- a/static/app.js +++ b/static/app.js @@ -961,11 +961,12 @@ function warTable() { const text = { marching: `๐Ÿ›ค๏ธ ${dur(Math.max(0, m.arrive - S.now))}`, there: `๐Ÿ›ก๏ธ +${fmt(m.power)}`, returning: `๐Ÿ  ${dur(Math.max(0, m.arrive - S.now))}` }[m.status]; return `
๐Ÿ’‚ ${fmt(m.guards)} ยท ${esc(townName(m.from))} โ†’ ${esc(townName(m.to))}${text}${late ? ` Late` : ""}
`; }; - const options = (key) => k.cities.map((c) => ``).join(""); + const options = (pick) => k.cities.map((c) => ``).join(""); + const home = me.travel ? me.travel.from : me.at, other = k.cities.find((c) => c.id !== home)?.id; return `

War council

${k.council.map(proposal).join("")} ${k.marches.map(march).join("")} -
โ†’ +
โ†’

๐Ÿ›ค๏ธ ${dur(C.march_time / S.city_speed)} ยท vote ${dur(C.vote_time / S.city_speed)} ยท one fight, then home

@@ -1017,7 +1018,7 @@ function kingdom() { : full ? `

${k.cities.length} / ${k.max} towns

` : `

${cost}

${S.city.next_tier ? `

${esc(k.short)}

` : `
- +
`}`; return `
${towns}
diff --git a/static/styles.css b/static/styles.css index 8907672..fd44e2e 100644 --- a/static/styles.css +++ b/static/styles.css @@ -957,3 +957,4 @@ button.swatch { width: 36px; height: 36px; } .pouch-row select, .pouch-row input[type=text] { min-width: 0; flex: 1 1 140px; } .council-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); } @media (max-width: 520px) { .council-row { grid-template-columns: minmax(0, 1fr) auto; } } +.pouch-row select.wide { flex-basis: 100%; }