C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
33 stars 9 forks source link

131 - Include a Unit with C7 #346

Closed QuintillusCFC closed 1 year ago

QuintillusCFC commented 1 year ago

First we look for the unit on a scenario's mod path, which still is only among Civ3 files.

Then we check for a C7 native version.

Finally we check the base Civ paths.

Please review #345 first!

QuintillusCFC commented 1 year ago

Self-reviewed. Improved a method name, sorted a couple modifiers. The general method for searching still looks solid, at least until we support mods stored relative to a C7 install.