I would like to be able to have a simple way to prevent a capsule item from being consumed when used. Something like consume_when_used, which would be a boolean. My usecase is fairly simple: I am spamming capsules to act as a method of mouse detection when dragging. See this GIF:
As you can see, I just have a stack of 1000 capsules that are used up very quickly. I would like the player to be able to hold one item, which would be able to spam placement without using up the item.
Thanks for your time!
Capsule prototype: "consume_when_thrown" property
Capsule prototype: "consume_when_thrown" property
Don't forget, you're here forever.
Re: Capsule prototype: "consume_when_thrown" property
Ok, I've added it for the next version of 0.17. "uses_stack" when false it won't use the item when thrown.
If you want to get ahold of me I'm almost always on Discord.
Re: Capsule prototype: "consume_when_thrown" property
\o/ thank you so much! Best devs ever. ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Don't forget, you're here forever.