Kromtec / LegendsViewer

Recreates Dwarf Fortress' Legends Mode from exported files.
GNU General Public License v3.0
62 stars 19 forks source link

Mod compatibility #4

Closed Alexei-B closed 8 years ago

Alexei-B commented 8 years ago

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.