crissian / x4

X4: Foundations Utilities & Database
http://www.x4-game.com
71 stars 33 forks source link

Workforce percent dont work #97

Open mcailleauxgreenskin opened 1 year ago

mcailleauxgreenskin commented 1 year ago

Hello

Since the last version, the workforce percent dont work anymore, products amounts are not update by changing the workforce percent

image

image

Stummi commented 1 year ago

Hey, just want to drop a message that I implemented a Fix for this issue here, which you can see/test on my forks deployment here

theneofusion commented 1 year ago

Has the change been pushed to the site? I ask because this still doesn't work properly: workforce

Note the manually lowered Actual Workforce but the unchanged (maxed) production efficiency and ration/med supplies usage.

crissian commented 1 year ago

I didn’t deploy it yet. I’ll deploy it when I find the time

crissian commented 1 year ago

This doesn't seem to work as expected. I'm sure "it works on your machine"

mcailleauxgreenskin commented 1 year ago

Hello,

It's worse, now every time we add a housing module, the percentage is different :'(

image

image

image

LittlDog commented 1 year ago

Doesn't wanted to open a new topic for it, since this is kinda releated.

Could you add an option to manually add Workforce when adding a Habitat without any other Modules?

Stummi commented 1 year ago

Hey, I am really sorry, it seems like my PR introduced a bug with the calculation (I fixed it on my branch, but the PR got already merged in the meantime). I will provide another one to fix this issues

elidiak commented 1 year ago

@Stummi Did confirm that your version works. I'll wait for crissian to merge