Time Calculations

How is the time calculated?

I have tried a bunch of different ways but it doesn’t seem constant per task.
I.E.

TASK PROCESS TIME REAL TIME
task_fit_frontarch 4200 2min 20sec
task_fit_frontbumper 4400 2min 26sec
task_fit_front_axle 5000 2min 46sec
task_fit_rear_axle 4500 2min 30sec

Other Factors
HOUR_LENGTH = 120000

So how does the game get that amount of real time from the process time?

Something like this i would imagine

1 min = 60

I can agree tho that the “hour_lenght” does not add upp… 4500 process time = 2 minutes and 15 sec… (2000 = 1 minute, 1000 is 30 sec and 500 is then 15 sec… )

task_fit_frontarch 4200 2min 20sec (4200 / 140 = 30)
task_fit_frontbumper 4400 2min 26sec (4400 / 146 = 30,13)
task_fit_front_axle 5000 2min 46sec (5000 / 166 = 30,12)
task_fit_rear_axle 4500 2min 30sec (4500 / 150 = 30)

is correct if HOUR_LENGHT = 108000 (/60 /60 = 30)

Hi,

it looks like the basic time factor is 30 but the position after the decimal point will be cut.
e.g.: 4400 / 30 = 146,6667 --> after cut = 146 … or 2 minutes and 26 seconds.

Wow, well spotted. This appears to be a dumb formatting error by me. its fixed for 1.12. Rest assured that the underlying numbers are working correctly, it just displays them a bit wrong.

i agree. but the HOUR_LENGTH = 120000 is wrong then

if one second is 30 then 1 minute is 1800 and 1 hour is 108000

Right?

a second is actually 33.33333. 2,000 is a minute.

Wow, this thread lead to a fix haha. I was only trying to find out how it is calculated to create an excel sheet to automatically calculate how many of each production station is needed based on how fast a car should be output.