- May 22, 2017
- 3,215
- 8,051
You made me curious, so I counted how many times there is "uncle" or "niece" (case insensitve) mentioned in displayable text strings and how many times are goddaughter and godfather and any of their versions mentioned. And it seems that the last version of the game is a bit of a mess, not a clean non-incest version and not a clean incest version, either.So, the most recent 0.2.2b clean version or linux seemed to have Christine referring to me as her Uncle.
Bash:
$ grep -iEc '\"[^"]+god+(father|daug(ht|th)er|daddy)' script.rpy
309
$ grep -iEc '\"[^"]+(uncle|niece)' script.rpy
442
So it really looks like the dev team forgot to clean up their code and you need a filter to clean it up yourself either way.
Your modifications are fine, since there aren't many ways there to interpret or misspell simple words like uncle and niece and there is no need for complicated regular expressions to catch them.
BTW, You can report your post, so the moderators could put a link to your "incest remover" patch post to the OP, next to the incest patch to make it easier to find.
______________________________
Correction...
I just realized that I counted lines, not words. So it's possible that both are mentioned more than once on some of the counted lines...
______________________________
Counting words now:
(this should do it correctly now, I think)
Bash:
$ grep -iE '^\s*[a-z]*\s*\"' script.rpy|grep -iEo "(uncle|niece)"|wc -l
581
$ grep -iE '^\s*[a-z]*\s*\"' script.rpy|grep -iEo "god+(father|daug(ht|th)er|daddy)"|wc -l
332
Last edited: