Page 1 of 1

Inventory by xplosion - UPDATED v1.5 // Healing Items ?

Posted: Wed Aug 15, 2018 2:55 am
by Crawling2007
Hello, everybody. I'm working on an erotic dating SIM game and have just encountered some problems.
I use the system of Inventory by xplosion - UPDATED v1.5 and I wonder if anyone can help me.
Can the items be used as healing items?
Suppose I gave my character these values.

$ endurancepoints = 100.

After a while the points drop to 0. Can I give the apple a value to heal me by clicking on it?

$ apple = Item("Apple", "Delicious Apple", "images/apple.png", 30, act=Show("inventory_popup", message="This item is only used in crafting"))

Thank you in advance. I've been racking my brains for days and still get nothing.

Re: Inventory by xplosion - UPDATED v1.5 // Healing Items ?

Posted: Mon Aug 20, 2018 9:19 am
by xplosion
Did you try the solution made by noeinan on the same topic? I haven't tried it personally

viewtopic.php?f=51&t=25579&hilit=invent ... 45#p462588

PS: It's not my script.