Problem with an invetory/craft system.

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
User avatar
nikraria
Newbie
Posts: 11
Joined: Fri Aug 29, 2014 3:53 pm
Contact:

Problem with an invetory/craft system.

#1 Post by nikraria »

Hi:

A kind gentleman, Kinjo, made a inventory system with a craft mode and works perfect!
the only problem is when you save the game and closed.
When you open again and load the save state the craft system stop working.

I hope that have a solution, if you think you could help, send me an email to nikraria435 [at] gmail [dot] com and I'll send you the code to fix it.

I know maybe would be better if I post the code here, but I couldn't talk to kinjo and I don't know if he agree with it:S

Thank you very much!

Hope you have a great day.

P.S: I know my english is not the best, hope you can understand me well.

User avatar
computistxyz
Regular
Posts: 58
Joined: Thu Jul 10, 2014 8:35 am
Github: sjgriffiths
Location: Coventry/Norwich, UK
Contact:

Re: Problem with an invetory/craft system.

#2 Post by computistxyz »

Kinjo himself posted what seems like a similar if not identical issue regarding his crafting system here:
viewtopic.php?f=8&t=37191

The solution involved using renpy.retain_after_load()
computer scientist | programmer | game developer | writer | editor/proofreader

Check out my technical blog, computist.xyz

User avatar
nikraria
Newbie
Posts: 11
Joined: Fri Aug 29, 2014 3:53 pm
Contact:

Re: Problem with an invetory/craft system.

#3 Post by nikraria »

Thanks TARDISam24, we did that , but when you closed the game and try to load , the craft system stop working.
Seems like we have no solution for this one...
Thanks for care :D

Post Reply

Who is online

Users browsing this forum: DewyNebula