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.
After initialization, but before game start.
File "game/items.rpy", line 2856, in prepare_screen
screen items:
Exception: Properties are not allowed here.
When I look in the code, it's just a normal screen with imagebuttons. Here's a snippet:
Sorry to necro this thread, but I found out what's causing the error message.
It was actually part of a different bit of code that I didn't link.
The error was here:
I copied some old code which had the modal True bit in there. Too be honest, I don't even really know what it's used for, but after deleting the code bit by bit and restoring it, I found out that this was causing the error. I haven't had anymore error messages since the fix.