Modifying ammo count
Modifying ammo count
Is there a method to access the remaining count of ammo in an itemstack, and modify it?
Re: Modifying ammo count
You can get into inventory, and there add/remove items.
Re: Modifying ammo count
That's not quite what I meant. You can stack up ammo items, yes, but the stack also keeps track of how many rounds are left before it should remove one of the ammo items. It's that count that I want to access.
Re: Modifying ammo count
Commands for that were added in 0.11, so it's a rather new feature and most likely undocumented yet. You'll most likely have to ask the devs.
Re: Modifying ammo count
Okay. Well, I'll go pick their brains in IRC once I'm back home.