OS: Windows 10
Error happens when casting the "Dream" spell on a slave. The caster's name and sex is used in the description.
Note: Unlike the other spells, the return text from the dreameffect function in spells.gd is not run through person.dictionary() but is sent directly back. Changing the return statement to return person.dictionary(text) fixes this issue.