- Jul 2, 2017
- 293
- 771
It'sYou can tell when function is called inside screen.
"_".join(getattr(renpy.current_screen.current(), 'screen_name', ()))
"_".join(getattr(renpy.current_screen(), 'screen_name', ()))
instead.Apparently almost all of displayed text goes throughWould need to find a method to replace text of say, menu and screen in one place.
And since we know now how to detect say, menu or screen; it should be doable.
renpy.translation.translate_string
function.So you can probably monkey patch it, and make patch for say, menu and screen from it.
Line below causes it.breaks the gallery replay feature
if title.startswith("Jo's ")
That's why regex is better, you can match "Jo's " and replace only "Jo".
I guess you could as well do:
title.replace("Jo's ", "Mom's ")
Last edited: