makeopensource / Classic-RPG

A classic role-playing game with an engine.
GNU General Public License v3.0
7 stars 19 forks source link

[Feature Request] Add Currency #84

Open emilkovacev opened 1 year ago

emilkovacev commented 1 year ago

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.

SwagataJ commented 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?

emilkovacev commented 1 year ago

Ideally, we should have some way of customizing when (and on which nodes) the player should gain (or lose) currency in the .dl file.

SwagataJ commented 1 year ago

I have added a PR for it. Please have a look.

emilkovacev commented 1 year ago

Thanks for reminding me! I got caught up in some work, I'll take a look at your PR tonight.