Page 1 of 1

Capsule prototype: "consume_when_thrown" property

Posted: Mon Jun 17, 2019 8:12 pm
by raiguard
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:
it works.gif
it works.gif (4.79 MiB) Viewed 985 times
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!

Re: Capsule prototype: "consume_when_thrown" property

Posted: Tue Jun 18, 2019 8:06 am
by Rseding91
Ok, I've added it for the next version of 0.17. "uses_stack" when false it won't use the item when thrown.

Re: Capsule prototype: "consume_when_thrown" property

Posted: Tue Jun 18, 2019 2:38 pm
by raiguard
\o/ thank you so much! Best devs ever. :D