Quest Manager: Item Acquisition
Meeting Time
I'm sat here in a mandatory meeting at my day job that really doesn't serve my role. In the beginning I was looking for a way to occupy myself and it occurred to me that I hadn't done anything on the game! So, I jumped in and started looking at the "quick win" Gemini suggested, quest completion on item acquisition. I had a quick look around my code, starting with my quest manager.
The quest manager already had a placeholder function for this. But it was all wrong. . . Some sort of "event data" and just looping through the quests or something. And nothing actually connected to that function, no signals, no internal or external calls, nothing. Which led me to my next stop, the inventory manager. In there I looked around for a signal to use. There were actually two very similar options to choose from, one which signals a change in quantity of an item and another that signals addition of items.
I went with the second, the first wouldn't be appropriate because I'm only looking for newly added items, or am I? This is actually a good point to stop and think. How exactly do I want this to work? Do I want the player to be forced to collect the items each time? Will they be allowed to immediately complete a quest if they already have all the items. . . And if I do it this way, how do I trigger it? I think for simplicity I will stick with my initial plan, force the player to collect the right number of items.
Then there's the whole "taking items from the player" on completion. I have logic to do so, but I don't actually have any checks to make sure it works. So much to do! But for now, updating the existing placeholder function to work with the appropriate signal, and also connecting the signal, is going to be enough for me today. I have to really think about how I want this to work. My mind really isn't in this at the moment, so much going on, so hard to focus. . .
Next Time
Hopefully tomorrow I'll pick right back up here with a good idea of how I want it to all work. At the very least I'm sure I'll do something, we'll see!
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
- New Quests & Item8 hours ago
- Welcome All8 hours ago
- Bugfixing: Interactables and Focus Loss1 day ago
- Worldbuilding: Player Progression2 days ago
- Talking Points: Triggering3 days ago
- Let's Talk Prerequisites4 days ago
- Unwell Working7 days ago
- Quick Action Buttons: Displaying8 days ago
- Consumables and Controller Safety9 days ago
- Quick Actions: Preparations10 days ago
Leave a comment
Log in with itch.io to leave a comment.