Topic: production percentages and rates
PointLuck![]() Topic Opener |
Posted at: 2021-07-07, 18:31
Hi, I did a search in this forum and did not find much about production rates of buildings and/or ratios of farm vs mill vs bakery and the like. From the posts I understand that the workers are essentially following a small lua-script and as such it is not straight foward to just extract a production rate. I'd even go as far as saying that since lua is turing complete, in some way the best approach might be to literally just simulate the worker for a while and measure the production rate instead of trying to reason about it (I know that argument doesnt quite hold up Anyway, on the other hand all buildings give an information overlay (shortcut S) that shows me some percentage of productivity. Where does that number then come from if we dont know the actual production rates? /PointLuck ![]() ![]() |
hessenfarmer![]() |
Posted at: 2021-07-07, 19:19
Hi Pointluck and welcome to the forums, first for the easy answer the Productivity (shown with "S") is simply a percentage of succesful working time versus unsuccessful working or idling time over a specified period of time. I know this isn't waht you expected but it might help a bit regardless hopefully ![]() ![]() |
Nordfriese![]() |
Posted at: 2021-07-07, 19:19
Hello PointLuck and welcome to the forums The production percentages indicated over the buildings by the S hotkey give an estimate of how much of its time the building has been spending on actual work in the recent time. The productivity rates in the encyclopedia have nothing to do with this. For some buildings these values can be calculated directly from the program and it's just that nobody got around to either doing this or writing an automated approach yet; but for buildings where the workers walk around, the time needed for a working cycle depends on how near or far the objects to work on are, so there are no exact numbers, only empirically determined averages. Units are scripted in Lua files, but the actual working programs use a custom program syntax ![]() ![]() |
hessenfarmer![]() |
Posted at: 2021-07-07, 19:29
we managed again to provide a 100% identical crosspost, funny isn't it ![]() ![]() |
PointLuck![]() Topic Opener |
Posted at: 2021-07-09, 19:23
Ah interesting. Got it, thanks to both! ![]() ![]() |