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.
-
ketskari
- Veteran
- Posts: 290
- Joined: Tue Dec 21, 2010 6:22 pm
- Completed: Asher, Sunrise, Tell a Demon
- Projects: Asher Remake, TEoA
- Organization: Sun Labyrinth
- Tumblr: sunlabyrinth
- Deviantart: sunlabyrinth
- itch: sunlabyrinth
-
Contact:
#1
Post
by ketskari » Sat Jul 23, 2016 7:37 pm
Basically, I want to be able to change the string, like so:
Where "apple" also has a value. 1 might indicate it's edible, 2 might indicate it's overripe and 3 might indicate it's rotten, for instance.
So, a bunch of fruit might have data like this:
Fruit
"apple" 1
"orange" 3
"pear" 1
cantaloupe 2
How do I do this? Or what is this called so I can look it up?
Thanks.
Last edited by
ketskari on Sat Jul 23, 2016 8:14 pm, edited 1 time in total.
-
ketskari
- Veteran
- Posts: 290
- Joined: Tue Dec 21, 2010 6:22 pm
- Completed: Asher, Sunrise, Tell a Demon
- Projects: Asher Remake, TEoA
- Organization: Sun Labyrinth
- Tumblr: sunlabyrinth
- Deviantart: sunlabyrinth
- itch: sunlabyrinth
-
Contact:
#3
Post
by ketskari » Sat Jul 23, 2016 8:14 pm
Thanks so much!
Users browsing this forum: Google [Bot]