Scuba Job - Crash Fix CHANGELOG
===============================


Version 1.1 (community fix)
---------------------------
Stability
- Start Job aborts cleanly if UnderwaterLocations is empty.
- Start Job aborts cleanly if SpawnUnderwaterCrates produced zero props.
- Start Job aborts cleanly if the boat fails to spawn.
- Mission completion now requires initialCrateCount > 0 before firing
  "All crates salvaged!". This is the actual fix for the immediate
  pop-up that elpedron and O-MATIX both reported.

Pawn shop sell
- HandleSelling now checks an optional second InteriorSellLocation in
  addition to the outdoor SellLocation. Enables the sell prompt inside
  the pablito_pawnshop MLO when ENABLE_INTERIOR_SELL is true.
- Default SellRadius increased from 1.5 m to 2.5 m.

Boat
- Help text "Get back in the boat to un-anchor and sail away" shown
  when the player is in water within 6 m of an anchored mission boat.

Configurability ([World] section in Scuba Job.ini)
- BossLocation, BoatSpawn, BoatSpawnHeading.
- SellLocation, SellRadius.
- InteriorSellLocation, ENABLE_INTERIOR_SELL.

Robustness
- iniPath resolves relative to the script assembly location instead of
  the current working directory.
- GetWaterHeight rewritten to use OutputArgument instead of pointer
  output. Same native, cleaner SHVDN3 idiom.

Credits this release
- elpedron (initial "All crates salvaged" bug report, Feb 25 2025)
- O-MATIX (confirmed bug without NVE Aug 30 2025, sell-prompt-inside
  report Sept 5 2025, suggested this fix)
- DOC_X (boat un-anchor discoverability)
- DiNagano (no-MLO vanilla install ask)
- seungwooson (pawn shop visibility report)


Version 1.0 (original by MNHC, Feb 24 2025)
-------------------------------------------
- Initial release of Scuba Job. Buy gear, rent boat, salvage underwater
  crates, sell at pawn shop. 42 drug catalog not included (different
  mod, see LS Life).
