dotDeposit

Descreption of how does the the deposit function work

Damage Penalty

Enables a check on the vehicle's condition when the job is finished.

  • Logic: If the vehicle is returned in a "damaged" state (defined by the threshold below), the player is penalized. They will only receive a 50% refund of their original deposit.

  • Usage: Enable this to encourage players to drive carefully.

  • true: Calculates vehicle health upon return. If damaged, only 50% of the deposit is returned.

  • false: Disables damage checks. Players always receive their full deposit back.

Default: true

Config.DepositBasedOnDamage = true

Base Deposit Amount

Sets the upfront cost charged to the player when starting the job.

  • Description: This amount is removed from the player's account when they pull out the vehicle. It is refunded (fully or partially) when the vehicle is returned.

Default: 250

Config.Deposit = 250

Damage Threshold

Defines the specific engine health value at which the vehicle is considered "too damaged."

  • How it works (Technical): Vehicle engine health typically ranges from 0 (Exploded) to 1000.0 (Perfect).

  • The Logic: If the vehicle's health falls below this number when returned, the script considers it "destroyed" and triggers the 50% deposit penalty mentioned above.

Default: 700.0 (A vehicle returned with less than 700 health is considered damaged)

Last updated