Project Zomboid

Project Zomboid

Paint Your Ride
 This topic has been pinned, so it's probably important
NoctisFalco  [developer] Jan 6, 2022 @ 2:29am
For modders
To make this mod support your vehicles add a lua file (or edit existing if your mod has one) to your mod's media/lua/shared folder with the following contents:

require('PaintVehicleConfig') if getActivatedMods():contains("PaintYourRide") and PaintVehicleConfig then PaintVehicleConfig.addVehicle(vehicleType, paintRequired) end

vehicleType - for example "Base.CarNormal". Module name ("Base.") must be specified.
paintRequired - required amount of paint (also used to calculate primer requirements). Check the PaintVehicleConfig.lua file for examples to make your requirement somewhat balanced.
Last edited by NoctisFalco; Jan 13, 2022 @ 12:15am