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> |
||
|---|---|---|
| .. | ||
| YALootBoxes_ActionOpen.c | ||
| YALootBoxes_Config.c | ||
| YALootBoxes_Lootbox.c | ||
| YALootBoxes_Manager.c | ||