chest:set_treasure
Created by: wrightmat
It would be helpful to conditionally set the contents of a treasure chest. For example, a script checks at runtime whether the hero already has a certain treasure, or has a certain amount of a treasure, and adjusts the contents accordingly.