Topic: Missing information
stonerl Topic Opener |
Posted at: 2018-07-31, 03:28
Recently I started playing Widelands with some of my friends. What was quite cumbersome was that the Tribal Encyclopedia is missing most of the information for Production Performance. The barbarians only had some information missing, but for the other tribes there were almost no information available. We first thought that Calculation needed meant that this information would be available some time after the relevant building had produced some units. For newcomers it's a good guidance to know how long it takes to produce the wares, just to get an idea on how to scale the economy. What calculations need to be done to have these information available for all tribes and buildings? Best stonerl Top Quote |
king_of_nowhere |
Posted at: 2018-07-31, 04:28
in most cases the value is known, althoguh the encyclopedia is not updated. Buildings have a working cycle and then they rest for a while, before they have another working cycle. So you just sum the durations, you add 3.6 seconds because that's the time it takes for the worker to put the wares on its flag and come back (double this time if two wares at a time are produced) and you get the performance. The numbers are available in the .lua files, if you have some experience you can find them. Some buildings however also need to walk around, and in this case you can't give an exact number, because it depends on how much the worker has to travel. this applies to woodcutters, quarries, fishers, hunters, farmers. Farmers have been measured experimentally with a large number of farms over a long time, and farmers take on average 80 seconds to produce a ware, except barbarian farmers who need 100 seconds. In most cases, getting the value is really easy, it just needs somebody to put them into the encyclopedia. Top Quote |
stonerl Topic Opener |
Posted at: 2018-07-31, 04:45
I just had a look in some lua files. Here is the action for the barbarian bakery:
So it is 20 seconds + 20 seconds + 20 seconds devided by 2 (since it produces 2 pieces) which results in the 30 seconds it takes for 1 piece of bread to be produced. Am I right? Edited: 2018-07-31, 04:51
Top Quote |
Ex-Member |
Posted at: 2018-07-31, 08:50
Plus the 3.6 seconds per ware for the baker to take the item from production to the flag which would make it 33.6 seconds per bread, provided the stores are stocked with enough water and wheat. Top Quote |
stonerl Topic Opener |
Posted at: 2018-07-31, 11:41
Hmm, which means that almost none of the production times in the Tribal Encyclopedia are correct. For the barbarian bakery it says ever 30 seconds. The correct Calculation for the bakery would be:
Wouldn't it? Edited: 2018-07-31, 11:45
Top Quote |
WorldSavior |
Posted at: 2018-07-31, 12:00
True. The exceptions: Some farms.
Yes Wanted to save the world, then I got widetracked Top Quote |
GunChleoc |
Posted at: 2018-07-31, 18:17
We should consider automating the calculations sometime... there might also have been some changes to the programs without any updates to the estimates. Busy indexing nil values Top Quote |