The problem is very simple - In my new game at some point in the game the player has to write a "special code" (It isn't special, it just part of joke. It doesn't matter what they write.) and I decided to use renpy input there... And I got a problem. I don't know where it comes from, I used the code from tutorial, letter for letter IT'S ALMOST EXACLY THE SAME and it doesn't work.
Here's how it looks:
Code: Select all
python:
scode = renpy.input("What's the code?")
scode = scode or "I Don't Know"
Code: Select all
"So the code is [scode]?"
also sorry for my english. I could make a few mistakes.
EDIT: I decided to remove the second line (The one that says "So the code is [scode]?"), and everything seems to work...
So, now I know that there isn't any problem with the renpy input, but I still don't know what causes the problem with syntax.
EDIT NUMBER TWO
I'm feeling so stupid right now.
I finally discovered what was wrong with my code.
I forgot to mention it looked like this:
Code: Select all
python:
scode = renpy.input("What's the code?")
scode = scode or "I Don't Know"
"So the code is [scode]?"
Code: Select all
python:
scode = renpy.input("What's the code?")
scode = scode or "I Don't Know"
"So the code is [scode]?"