So I made my own mod with about 25 or so different purposes, but it was all done via overwrite. Now that I have decided I want to post the mods, I need to edit them so they modify the functions instead of replacing them. Also splitting that big mod into a dozen or so smaller ones.
Everything was going well until I reached my Beastkin Mouse & Rat mod...
So what I want to do is append my races to the end of the array, but after some testing, it doesn't seem to work that way. Perhaps I'm doing something wrong, so I thought I'd pop into the Discord and ask for help, but after waiting a few minutes I figured it wouldn't hurt to post here as well.
My mod works fine, and just by adding to the list of races, they show up in the character creation menu, as intended. So everything works fine. (I've also run into some wild halfkin rats, so I'm happy about that as well)
The problem occurs when trying to convert the mod over to be additive instead of replacing the entire variable array.
Has anyone here successfully added a race to the game without replacing the var races array in races.gd?
Side note: I also have custom 'body parts' for the mice and rats, since round ears weren't a thing in vanilla for some reason... And of course, I had to add the tail descriptions lol.
EDIT: Apparently I needed to take a short break. Syntax error stopped me in my tracks. Fixed now, and working as intended... now to figure out how to deal with descriptions.gd which has dozens of changes and additions lol... This is gonna be fun. Special thanks to Ankmairdor for the help on Discord. Sorry I wasted your time lol.