I was wondering if it is currently possible to make an ability partially consume an item that the party has?
Basically I want to make a gun weapon and the player needs ammunition to shoot it. Every time I use one of the guns abilities I want to remove one ammunition from the player inventory. However, I want the gun to require reloading every 10 shots. I see that there is a "Consume Item" section for the ability but that relies on the ability consuming a single item each use. Any ideas on how I could implement ammo clips?
Also would it be possible to get counters next to abilities that consume items?
Maybe you could do a check for whether there's Ammo in inventory; remove 1 Ammo item if successful, create a variable called 'LoadedBullets = 10' and decrease that variable by 1 every time an attack is made. Once you're out of bullets, do another check for Ammo, etc, etc.
Or, you could also use a consumable status value for that :)
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames
Yeah that could work, I'll take a look :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!