$12256 / $11500
I noticed in LootManager.cpp that I can set [event] loot=currency, but I can't seem to write an event that makes treasure chests spawn currency propwerly. Sadly, I also can't find any examples in the FLARE mods/*/maps/*.txt files, either.
For instance, the following just seems to spawn an empty chest in repeated runs (cavern.txt of polymorphable):
[event]
location=94,62,1,1
type=run_once
hotspot=-16,-16,32,32
tooltip=Chest
loot=currency,94,63
mapmod=object,94,62,206
that should say "loot=currency,94,63,1" but I tried it both ways.
This was a temporary bug with the upstream. It should be fixed now. (In polymorphable)
Still can't get it to spawn currency instead. Not sure why.