yairm210 / Unciv

Open-source Android/Desktop remake of Civ V
Mozilla Public License 2.0
8.26k stars 1.55k forks source link

Function to disable mods #11479

Closed lolafur closed 4 months ago

lolafur commented 4 months ago

Before creating

Problem Description

Adding the ability to disable unused mods in the game. It was necessary to prevent the user from constantly deleting and reinstalling the mod

Related Issue Links

No response

Desired Solution

You can add a convenient and at the same time small function to disable mods to the game. The idea is that usually, if you don't use a mod, you uninstall it. And when you need it, you install it again. To avoid constantly deleting and re-installing, you can create a function with which in the “Mods” section you can disable those mods that you do not use, but leave those that are used.

Alternative Approaches

I don't see any alternatives to this function. Unless you leave everything as it is now in the game and don’t change anything

Additional Context

No response

yairm210 commented 4 months ago

Mods, by default, are not used when installed. You pick mods when creating a game - mods you don't pick will not be used. What am I missing here?

lolafur commented 4 months ago

Mods, by default, are not used when installed. You pick mods when creating a game - mods you don't pick will not be used. What am I missing here?

I'm sorry, I didn't think and hurried to write all about it. Everything is fine, you can close the topic. Hurry up, this happens :)