require "VehicleZoneDefinition"

-- Parking Stalls --
VehicleZoneDistribution.parkingstall.vehicles["SemiTruck"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.parkingstall.vehicles["SemiTruckLite"] = {index = -1, spawnChance = 1};
--VehicleZoneDistribution.parkingstall.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.parkingstall.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 1};

VehicleZoneDistribution.bigtrailerparkinglot = VehicleZoneDistribution.bigtrailerparkinglot or {}
VehicleZoneDistribution.bigtrailerparkinglot.vehicles = VehicleZoneDistribution.bigtrailerparkinglot.vehicles or {}
VehicleZoneDistribution.bigtrailerparkinglot.vehicles["SemiTruck"] = {index = -1, spawnChance = 10};
VehicleZoneDistribution.bigtrailerparkinglot.vehicles["SemiTruckLite"] = {index = -1, spawnChance = 8};
VehicleZoneDistribution.bigtrailerparkinglot.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 5};
VehicleZoneDistribution.bigtrailerparkinglot.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 15};
VehicleZoneDistribution.bigtrailerparkinglot.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 15};

-- Trailer Parks --
VehicleZoneDistribution.trailerpark.vehicles["SemiTruck"] = {index = -1, spawnChance = 1};
--VehicleZoneDistribution.trailerpark.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 2};
--VehicleZoneDistribution.trailerpark.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 1};

-- Junk spawns --
VehicleZoneDistribution.junkyard.vehicles["SemiTruck"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.junkyard.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.junkyard.vehicles["SemiTruckLite"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.junkyard.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 1};


-- Traffic Jams --
VehicleZoneDistribution.trafficjamn.vehicles["SemiTruck"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.trafficjamn.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.trafficjamn.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 1};

VehicleZoneDistribution.trafficjamw.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.trafficjamw.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.trafficjamw.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 1};

VehicleZoneDistribution.trafficjams.vehicles["SemiTruckLite"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.trafficjams.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.trafficjams.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 1};

VehicleZoneDistribution.trafficjame.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.trafficjame.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.trafficjame.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 1};

-- Special --
VehicleZoneDistribution.farm = VehicleZoneDistribution.farm or {}
VehicleZoneDistribution.farm.vehicles = VehicleZoneDistribution.farm.vehicles or {}
VehicleZoneDistribution.farm.vehicles["SemiTruck"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.farm.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 5};
VehicleZoneDistribution.farm.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 5};
VehicleZoneDistribution.farm.vehicles["SemiTrailerVanCattle"] = {index = -1, spawnChance = 15};

VehicleZoneDistribution.mccoy.vehicles["SemiTruck"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.mccoy.vehicles["SemiTruckLite"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.mccoy.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 3};
VehicleZoneDistribution.mccoy.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 8};

VehicleZoneDistribution.fossoil.vehicles["SemiTruck"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.fossoil.vehicles["SemiTruckLite"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.fossoil.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 1};
VehicleZoneDistribution.fossoil.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 5};
VehicleZoneDistribution.fossoil.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 8};

VehicleZoneDistribution.spiffo.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 2};
--VehicleZoneDistribution.spiffo.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 8};

VehicleZoneDistribution.massgenfac.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 4};
--VehicleZoneDistribution.massgenfac.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 12};

VehicleZoneDistribution.postal.vehicles["SemiTruckBox"] = {index = -1, spawnChance = 2};
--VehicleZoneDistribution.postal.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 1};

-- Tread's Military Vehicle Zone Defs --
-- https://steamcommunity.com/sharedfiles/filedetails/?id=2739565754
VehicleZoneDistribution.military_heavy_trailers = VehicleZoneDistribution.military_heavy_trailers or {}
VehicleZoneDistribution.military_heavy_trailers.vehicles = VehicleZoneDistribution.military_heavy_trailers.vehicles or {}
VehicleZoneDistribution.military_heavy_trailers.vehicles["SemiTrailerVan"] = {index = -1, spawnChance = 5};
VehicleZoneDistribution.military_heavy_trailers.vehicles["SemiTrailerCistern"] = {index = -1, spawnChance = 5};


--Car Trailer
VehicleZoneDistribution.junkyard.vehicles["SemiTrailerLowBed"] = {index = 1, spawnChance = 25};
VehicleZoneDistribution.police.vehicles["SemiTrailerLowBed"] = {index = 1, spawnChance = 3};
VehicleZoneDistribution.fire.vehicles["SemiTrailerLowBed"] = {index = 1, spawnChance = 5};
VehicleZoneDistribution.junkyard.vehicles["SemiTrailerLowBed"] = {index = 1, spawnChance = 25};
VehicleZoneDistribution.parkingstall.vehicles["SemiTrailerLowBed"] = {index = 1, spawnChance = 0.2};
VehicleZoneDistribution.bigtrailerparkinglot.vehicles["SemiTrailerLowBed"] = {index = -1, spawnChance = 3};

