I have a ADV Character that I use for multiple characters. I just replace the name with the actual character.
Now I have the following code:
Code: Select all
default character.sgirl = Character(
"School Girl",
who_color = "#8a2be2",
what_color = "#ffffff",
what_size = 28,
)
label test:
sgirl "Hello." (name="Aona")
If I remove the name argument, everything works. But with that, I get an error.File ..., line ..., in script
sgirl "Hello." (name="Aona")
KeyError: 'retain'
Edit: I also tried it like this:
Code: Select all
$ character.sgirl ("Hello.", name = "Aona")
Edit 2: Okay I just looked and on the old PC I have RenPy Version 8.1.3. There I don't have that problem. On my new PC it was Version 8.2.1. Switched the version on my new PC to 8.1.3 and now the problem's gone. Does anyone still have any idea why that is? Wouldn't want my game to break when if I need to update RenPy.