It will override a screen, which i know would be changed over time and i want my override to sustain the changes, so a rewrite of entire screen is not a preferable option. Instead i want to append some overlay, which will append into the existing screen without changing it.
Let's say the app has a screen.rpy with following code
Code: Select all
screen third_party_screen:
window:
vbox:
text '[who]'
text '[what]'
#or whatewer the screen can be
Code: Select all
screen my_screen_override:
frame:
margin (5,5)
padding (5,5)
xsize 300
ysize 300
align (1.0,1.0)
text 'This screen has been defaced!! LOL'
screen third_party_screen:
use third_party_screen
use my_screen_override
Code: Select all
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
Exception: The following screens use each other in a loop: third_party_screen. This is not allowed.