No description
Find a file
smthspec a84b6b1a2b Phase 2: structural/completeness fixes (correctness pass)
- config.cpp: fix script/config binding. Crates now inherit a shared
  YALootBoxes_Base config class (name-matches the script class) instead of
  relying on the non-binding simulationModule line. Base class changed from
  non-existent ContainerObject to vanilla Container_Base.
- Lootbox.c: same base class change; replace never-called GetActions
  override with the engine-correct SetActions()/AddAction().
- ActionOpen.c: BROKEN_BONE now uses player.SetBrokenLegs(eBrokenLegs.
  BROKEN_LEGS) instead of bogus GetHealthDamageManager().SetFracture();
  DecreaseHealth health-type arg empty-string changed to "Health" (3 sites).
- Config.c: restructure loot lists from a string-keyed map to a flat array
  of YALB_LootList{type,entries} for reliable JSON deserialization;
  GetLootListForType updated to linear scan; position made a ref array;
  document failEffects.chance as a weight, not a probability.
- loot_lists.json (configfiles.readme): match new array schema.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 21:49:37 +03:00
scripts/4_World Phase 2: structural/completeness fixes (correctness pass) 2026-06-19 21:49:37 +03:00
.gitignore Phase 1: rename audit complete (LootboxSpawner -> YALootBoxes) 2026-06-19 21:27:38 +03:00
CLAUDE_TASK.md Phase 1: rename audit complete (LootboxSpawner -> YALootBoxes) 2026-06-19 21:27:38 +03:00
config.cpp Phase 2: structural/completeness fixes (correctness pass) 2026-06-19 21:49:37 +03:00
configfiles.readme Phase 2: structural/completeness fixes (correctness pass) 2026-06-19 21:49:37 +03:00
Prefix.cpp Phase 1: rename audit complete (LootboxSpawner -> YALootBoxes) 2026-06-19 21:27:38 +03:00