Search found 2 matches

by xlaits
Sun Jun 18, 2017 10:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Random dialogue from an ever changing file?
Replies: 2
Views: 562

Re: Random dialogue from an ever changing file?

Well, you can have additional rpy file, which would work as your external file with the addition on auto-loading and aiuto-parsing. To solve multiple lines problem, add some structure to a file and make single quote a collection of lines: define some_quotes = [ # Each quote is a tuple (character to...
by xlaits
Sat Jun 17, 2017 9:53 am
Forum: Ren'Py Questions and Announcements
Topic: Random dialogue from an ever changing file?
Replies: 2
Views: 562

Random dialogue from an ever changing file?

So, I'm working on a little project that essentially asks what kind of quote you want to hear, then spouts a random one from that topic to the screen. I want to do this in a way that's easily managable, so I've opted to have an external file, essentially plaintext, that has all the quotes for one to...