Some basic mod compatibility fixes around pluralisation. Also removed some redundant functions.
I think it would be nice to clean up the names of modded races, E.G. "dl92creature nevrean" should just be "nevrean". But I can only think of three solutions: Loading raws to get the printable names, writing a dictionary that would have to be updated as mods change, or writing a function to try and remove suffixes and prefixes. Out of those loading raws seems like the best option, but that's still not exactly ideal as users would have to supply more files.
For now I'm going to work on the open issues on Parker147's branch.
Some basic mod compatibility fixes around pluralisation. Also removed some redundant functions.
I think it would be nice to clean up the names of modded races, E.G. "dl92creature nevrean" should just be "nevrean". But I can only think of three solutions: Loading raws to get the printable names, writing a dictionary that would have to be updated as mods change, or writing a function to try and remove suffixes and prefixes. Out of those loading raws seems like the best option, but that's still not exactly ideal as users would have to supply more files.
For now I'm going to work on the open issues on Parker147's branch.