yumi-modding / FS17_ContractorMod

7 stars 4 forks source link

Using more than 8 workers #78

Open SavageMkII opened 4 years ago

SavageMkII commented 4 years ago

Hello, and thank you for this excellent mod!

I have a question/issue for you. I am trying to use 16 workers, and have them working in my game. Using tab to cycle through the workers works properly, so I can use that to make use of all 16 workers, but I was hoping there was a way to set up individual actions and keyBindings for direct switching to each worker I have tried adding the actions and bindings to the modDesc and contractorMod.lua, but it doesn't seem to work. It will switch to worker 9, but when I try to switch to worker 10, it switches to a non-character, then 11 will switch back to worker 1, and so on. It seems to me like the script will not recognize double digit worker indexes, and only reads the second digit.

Is there a way around this?

Thanks!

yumi-modding commented 4 years ago

Hello Thanks for your message and your support. I will have a look at keybindings to see how to manage more than 9 workers with direct key to enable each of them. If possible I'll push an update to modhub with that so everyone can use it.