- Aug 29, 2017
- 3,422
- 2,199
- 470
Do not copy code from the mod, it is an old version of the game after all. If you want to add a character it would be better to copy and rename a character in the current version, and change the details there. Make sure you alter the addPerson line to alter their nameHey, I've been messing around with scripting in the mods folder. I'm not too familiar with JavaScript but I have been able to pull of some stuff with copy-paste and some editing. I've been able to add custom locations, and I was able to add in a custom dialog option with Monique after a couple hours of scratching my head. The one thing I haven't been able to do is add a new character though, and I was wondering if you had a guide for that? I tried copying the "new character" code (from the standalone mod) and assigning it to a custom location, but when I do it breaks that location?
If you find something 'breaks a location/event' the hit F12 and see what is shown on the console, it should give an error message. Most likely it is a typo or other error in the code