YALootBoxes/scripts/4_World
smthspec f38ae14409 Make open-action work as a client mod (resolve flagged issue #9)
The box-type config lives in $profile and loads server-side only, so the
client-side ActionCondition could never resolve required items and the
"Open lootbox" prompt would never appear.

- ActionCondition: show the prompt whenever the box is locked and the player
  holds any item; drop the client-impossible key-item check.
- OnFinishProgressServer: enforce the specific key-item requirement
  authoritatively; wrong/empty item now messages "Requires: X" and bails
  without rolling. All config stays server-only and admin-editable in $profile.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 23:02:43 +03:00
..
YALootBoxes_ActionOpen.c Make open-action work as a client mod (resolve flagged issue #9) 2026-06-19 23:02:43 +03:00
YALootBoxes_Config.c Phase 3: leveled logging + green cleanups 2026-06-19 21:57:31 +03:00
YALootBoxes_Lootbox.c Phase 3: leveled logging + green cleanups 2026-06-19 21:57:31 +03:00
YALootBoxes_Manager.c Phase 3: leveled logging + green cleanups 2026-06-19 21:57:31 +03:00