- Jan 25, 2018
- 135
- 47
its not worked on my game, what do i need to do ?Added 'goddaddy' to the 'Uncle Restoration' patch to be replaced with 'uncle' (also works for the capitalized version):
_______________________Python:# code inspired by bossapplesauce @ f95zone init python: hardcoded = {} def rel_rest(text): def text_repl(t): if renpy.re.match("god(?:daughter|daugther)", t.group(0)): return "niece" elif renpy.re.match("god(?:father|daddy)", t.group(0)): return "uncle" elif renpy.re.match("God(?:daughter|daugther)", t.group(0)): return "Niece" elif renpy.re.match("God(?:father|daddy)", t.group(0)): return "Uncle" return hardcoded[text] if text in hardcoded else renpy.re.sub( r'(?:(?i)god(?:father|daughter|daugther|daddy))', text_repl, text ) config.say_menu_text_filter = rel_rest
update
Added misspelled version of goddaughter ('goddaugther') to the replacement filter
_______________________
rel_rest.rpy file from inside the zip archive goes into the 'game' subfolder in the game root folder:
View attachment 537498
Most of the patches I've made can be extracted directly into the game root folder, but this one follows the suit of the original rel_rest patch.