Files
WT-Offline/packages/local-service
N0VAN0M4LY 37efa804bb fix(battle): grant the modifications required by support plane presets
The respawn screen showed an empty loadout for the nuclear carrier: a
preset is listed only when shop_is_weapon_available passes (2.61.0.37
0x17a38a0 -> 0x912d20 -> 0x90f2c0 / 0x9662f0), which needs every
reqModification of the preset and of its sum_weapons to be a bought
modification of the unit in the profile. The forced preset of
f_16a_block_15_adf_killstreak carries bombguns_us_b61_30kt with
reqModification us_500lb_mk82, and the player never owns that unit.

Derive the modifications of each missionSupportPlane unit's forced
preset from wpcost.blk and keep them in every profile as owned, in the
profile refresh. Only those killstreak units are touched.

Checked with typecheck and a run over the stock data (30 records, the
F-16 one included); not yet verified in game.
2026-11-28 22:29:45 +08:00
..