canary/data/scripts/actions
LeoTK 1efd58f6c4
feat(reward-bags): rebalance drop weights and add multi-open test mode (#3915)
Reward-bag drops are now controlled with per-item weights, allowing finer
difficulty tuning per reward entry while preserving legacy chance fields.

What changed:
- Implement weighted selection per item inside reward bags.
- Keep backward compatibility with legacy `chance` definitions and emit a
  one-time warning when legacy format is used.
- Add admin test mode to simulate multiple openings from a single bag open,
  with aggregated console output for drop distribution validation.
- Improve item delivery flow:
  - try backpack first;
  - fallback to store inbox when inventory cannot receive the reward;
  - improve logs and player-facing messages for no-room/inbox delivery cases.

Why:
- Gives better control over real drop difficulty for each individual item.
- Enables fast balancing/verification of target rates through repeatable
  simulations without manual open spam.
2026-05-09 11:01:15 -03:00
..
doors chore: remove messages compatibility constants (#2279) 2024-02-22 17:19:20 +00:00
items feat(reward-bags): rebalance drop weights and add multi-open test mode (#3915) 2026-05-09 11:01:15 -03:00
objects feat: add skill trainer item for offline skill training (#3865) 2026-02-19 16:46:12 -03:00
tools feat: add Way of the Monk quest and monk-related content (#3794) 2026-02-12 23:03:25 -03:00