The second section is supposed to update the maximum amount of scenes each girl has so that the map screen knows when to grey out the icons.
this is not really needed, it would be imo better to set those centrally as constants (the value is unchangeable in a game play and only updated with new releases).
set them all in wca_fix.rpy and remove from update0 and update
#maxquest define aoibheann_maxquest = 0 define amano_maxquest = 0 define ambriel_maxquest = 0 define ashira_maxquest = 0 define ashley_maxquest = 0 define mouse_maxquest = 4 define blossom_maxquest = 2 define cecilia_maxquest = 0 define lydia_maxquest = 0 define druthari_maxquest = 2 define dwel_maxquest = 0 define ember_maxquest = 0 define eshtel_maxquest = 0 define eyleth_maxquest = 0 define galka_maxquest = 1 define gillie_maxquest = 0 define harai_maxquest = 0 define harpy_maxquest = 0 define jade_maxquest = 2 define kageshini_maxquest = 0 define kanako_maxquest = 1 define krin_maxquest = 0 define lirum_maxquest = 0 define maika_maxquest = 0 define mayyah_maxquest = 2 define clements_maxquest = 0 define nemlyn_maxquest = 0 define nichiri_maxquest = 0 define nook_maxquest = 1 define phoebe_maxquest = 0 define river_maxquest = 0 define rukah_maxquest = 2 define saarya_maxquest = 0 define saffryn_maxquest = 0 define serafina_maxquest = 2 define senia_maxquest = 0 define tilai_maxquest = 3 define venrae_maxquest = 0 define wither_maxquest = 1 define yuka_maxquest = 0 define zira_maxquest = 0 define fia_maxquest = 0 define inphyy_maxquest = 0 define homura_maxquest = 0 define hilda_maxquest = 0 define padget_maxquest = 0 define cerros_maxquest = 0 define ibti_maxquest = 0 define petra_maxquest = 1 define shoo_maxquest = 0 define mimic_maxquest = 0
I DID just realize that the _met variables aren't in update1 and I wonder if I shouldn't just package it all into the same update label and just call it again on after_load. but the suggestion was, let's say I added a new character, Lydia, who would then wait to be unlocked. That comes with all new variables. So in the example I was given, using the exact syntax the user gave me, this is what I would have
it will not really be possible to introduce DLC chars w/o *any* changes in the base game, for the free time map you *will* need to use at least the _met and _maxquest variables in character_book.rpy
therefore it makes sense to set them always to default values (i.e. "not met") in a global file, for the _met variables again wca_fix.rpy and remove them from update0 and update1 - the only missing ones are
default lydia_met = 0 default hilda_met = 0 default mimic_met = 0
update0 is unused now, all the variable setter are superfluous (already done with sensible "default" and "define" values) and can be deleted
you only have to set the initial _met values in wca_fix to the actually needed one (e.g. barirmouserd_met was set in update0+1 to "1" instead of "0" - so it needs to be changed to "default barirmouserd_met = 1" in the wca_fix file
By deleting the S, "global" turns purple. I have no idea what that means lol, or even if either of these will work.
cannot really give you much insight into this one, globals() is part of python (https://www.programiz.com/python-programming/methods/built-in/globals) and global also a python keyword (the reason why your editor highlights it)
I know though that hasattr() [also pure python] works
replacing
if "lydia_met" not in globals():
with
if not hasattr(renpy.store, 'lydia_met'):
does what you want (or at least how I understood your question)
save game compatibility
you're very very close, only 2 variables are still not handled.
add to wca_fix.rpy, will be correctly set in update1 (loaded game) or start (new game)
default season1 = False
and as part of label update1
<pre> if not hasattr(renpy.store, 'time'): # this can only happen in save games created before the new map was introduced $ time = "weekend"
Care to hop in my Discord and chat with me there?
depends, hwo much policing is going on in your community at the moment? some time in season 1 you had a variable issue and wrote about it on itch. I posted a possible approach in your discord and got a few moments later a DM by a, afaik, normal member with the content "delete this NOW, Victor does not want the char name disclosed" (or at least very similar)