- Oct 1, 2023
- 284
- 1,120
- 276
The error means the variable mai_relationship isn’t defined in the latest version of the game - the developer probably changed the variable name in the code.Wanted to let you know I just got and error message when using your mod. I get to the third visit with Maia for the soul binding and when it comes time to verify I get an error message that says name 'mai_relationship' is not defined. I know the developer changed the code and I believe this has affected your code. I am sending you a save file so you can replicate and fix the error. I also only used your mod.
View attachment 5325501
You can do a quick temporary fix by opening the Ren’Py console (Shift + O) and typing:
mai_relationship = 0
That’ll let you continue your save for now.
For a permanent fix, create a file named myfix.rpy inside game folder and open it using a text editor then include an initialization line like this:
Python:
init python:
if "mai_relationship" not in globals():
mai_relationship = 0
This ensures the variable is always defined even if the base game code changes again.