FS19 Solar Battery Script v1.0.0.1
Script needs to be installed manually to vehicles!
Changelog:
1.0.0.1
– fixed updateMass value (vehicle was too heavy to drive)
– added xml-value to set fillUnitIndex of “Diesel”-fillUnit if it differs to 1
Adds ability for a vehicle to only work if solar power is active, else switching to battery.
Battery has a defined lifetime. If lifetime is reached, motor turns off and recharges when sun is back.
Instructions to modify settings, are within lua-file.