fertig-classic-games/src/games/mastervega
Brian Fertig 869f041b39 feat(master-vega): overhaul bombard/invasion UX, consequences, and battle logic
- **Visual Feedback**: Introduce VegaBombardScreen.js — a two-stage popup for
  bombard/invasion results featuring JIT-loaded videos (per planet type or
  invading species) and animated stat bars showing population, factory, and
  building losses.
- **Expanded Consequences**: Factory and building destruction now scale with
  the population kill ratio. On colony wipeout, weapon Mark gates planetary
  ruin/ruination (toxic/radiated/dead/asteroids) via a weighted probability table.
- **AI & Tactics**: Ursaal now queue troop transports alongside warships for
  invasion fleets. Added `bombardHoldFireChance` trait (0–1) to let species
  defer bombing when invasion troops are staged, preserving intact colonies
  without creating fortress-world stalemates.
- **Battle Logic Fixes**: Correct `prepareBattleAt` and `pendingBattlesFor` to
  properly handle stars with multiple colonies, ignore transport-only fleets,
  and suppress pending battles when planetary defenses are depleted.
- **UI/Reporting**: Wire player-initiated and AI-initiated attacks into the
  new popup queue. Add `bombard` and `invasionFailed` to notable turn report
  events with detailed outcome descriptions.
- **Testing & Tooling**: Add comprehensive verification tests for planet
  destruction distribution, building damage rates, hold-fire chances, and
  battle edge cases. Expose `window.game` for devtools debugging.
2026-08-14 23:17:31 -06:00
..
MasterOfVegaGame.js feat(master-vega): overhaul bombard/invasion UX, consequences, and battle logic 2026-08-14 23:17:31 -06:00
VegaAI.js feat(master-vega): overhaul bombard/invasion UX, consequences, and battle logic 2026-08-14 23:17:31 -06:00
VegaArt.js feat(master-vega): overhaul bombard/invasion UX, consequences, and battle logic 2026-08-14 23:17:31 -06:00
VegaAudience.js
VegaBombardScreen.js feat(master-vega): overhaul bombard/invasion UX, consequences, and battle logic 2026-08-14 23:17:31 -06:00
VegaButton.js
VegaChat.js
VegaColoniesScreen.js feat(mastervega): add Galactic Expansion/Expansion advisor focuses and fleet urgency system 2026-08-14 10:55:38 -06:00
VegaColonyIntro.js feat(mastervega): leader system, bombard cap, GNN contact-gating, population rounding 2026-08-13 23:14:42 -06:00
VegaColonyView.js feat(mastervega): add Galactic Expansion/Expansion advisor focuses and fleet urgency system 2026-08-14 10:55:38 -06:00
VegaCombat.js fix(mastervega): balance planetary defense and improve AI attack logic 2026-08-14 14:24:22 -06:00
VegaCombatCamera.js
VegaCombatSim.js
VegaCombatV2.js fix(mastervega): balance planetary defense and improve AI attack logic 2026-08-14 14:24:22 -06:00
VegaCombatView.js
VegaCombatViewV2.js fix(mastervega): balance planetary defense and improve AI attack logic 2026-08-14 14:24:22 -06:00
VegaCouncilSession.js
VegaDelaunay.js
VegaDiplomacy.js
VegaFormations.js
VegaFx.js
VegaGalaxyGen.js
VegaGnn.js feat(mastervega): contact-gate relationsRows and expand alert suppression to tech 2026-08-14 09:52:57 -06:00
VegaGnnScreen.js feat(mastervega): contact-gate relationsRows and expand alert suppression to tech 2026-08-14 09:52:57 -06:00
VegaIntroVideo.js
VegaLeaderDetail.js feat(mastervega): leader system, bombard cap, GNN contact-gating, population rounding 2026-08-13 23:14:42 -06:00
VegaLeaders.js feat(mastervega): leader system, bombard cap, GNN contact-gating, population rounding 2026-08-13 23:14:42 -06:00
VegaLogic.js feat(master-vega): overhaul bombard/invasion UX, consequences, and battle logic 2026-08-14 23:17:31 -06:00
VegaMusic.js
VegaNebula.js
VegaResearchChoiceScreen.js
VegaResearchScreen.js
VegaRules.js
VegaScreens.js fix(mastervega): balance planetary defense and improve AI attack logic 2026-08-14 14:24:22 -06:00
VegaShipDetail.js
VegaShipMedia.js
VegaShips.js
VegaSidePanel.js Small Updates 2026-08-14 12:00:26 -06:00
VegaStarMap.js feat(mastervega): leader system, bombard cap, GNN contact-gating, population rounding 2026-08-13 23:14:42 -06:00
VegaSystemView.js feat(master-vega): overhaul bombard/invasion UX, consequences, and battle logic 2026-08-14 23:17:31 -06:00
VegaTechEffects.js Updated Battle Scanner 2026-08-14 11:19:30 -06:00
VegaTooltips.js feat(mastervega): add allocation icons and tooltips to colony sliders 2026-08-14 09:52:36 -06:00
VegaTurnReport.js feat(master-vega): overhaul bombard/invasion UX, consequences, and battle logic 2026-08-14 23:17:31 -06:00
VegaTurnReportScreen.js
VegaZoom.js
sprites.md feat(mastervega): add allocation icons and tooltips to colony sliders 2026-08-14 09:52:36 -06:00