Viewing post in Aric's Expansion Rebred
the res://files/scripts/Mansion.gd: 1831 points to a line of code inside the Mansion.gd file. But a small hint when Aric answers: what you need to change is in that line, and not in the line Aric might say - at least that was so in my case. It might be different for all, but if the specific error can not be found in the line Aric will mention it will probably be in line 1831
Aragnier, in your case the code did need to be changed on modded code at those lines. You can change in the error lines listed In that file on your error code, but the issue with changing that file directly (instead of the file line in the mod itself) is that the next time you enable or disable a file that overrides that file, any changes you’ll have made directly to that file will be overridden. Sorry I wasn’t clear about which file needed changing in your case, but those line numbers corresponded to the mod’s line numbers for that file (in mods/aricsexpansion/scripts/mansion.gd)
I’ll examine that issue when I get around my coding PC. Just to clarify, everything else is working?
Exactly. The files in the mod (except for anything in the “Important” folder) are only parts of that modded file that needs to be changed, so the line numbers will only be different. When that file is loaded in in via the mod panel, it’ll add those edited lines to the one in the game folder. If the mod is unloaded, that file is replaced with the file in backups (so any changes to the direct file in the game folder that isn’t also in backups is replaced).