Is there any way to add a simple “toggle” function to an item? Something like “activate to turn on, activate to turn off, no batteries required”? I’ve added the “use_action” : “turnon” and “use_action” : “turnoff” to the melee.json, I have added this to the item_actions.json:
dont know how chainsaws work, but if all you want is a trainsforming weapon you only need a useaction: transform in the item raw.
you xould get kinky and have more than 2 states even. each state (off, on, hi, etc) would be its own item with its own fuel consumption rate and damage output. but id imagine theres some kind of special effect youre after.
for my own, iuse is next on my list of stuff to play with so id like to know too