Can always escape from battles but lose 0-4 items in return.

So in my game i have crates and barrels with loot scattered around the map, what you get from them is random.
By default i made it so you can always escape from battle and the enemy gets a short stun on the map(can't move).
So that means you would be able to run from battles just like that...
But what if you had to take into account that losing an amount of items is the price for escaping?
Keep in mind that:
You must have at least 1 of that item for there to be a chance for it to be lost.
There's a 40% of losing 2 of the same item.
If you don't have that many items you may or may not lose something.

This is going to be toggable difficulty option and also a feature for harder modes.
What do you think,is this fair/challenging/frustrating?
You would need to ensure only certain types of items can be removed (if you're just choosing randomly from what they have) - wouldn't want the player to lose something that's only obtainable once and is needed to progress in the game.
@Shaz , i agree and that's why i'm more likely to only let it be items that even if you lose them you can still get relatively easy.
And by choosing randomly i still i some control over the items that can be taken so there's that.
It sounds interesting and if the fights are engaging it could work well, but it could also turn into a machine of perpetual torment if it is combined with "random encounters".
@Scorps i do not have random encounters in my game as i hate them since you don't have a 100% control over them. I use on-map encounters.
And i agree with this system not being a good pair with random encounters.

Original thread: https://forums.rpgmakerweb.com/threads/can-always-escape-from-battles-but-lose-0-4-items-in-return.132515/