Is it possible to consume a specific item with a spell? Or, remove a specific buff with a spell? Just asking because, well, I wish to get the no out of gunz&Nobulletz. :3
There's no way to consume a specific item yet, sadly. But you can totally use <effect type="removebuffbyname" name="BUFFNAME" amount="X"> where if X=0, it removes all of a given buff. There's a thread here called Experimental Cannoncraft wherein Doctor Bad Ideas is using the same concept -- one spell gives you stacks of a buff called "Magic Bullet", and the "gun" spell removes iterations of Magic Bullet (or fails if you have none due to <effect type="trigger" requirebuffontrigger="1" requirebuffontriggername="magic bullet" spell="gunshot"/>) So, yeah, totally possible.
Thank you! Also, if you try to use the wand without the reload buff, will it still consume the charge?
I have one more question, I don't feel like posting another thread. I have my buff, but this buff doesn't appear to my character: Code: <spell name="Loaded" type="self" > <buff self="1" allowstacking="1" stacksize="8" removable="1" icon="items/Loaded_64.png" smallicon="items/Loaded_32.png" > </buff> <description text="You can now shoot a gun, good job!" /> </spell> Does anyone know what is wrong with this buff?
try adding "usetimer="0". I think it defaults to usetimer='1' and then if you have no time listed, it defaults to time="0", which disappears basically isntantly.