Allow builders to repair damaged friendly units and buildings by right-clicking them. Repair cost and duration are proportional to the damage healed (X% HP restoration costs X% of build cost and takes X% of build time). Key changes: - New 'repair' order type with validation (own units only, must be damaged, requires a builder) - Separate _repairPower accumulator so repairing a damaged factory doesn't silently speed up its production queue - Repair drains energy/mass through the same economy machinery as construction, including brownout throttling - HUD hints guide players to right-click damaged allies to repair - Repair order auto-clears when complete; unqueued orders interrupt it while queued orders wait behind it - Visual waypoint color for repair orders - Comprehensive test coverage in verifyTotalAnnihilation.js |
||
|---|---|---|
| .. | ||
| lib | ||
| buildCommonWords.js | ||
| fetchStarControlAssets.js | ||
| genDotLink.js | ||
| genJumble.js | ||
| genKatamino.js | ||
| genMiniCrossword.js | ||
| genPeggleLevels.js | ||
| genPuddingMonsters.js | ||
| genRushHour.js | ||
| genSpireClimbCreatures.js | ||
| genSuperKartTracks.js | ||
| genTACampaign.js | ||
| genTetrisAttackPuzzles.js | ||
| genZuma.js | ||
| verifyAdvanceWars.js | ||
| verifyBalatro.js | ||
| verifyBejeweled.js | ||
| verifyBlockFighter.js | ||
| verifyBookwork.js | ||
| verifyCanasta.js | ||
| verifyCivilization.js | ||
| verifyColoradoDefense.js | ||
| verifyCribbage.js | ||
| verifyDotLink.js | ||
| verifyDungeonBoss.js | ||
| verifyGinRummy.js | ||
| verifyJewelQuest.js | ||
| verifyJumble.js | ||
| verifyMahjong.js | ||
| verifyMahjongMatch.js | ||
| verifyMiniMotorways.js | ||
| verifyPaiGowPoker.js | ||
| verifyPeggle.js | ||
| verifyRisk.js | ||
| verifyRummikub.js | ||
| verifySWDBG.js | ||
| verifySlots.js | ||
| verifySpireClimb.js | ||
| verifyStarControl.js | ||
| verifySuperKart.js | ||
| verifyTempest.js | ||
| verifyTetrisAttack.js | ||
| verifyTotalAnnihilation.js | ||
| verifyZuma.js | ||