Closed clintbellanger closed 11 years ago
I know we already do use reward_currency in npc dialogs.
I feel like engine/ is also starting to really proliferate. Instead of engine/currency.txt and the existing engine/loot.txt and engine/autopickup.txt, since all are "loot" related, can we get those into just engine/loot.txt?
I'm fine with all that being in loot.txt
Right now the engine uses the term "gold" in many places. Obviously we prefer the engine to be genre-neutral. I think we should replace all the internal variable names from "gold" to "currency".
We'll also add several currency-based config options in a new engine/currency.txt
Things to put in this config file:
Additionally, we want to remove the hardcoded gold loot animations and replace them with configurable options. Probably in engine/loot.txt
https://github.com/clintbellanger/flare/blob/master/src/LootManager.cpp#L571