I want to ask, in the patch are you replacing all the references of mc and his sister to emily as mom? and every time the game is updated you update the patch?
If yes, then this process can be automated, and it will be universal, and you don't have to change the name every time.
Code:
init python:
import inspect
def replace_text(text):
frame = inspect.currentframe()
who = frame.f_back.f_locals.get('who')
if who is d:
text = text.replace("[momname]", "[momrel!c]")
text = text.replace("[momname!c]", "[momrel!c]")
if who is s:
text = text.replace("[momname]", "[momrel!c]")
text = text.replace("[momname!c]", "[momrel!c]")
return text
config.say_menu_text_filter = replace_text