I must be blind, because I can't find anywhere in ye olden Master Script list a Script that allows your basic attacks to consume some sort of ammo, or allows your skills to consume ammo. The only one I found was Lecode's but due to some issues I can't use his. Any help would be appreciated.
Ammunition Script?
RGSS3 Script RequestsYou can do that using some of the scripts, don't just look for ammo itself, look for possible workarounds...
For example, you can use Yanfly's cost manager to do that. If it's skill costs, Yanfly's cost manager is a really good script to use
For example, you can use Yanfly's cost manager to do that. If it's skill costs, Yanfly's cost manager is a really good script to use
He's damn right, I precisely use that script for firearms in my project. And it gives you many possibilities to make original stuff.
Funny enough I have Yanfly's skill cost manager except I can't figure out how to actually make it cost something.
Read his blog post about that script... it has examples...
basically you'd need to set-up the following:
1) Cost that shows on the UI
2) The actual checking of the cost
3) The actual performance of the cost
so for the cost UI part, make it show the needed item and the quantity (I believe the blog post has an example for that)
for the check part, check if the ammunition item is enough
for the perform part, reduce the item amount by the amount used
basically you'd need to set-up the following:
1) Cost that shows on the UI
2) The actual checking of the cost
3) The actual performance of the cost
so for the cost UI part, make it show the needed item and the quantity (I believe the blog post has an example for that)
for the check part, check if the ammunition item is enough
for the perform part, reduce the item amount by the amount used
There's always Kread-EX Gun license script that allows you to set up ammo costs and weapons (like FF3 bow mechanic). Really nice script.
Original thread: https://forums.rpgmakerweb.com/threads/ammunition-script.25109/