I'm creating a potion making system in my game confined to a single event tile. It's going to allow the player to select anything from key items to add into the cauldron, whether or not it's the correct one in the correct order to make a specific potion. I'm using Select Key Items for this with a variable "KEY ITEMS", so I've got conditional branches for Variable [0053:KEY ITEMS] == ## removing the item numbered.
But then I hit a snag when I realized I can't just focus on the correct item being chosen if I'm giving the player the ability to choose any item. If they choose the wrong item it still needs to be taken from the inventory. I figured I could do this with the same variable system, say Variable [0053:KEY ITEMS] == 10 removes item #10, but then I'd have to have 19+ conditional branches shoved into every time a choice prompt to put in an ingredient comes up.
I don't know if there's any easier way to do this in the program, I'm assuming it would need a script.
But then I hit a snag when I realized I can't just focus on the correct item being chosen if I'm giving the player the ability to choose any item. If they choose the wrong item it still needs to be taken from the inventory. I figured I could do this with the same variable system, say Variable [0053:KEY ITEMS] == 10 removes item #10, but then I'd have to have 19+ conditional branches shoved into every time a choice prompt to put in an ingredient comes up.
I don't know if there's any easier way to do this in the program, I'm assuming it would need a script.