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

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Crawling2007
Newbie
Posts: 1
Joined: Wed Aug 15, 2018 2:35 am
Contact:

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

#1 Post 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.

xplosion
Newbie
Posts: 10
Joined: Sat Jul 21, 2018 3:49 pm
Contact:

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

#2 Post 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.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]