Customising Vehicle Inventories
Vehicle inventories (trunk + glovebox) are automatically assigned based on vehicle class or model. You can override defaults for specific vehicles, or rely on fallback class-based sizes.
Defaults (By Class)
If a specific vehicle model is not defined, the system will fall back to these default sizes:
compact
60
4
sedan
70
6
suv
80
6
coupe
60
4
muscle
70
5
sports
50
5
super
40
4
motorcycle
16
2
offroad
90
6
industrial
120
6
utility
100
6
van
110
6
service
90
6
emergency
100
8
military
130
10
commercial
120
8
Custom Model Overrides
To override default inventory for a specific vehicle, just define it directly by model name:
adder = {
trunk = 35,
glovebox = 10
}
This will override both the class defaults and any fallback behavior.
Notes
All values are slot-based, not weight-based.
Containers are created automatically when you access the vehicle trunk or glovebox.
Custom sizes allow better balancing for loot-heavy or RP-specific vehicles.
Do have plans to add in a
trailer
type for vehicles, soon as I get round to it, if people want it.
To modify these, just update data/vehicles.lua
with new entries or changes.
Last updated