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
- Refactoring Cutscenes: Part 25 hours ago
- Refactoring: Cutscene Player1 day ago
- Localization: Finished, Terminado, Fertig, Tapos Na!2 days ago
- Localization: Digging Deep3 days ago
- Localization: A Return3 days ago
- Of Dragon Con, Debug Overlay, and Localization8 days ago
- Dragon Con: A Vacation10 days ago
- Dialogue System: Talking Points Go BRRRR12 days ago
- Dialogue System: Talk About It13 days ago
- NPCs: Let's Talk!14 days ago
Leave a comment
Log in with itch.io to leave a comment.