Open emilkovacev opened 1 year ago
Hi, I would like to work on this issue. To be clear, when should the player be rewarded? Upon traversing each node which takes the player closer to the dragon or upon vanquishing the dragon?
Ideally, we should have some way of customizing when (and on which nodes) the player should gain (or lose) currency in the .dl file.
I have added a PR for it. Please have a look.
Thanks for reminding me! I got caught up in some work, I'll take a look at your PR tonight.
Our game doesn't have any forms of currency at the moment. Implement a currency system, by adding an attribute to the
Player
class. Create additional functions that interact with events to change the player currency when players land on a node.