In your Mansion.gd, "brothelquestdict" and "mirrorquestdict" both have a space after the leading "{".
Edit: Also, you need a non-empty line between multi-line variable definitions, add a comment line between "brothelquestdict" and "mirrorquestdict".
If you are using my bugfixed mod system, it shouldn't cause problems. But the original regexs were problematic. Edit2: to explain simply, your extra space is the equivalent to forgotting to include a semi-colon to your code so it blew up.
If you know regex, then modpanel.gd "regex_string_dictionary["VAR"]" will tell you more how it should be structured. Otherwise, this will need to be a Discord explanation as it will be quite lengthy.