debrouxl / odrade

Original Dune Restructuring And Diversification Extension
GNU General Public License v2.0
4 stars 0 forks source link

Script-adjustable troops properties based on Military Skill check #1

Open Dmitri-Fatkin opened 2 years ago

Dmitri-Fatkin commented 2 years ago

It'd be helpful to have a part of troops sanity check where the script evaluates whether location hosts multiple Harkonnen troops, and if it does, verifies whether Military Skill on one of them exceeds 95.

If it does, the user should be prompted whether the script should take the highest utilized value & make all the other present troops to be matching it, simultaneously determining the highest Population value one of these units has & stationing that exact value on the rest of the troops, if the user provides confirmation.

Such verification is necessary since under other conditions the squads embracing excessive Military Skill values aren't going to be properly-treated by the game's post-battle equipment randomization system.

debrouxl commented 2 years ago

Thanks for your suggestion :) Prompting the user isn't my favorite way to influence the operation of the scipt; of course, there are other ways to non-interactively pass configuration information to the program, e.g. CLI arguments, environment variables, or a configuration file. Making some checks / modifications configurable will prove useful in the longer term with Dune reimplementations which do not have the same bugs, anyway.