Quests: Rewarding!
With the little work I did yesterday, I knew I had more work to do on the quest manager. I decided to just jump right in and make some changes myself while also working with Gemini for larger changes. I started by updating my playerstat manager when dealing with experience. I added a new XP group "Player" for the player's level. And I updated my quest rewards, to denote the specific skill being rewarded experience.
Then I updated the quest completion function to add money. That was an easy one. Then I asked Gemini to make a small change to the function to iterate through the list of experience rewards and call another function (on my playerstats manager) to add the exp. It took a few tries to get it right.
Once that was good, I just copied it and made a few changes for my item rewards. Can't exactly test it, but it seems to be okay. Still a lot more to do though. Like, there's the ability to remove items from the player's inventory which I haven't done yet. Actually, I just decided to do that really quick while typing this up.
But, I still have to deal with more, like the quest tracking. That's a big one!
Xenodochium
The future is what you make of it!
| Status | In development |
| Author | Munchmo |
| Genre | Role Playing |
| Tags | 2D, Cozy, Godot, Indie, Life Simulation, Pixel Art, Sci-fi, Singleplayer |
| Languages | English |
More posts
- Object State Data Fixes5 hours ago
- A Quick Something23 hours ago
- New Quests & Item1 day ago
- Welcome All2 days ago
- Bugfixing: Interactables and Focus Loss3 days ago
- Worldbuilding: Player Progression4 days ago
- Talking Points: Triggering5 days ago
- Let's Talk Prerequisites6 days ago
- Unwell Working9 days ago
- Quick Action Buttons: Displaying10 days ago
Leave a comment
Log in with itch.io to leave a comment.