summaryrefslogtreecommitdiff
path: root/play.js
AgeCommit message (Collapse)Author
2024-04-20Clean up prompts for Welsh Rebellion and Warwick's Propaganda.Tor Andersson
2024-04-20Scenario victory thresholds.Tor Andersson
2024-04-20Fix sailing issues.Tor Andersson
Enemy lords can co-exist at sea. Cannot Pillage at sea. Shipwreck if unfed at sea.
2024-04-20Tweak CSS a bit.Tor Andersson
Still needs a huge overhaul.
2024-04-20Add short Lord names.Tor Andersson
2024-04-20Only show lords in play in planning window.Tor Andersson
2024-04-19Cap influence to 45.Tor Andersson
2024-04-19Enable source maps.Tor Andersson
2024-04-19Special LONDON_FOR_YORK favour locale. Rename favourl/favoury functions.Tor Andersson
2024-04-19Rework influence checks! Use game.actions for levy actions.Tor Andersson
2024-04-19Add missing Vanguard button.Tor Andersson
2024-04-19Some minor battle cleanups.Tor Andersson
2024-04-19Final Charge (v1 -- delay retinue hit).Tor Andersson
2024-04-18Update play.js for to make view.battle optional.Tor Andersson
2024-04-02L12C Commission of Arrayteisuru
2024-02-12Y15 Naval blockade p1teisuru
2024-01-09Event L9, L16, Y22teisuru
2024-01-08Event L28, Y36teisuru
2024-01-02Event L9, Y3, Y9 + commentsteisuru
2024-01-01Use "card2" elements when showing hover card in current card display.Tor Andersson
2024-01-01Fix typo when constructing command cards for current card display.Tor Andersson
2023-12-23Event Y4, Y16teisuru
2023-12-21Use HTML text for Arts of War cards (to improve legibility).Tor Andersson
2023-12-21Event L10, L18, Y14, Y34, Y35,teisuru
2023-12-14fix L31teisuru
2023-12-13Events Y21, Y23, Y27, Y31teisuru
2023-12-12Events L23,L24,L25teisuru
2023-12-10Update to newest RTT server framework.Tor Andersson
2023-12-10Y10 agitatorsteisuru
2023-12-10Capability L30 merchantsteisuru
to be improved
2023-12-10Capability Y12teisuru
2023-12-10capability Y16, Y18teisuru
2023-12-10end tides of war + heraldsteisuru
2023-12-10Fix for loops < last_thing to <= last thingTor Andersson
2023-12-10Tweak vassal state handling.Tor Andersson
2023-12-10Use map structures instead of arrays and bit packing.Tor Andersson
There are 28 lords, so packing multiple bits per lord into one word won't work. Most lords will never be on the map, so carrying around their asset/force/routed data is wasteful. Use map structures instead, since at most 6 lords will be on the map at once, and at most 13 on the map + calendar.
2023-12-10Use accessors in play.jsTor Andersson
2023-12-10Implemented Event L114 - Scots.Troy Nordine
2023-12-10Optimize and fix Supply.Tor Andersson
2023-12-10fix fix play.js on data.lords.seatTor Andersson
2023-12-10fix play.js on data.lords.seatteisuru
2023-12-10oops! display battle/non-battle vassal confusionTor Andersson
2023-12-10dynamic favicons based on player roleTor Andersson
TODO: ... based on current heir
2023-12-10Fix P1/P2 vs York/Lancaster issues.Tor Andersson
P1 and P2 are dynamically set to either York or Lancaster. Only use these to determine play order during steps. Use YORK or LANCASTER for everything else. Bugs fixed: * P1/P2 aliases were not set after setup is done, leaving them unset for first action since load_state doesn't call update_alias unless the state object changes. * goto_command_activation should only end after both players exhaust, not as soon as Lancaster has run out of cards. * current_hand was returning opponents hand if rebel is not York.
2023-12-10Fix exile marker display.Tor Andersson
2023-12-10More set functions.Tor Andersson
2023-12-10Use common routed_vassals set (instead of one set per lord).Tor Andersson
2023-12-10Fix indentation.Tor Andersson
2023-12-10Remove useless semicolons.Tor Andersson
2023-12-10git stripspaceTor Andersson