Commit graph

2 commits

Author SHA1 Message Date
Paul Campbell
dce9495e37 code review: Fix issues reported
- High: persisted instanced rewards are cloned as non-instanced.
- High: instanced reward UIDs are cached on quest definition objects.
- Medium: legacy reward-box materialization inserts instanced box rows without staged rows.
- Medium: missing staged data is treated as success and destroys the reward.
- Low/Medium: JSON crest level default disagrees with the schema.

Additionally:
- Removed support for wrongly spelled json keys in rewards
- Updated generic_quest_state_machine.md
- Cleaned up reward syntax while making it backwards compat.
2026-05-03 22:02:47 -04:00
Paul Campbell
d98008c97d feat: Add support for instanced item rewards
- Quests can now define rewards which have crests, color, etc. as part of
  the item reward.
- Quests can define items with random crests rolled when claimed.

Database version 60 -> 61
2026-05-03 22:02:46 -04:00