Make a text file named _inc_patch.rpy containing:
init 1040 python:
def nameChange( txt ):
#Julia -> Mom
if ("sRockyT" in txt) and ("sJulia" in txt):
sJulia.name = "Mom"
return txt.replace("sJulia","sJulia")
elif ("sRocky" in txt) and ("sJulia" in txt):
sJulia.name = "Mom"
return txt.replace("sJulia","sJulia")
elif ("sRockyT" in txt) and ("Julia" in txt):
return txt.replace("Julia","Mom")
elif ("sRocky" in txt) and ("Julia" in txt):
return txt.replace("Julia","Mom")
#Lucy -> Sis
elif ("sRockyT" in txt) and ("sLucy" in txt):
sLucy.name = "Sis"
return txt.replace("sLucy","sLucy")
elif ("sRocky" in txt) and ("sLucy" in txt):
sLucy.name = "Sis"
return txt.replace("sLucy","sLucy")
elif ("sRockyT" in txt) and ("Lucy" in txt):
return txt.replace("Lucy","Sis")
elif ("sRocky" in txt) and ("Lucy" in txt):
return txt.replace("Lucy","Sis")
#Emma -> Aunt
elif ("sRockyT" in txt) and ("sEmma" in txt):
sEmma.name = "Aunt Emma"
return txt.replace("sEmma","sEmma")
elif ("sRocky" in txt) and ("sEmma" in txt):
sEmma.name = "Aunt Emma"
return txt.replace("sEmma","sEmma")
elif ("sRockyT" in txt) and ("Emma" in txt):
return txt.replace("Emma","Aunt Emma")
elif ("sRocky" in txt) and ("Emma" in txt):
return txt.replace("Emma","Aunt Emma")
#Sara -> Grandma
elif ("sRockyT" in txt) and ("sSara" in txt):
sSara.name = "Grandma Sara"
return txt.replace("sSara","sSara")
elif ("sRocky" in txt) and ("sSara" in txt):
sSara.name = "Grandma Sara"
return txt.replace("sSara","sSara")
elif ("sRockyT" in txt) and ("Sara" in txt):
return txt.replace("Sara","Grandma Sara")
elif ("sRocky" in txt) and ("Sara" in txt):
return txt.replace("Sara","Grandma Sara")
#Olivia Cousin
elif ("sRockyT" in txt) and ("sOlivia" in txt):
sOlivia.name = "Cousin Olivia"
return txt.replace("sOlivia","sOlivia")
elif ("sRocky" in txt) and ("sOlivia" in txt):
sOlivia.name = "Cousin Olivia"
return txt.replace("sOlivia","sOlivia")
elif ("sRockyT" in txt) and ("Olivia" in txt):
return txt.replace("Olivia","Cousin Olivia")
elif ("sRocky" in txt) and ("Olivia" in txt):
return txt.replace("Olivia","Cousin Olivia")
#Walter Uncle
elif ("sRockyT" in txt) and ("sWalter" in txt):
sWalter.name = "Uncle Walter"
return txt.replace("sWalter","sWalter")
elif ("sRocky" in txt) and ("sWalter" in txt):
sWalter.name = "Uncle Walter"
return txt.replace("sWalter","sWalter")
elif ("sRockyT" in txt) and ("Walter" in txt):
return txt.replace("Walter","Uncle Walter")
elif ("sRocky" in txt) and ("Walter" in txt):
return txt.replace("Walter","Uncle Walter")
else:
return txt
config.say_menu_text_filter = nameChange