Need help with multible item uses MZ

hi im newer to rpg maker but i lerned a few thing so not a absolute beginner
but i wanted to make an ammo system with multible magazines that hold rounds

i think i have an idear how you could do it with one mag just use a common even and a variable to keep track of the rounds in the mag
with that method i could get one mag working but i want multible magazines that can have differrent ammounts of bullets
my last effort would be to have each magazine as a seperrate item wich would mean 30 items for a 30 bullet mag
is there a better way to acomplish that
Several possibilities

I don't know about MZ, but for earlier makers there were scripts for self-variables stored on items.
If those don't exist, you can request a plugin for an "item use counter" (that would be even more easier than using self-variables

A different option is to have two variables assigned to the weapon itself - one to state the type of ammo loiaded and one for how many bullets are left.

Some people use the TP-track for ammo, but that is only possible if you have no other use for TP. (or MP)

you can also use a skill plugin that allows for ammo cost, and have the bullets become real items to be used for the skill.
Several possibilities

I don't know about MZ, but for earlier makers there were scripts for self-variables stored on items.
If those don't exist, you can request a plugin for an "item use counter" (that would be even more easier than using self-variables

A different option is to have two variables assigned to the weapon itself - one to state the type of ammo loiaded and one for how many bullets are left.

Some people use the TP-track for ammo, but that is only possible if you have no other use for TP. (or MP)

you can also use a skill plugin that allows for ammo cost, and have the bullets become real items to be used for the skill.
thanks for the awnser
i have looked into the self variables but only found self variables in generall and not for items specificly
but yeah planning to make bullets and actual item itself
and let the player find bullets and mags seperate in the game world wich then can be inserted into the magazin to load them

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-multible-item-uses-mz.179778/