So I’m tryna set up a system that whenever you leave a zone, your medium shards gets refilled to 18
I was doing this using a manager to erase the item from their inventory, and then adding 18 medium shards
however, I find that sometimes it only removes PART of the medium shards in their inventory
Is there
a way to make sure the inventory is always properly empteyed, or
a way to make sure only the neccesary amount of shards are added
each player has a common blaster, and I’m trying to give them 18 ammo, so that they have some extra to refill with after they run out, but I don’t want them to have any more than 18.
(I’ve tried setting a limit for the item, but it only works if they have exactly the amount of the item that I set as a limit. even one less and the limit is ignored)
Can you show us some screenshots of the exact system you have and the settings? If you’ve set the IIM to empty their shards on the leaving-zone channel then I don’t see why that wouldn’t work… If so, it’s probably a bug. (Also, are you using channels or wires? Sometimes I find that certain systems just don’t work and bug out in really weird ways when I use channels, even if the wires are exactly the same as the channels after I replace them.)
I use wires, and it probably is just a bug
cause sometimes
instead of empteying
it will only remove 12 shards
then continue adding 18 shards.
I’ve used both granters and inventory managers, and they both have the exact same issue occur in the exact same way.
Settings
Leave zone → clear medium shards
Leave zone → trigger
Trigger → 0.1 sec → grant 18 medium shards
Trigger → 0.1 → grant common blaster (but only safe amount, and with 0 ammo)
Another way of removing inventory is by a vending machine. You could add a zone at a certain place then add a wire or channel to “attempt purchase” to the vending machine
no…
I’ve tried removing an item one at a time, but the checker I tried to use to stop it when you run out, never allows it to turn back on for some reason, so I can’t test it properly.
I set that when you enter a zone, you start gaining shards every 0.2 seconds, using two triggers both at 0.1 sec delays, and there is a manager preventing you from going above 12 ammo
I did discover, the ammo inside a weapon is not able to be detected by inventory managers, which is why I had this issue.