Possible Item Use Oversight / Bug [Resolved, not a bug]

Hi,


I'm not sure if this is the right place to post this but as I have only tested in MV thought I'd post it here.


I am having my own battle system written and am currently doing some testing and noticed some weird behaviour with items that didn't seem right. So, I tested the logic in a completely fresh project v1.1 with no plugins whatsoever (completely default RM, completely default sideview battle), but what I think is an issue still occurs.


The issue is this. Have 3 potions in your inventory and 4 actors in your party. With the first actor you select to use a potion. On the next actor you select to use a potion BUT the amount of potions listed to be able to use is still 3, and not 2. I know the potion hasn't been consumed yet for the turn so I tested further. I had all 4 actors confirm to use a potion and the battle system let me do it, when it came around to the 4th actors turn there were no potions available so they just did nothing.


Now, I'm not sure how feasible it is but I would have thought that it would calculate on the fly how many items you have remaining and therefore prevent you from using 3 potions with 4 actors and losing a turn. Is that just me thinking strangely or should this be the case?
It's not an oversight or anything, it's normal behavior and I don't see how it is bad.
It just seems counter intuitive to me, from a player perspective I mean and looks weird. If I select a potion with one actor, I would expect that if I go into the item menu with another character that the item I have chosen previously would be allocated and therefore only show me what is essentially available to use which would be what I have minus what has been allocated for use.


If that's generally excepted to be normal behaviour that's fine, I just thought that I would raise it as a point 🙂
It's a design decision.


The default battle system separates command input from command execution.


Only when someone actually goes and "uses" the item, is the item count reflected.


For example, if you're standing in front of me with someone else and I tell both of you to go grab a chicken, even though there's only one chicken, I can still tell both of you to go grab a chicken.


You can choose to say the item was "reserved" and so someone else can't touch it, but both are valid options.
It just seems counter intuitive to me, from a player perspective I mean and looks weird

Not for me. Items aren't consumed when you choose them on the menu, so i don't see why they should be 'discounted' before hand.


When the player select the item, it is just being choosen, it not removed from the inventory, if it not removed from the inventory, i don't see why it should be marked as such.
I think all it is is that it feels weird to people that are used to playing RPGs where each characters turn is its own thing, and not reliant on setting the group actions. Basically when you select a potion to use, that character immediately uses a potion. Meanwhile you're either waiting for another character's turn to pop up or you're selecting what another character will do.
It just seems that there should be a middle step between choosing an item and it being used whereby the item is allocated and can't be selected, if then the actor dies before using it it is then released back into the inventory pool.


Such as the case with selling products for example. If there is 3 in store, and 2 reservations come in, you wouldn't then go and sell 2, as you only have 1 "Free" to sell, unless the reservation is cancelled then the reserved product is released back into "Free" stock.


But thanks for clarifying that it is a design decision both of you, as this may be turning into more of a discussion than anything else I'll mark the thread as solved as to not cause any confusion.


@taarna23 Sorry only just saw your reply. That makes sense and is probably the perspective I'm understanding it from 🙂
It just seems that there should be a middle step between choosing an item and it being used whereby the item is allocated and can't be selected, if then the actor dies before using it it is then released back into the inventory pool.

This adds to much complexity for the code for near to no gain at all. The RM base code should be as clean as possible so people can edit them as they wish. Also it's not only about "dying", there are many ways that the item ends up not being used, You would need to add checks if the battler becomes unable to act, if the battle end, if the actor is removed from the party, if the item is removed from invetory... too many checks on different places for something too little.


It just a minor detail that don't even affect the gameplay negatively. (The player have 2 items and 4 party members and decides to select the same item with all of them? His choice, since it's quite obvious that there will be not enough items for everyone to use).


Also there is an strategic point, for example. you fighting a enemy that is faster than the party and have a single item and want to ensure that the item will be used. (maybe the item to revive the healer), you just use with all members and hope that the one who surivives use it. In your scenario, you could use it only with one member, and he could be killed before using it. 

Original thread: https://forums.rpgmakerweb.com/threads/possible-item-use-oversight-bug-resolved-not-a-bug.59658/