Item that heals while in inventory

In diamond rush,you can get a random event happen to you, like costume change,damaging,and healing.I am making a game where you have a role(like apocalypse) and one of them gives you a crystal(light shard) but is there anyway to make it that while it is in your inventory,it heals you every second.I know how to make one without the item part,just where you heal when certain things happen.But for this I wanted it to be where you heal only when you have the item,and when you drop it,you don’t heal.I would love some help to make a cool Game!

Health packs, and shield bottles usually do that @Magidrun, hope this helps!

Yes, health packs and shields work.But how do I make it to where it always heals while having the item and it heals overtime and not in one big go.

Oooh, this is going to be hard but, start with use a Health Granter device in conjunction with a Wire Repeater device and a Lifecycle device.

Now, when the game starts (or any trigger you choose for the Lifecycle device), the Wire Repeater will repeatedly activate the Health Granter, granting the specified amount of health at the set intervals.

and to turn it on or off

use the inv item manger

And if this helps @Magidrun, remember to mark a solution so the forums don’t get cramped, thanks!

Event happens that allows you to heal → checker checking to see if you have 1 of the item
If check passes → start repeater that repeats one time a second → health granter granting 1 health
When you are no longer allowed to heal → stop repeater

Please ask any questions you have!

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.