I don't find it interesting, it's just common code.[...] It's been completely reimplemented in ways that only Ren'Py modders will find interesting (hi, ZLZK!). [...]
"_".join(getattr(renpy.current_screen.current(), 'screen_name', ()))
No, there's nothing particularly remarkable here. It uses (well, adapts) your suggestion from this comment; that's all I meant by that.I don't find it interesting, it's just common code.
I'm not sure what you're trying to say here?But using __str__ method of ADVcharacter is a pithole.
I mean you need to deal with text not a variable.
It's only convenient that the text uses a variable.
It works only in text with character variable.But using __str__ method of ADVCharacter is a pitfall.
I was exposed to more text patches now, and I can say that your previous version was more appropriate.I'm not sure what you're trying to say here?
say_menu_text_filter
doesn't cover screens.I tried this patch out. It's great but one major problem is the is breaks the gallery replay feature. Only Mom/Jo scenes appear in the gallery at all. (at first I thought that was just part of the game but I realized nobody else had that problem and found out it was caused by the ipatch.)Since we finally have new Flora content, I've taken some time to replay the game and update . It's been completely reimplemented in ways that only Ren'Py modders will find interesting (hi, ZLZK!). Everyone else will be more interested in the fact that it also replaces some UI-only instances of "Jo", and tweaks a few dialogue fragments (like the one occurrence of "roommate").
I've tested it extensively against v1.36, but it should work with previous versions back to at least v1.14, and with future versions indefinitely.
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.Line below causes it.breaks the gallery replay feature
if title.startswith("Jo's ")
title.replace("Jo's ", "Mom's ")
Thanks for the report, and excuse me while I die of embarrassment. That was a complete brain-fart on my part, and I can plead only that I no longer write Python for a living. Fixed in v3.2 (just uploaded).I tried this patch out. It's great but one major problem is the is breaks the gallery replay feature. Only Mom/Jo scenes appear in the gallery at all. (at first I thought that was just part of the game but I realized nobody else had that problem and found out it was caused by the ipatch.)
It works only in text with character variable.
Ah. You are suggesting that, in order to avoid manually "translating" the quest and gallery strings, I should wait until all context has been stripped from the text, then try to reconstruct the context from the bare string and the state of various global variables.Apparently almost all of displayed text goes throughrenpy.translation.translate_string
function.
So you can probably monkey patch it, and make patch for say, menu and screen from it.
if anyone knows the flag that makes the nurse come up in this quest, i'd be highly appreciativeWell in that case, either your specific set of character interactions and cleared quests has led you to a "version" of Wicked Game I've never seen where the solution is different from the ones I thought were the default, or the quest bugged out. Every time I've gone through that quest (light spoiler for the usual solutions). The situation you are in where apparently the Nurse isn't there at all is something I haven't encountered.You don't have permission to view the spoiler content. Log in or register now.
if anyone knows the flag that makes the nurse come up in this quest, i'd be highly appreciative
characters/nurse/nurse.rpy:55-56
: if quest.kate_wicked == "costume" and not quest.kate_wicked["own_costume"]:
self.alternative_locations["school_ground_floor_west"] = "standing"
locations/school/ground_floor_west/ground_floor_west.rpy:119-120
), so the box should never be there without the nurse. Unfortunately, if you're also in some phase of another quest (like "Venting Frustration") which blocks the nurse from appearing, that will take precedence. (See lines 66-77 in nurse.rpy
.)return
after the above two lines (but still under the if
). For verisimilitude's sake, they're probably just going to have to rewrite that part of the quest to handle the "nurse is unavailable" case.yeshey can someone answer a question for me please. i dropped this game a while back bc i got annoyed that i had to reload a save twice so that i didnt get locked out of certain content. iirc it was for the nurse and sister. is there a lot more scenarios like that, where if u dont dont a certain thing before progressing with a character then a dialogue option could be locked? and is the dev still adding stuff like that?
I don't have a PC, I only have Android and JoiPlaySwitch to PC
Bad luck then, the game is unplayable on Android.I don't have a PC, I only have Android and JoiPlay
At that time there was one person who shared the Android versionBad luck then, the game is unplayable on Android.