schliesser / fs-admintoolbox

Admin tools for Framing Simulator 2022 (FS22)
6 stars 0 forks source link

Make vehilce leasing costs configurable #6

Open schliesser opened 2 years ago

schliesser commented 2 years ago

Currently there is no way to modify the leasing costs via settings.

function EconomyManager:getInitialLeasingPrice(price)
    return price * (EconomyManager.DEFAULT_LEASING_DEPOSIT_FACTOR + EconomyManager.PER_DAY_LEASING_FACTOR + EconomyManager.DEFAULT_RUNNING_LEASING_FACTOR)
end

LeasingCosts = VehicleBasePrice * (0,02 + 0,01 + 0,01)