Job

Properties, events and actions relating to job data

Properties

Over Speed Limit

TruckSimulatorPlugin.Job.OverSpeedLimit

Returns True when you're over the speed limit for the current road you're on. If there's no limit set, this property continues to return False. Takes into account the "Over Speed Margin" value from the plugin's settings, allowing there to be a window above the limit before this property activates, this stops it from constantly flip-flopping when you're on the current limit.

Over Speed Limit (Percentage)

TruckSimulatorPlugin.Job.OverSpeedLimitPercentage

Reports a percentage value where 0% is the current speed limit of the road you're on, and 100% is the current speed limit plus the amount specified by the "Over Speed Margin" setting.

Next Rest Warning

TruckSimulatorPlugin.Job.NextRestWarning

Returns True when there's less than 1 in-game hour left before you need to take your next rest stop.

Job Total Days Left

Job Total Hours Left

Job Minutes

Last updated