TCS Improved Mod Page

TCS Improved Mod Page 5

No compatibility issues found with 1.2.0.
Hotfix for an issue I introduced in v4 where all the Enable/Disable buttons wouldn't update mod statuses live. Sorry about that.
Adds integration with @leonardify's CivMods!

If a mod is downloaded or updated by CivMods, a "Managed by CivMods!" will display under Mod Details. Hover over it for an explanatory tooltip. Additional custom properties are populated by CivMods as well:
  • Mod Homepage - if it's not populated by the author, CivMods will provide the Civfanatics resource page
  • Version - if it's not populated by the author, CivMods will provide the Civfanatics release version
  • Published Date - CivMods provides the Civfanatics version release date
  • Content Category - CivMods provides the Mod Category from Civfanatics

1743448577858.png

What's Changed​

  • Added Enable/Disable All buttons for each category
  • Fixed bug where the incorrect mod-id was showing on the default page
  • Hid "Essential" content (again, for now) - will eventually add a config option to allow you to view them
  • Removed "modules" folder from mod folder structure
  • Download folder now includes version number
  • Added Italian, Korean, Portuguese, and Russian localizations
Github Repository

Translations
If you would like to contribute a translation, please do one of the following:
  • open an issue with the localization label and upload your files there, OR
  • open a branch from the current version, add your localization to an appropriate folder, and create a Pull Request.
Other Contributions
There are some additional enhancements I will be looking to make - primarily in adding Enable All/Disable All buttons to each category. Anyone who has a better grasp of JS events would be greatly appreciated as a contributor.
Various improvements:
  • The initial mod shown when navigating to the Mod Page is now this mod.
  • Toggle button has been hidden until you select a mod.
  • Toggle button has been hidden for Locked and Essential content.
  • Minor layout changes under Properties.
  • Added support for additional custom .modinfo Properties:
    • Compatibility
    • URL
Known minor issue:
  • The Mod Id property is incorrectly shown before selecting a mod. I don't know why.
Back
Top Bottom