AmmoDefinition
Defines an ammo type that can be used by guns.
Properties
Section titled “Properties”Type: "Ammo"
Always set to “Ammo”. Used to differentiate between classes.
Type: string
The internal name of the ammo.
DisplayName
Section titled “DisplayName”Type: string?
The name that will be displayed in the UI. If not set, Name will be used instead.
Capacity
Section titled “Capacity”Type: number
The maximum amount of ammo that can be stored in a single clip.
ReserveCapacity
Section titled “ReserveCapacity”Type: number
The maximum amount of ammo that can be stored in reserve (doesn’t count ammo in the clip).
CanDrop
Section titled “CanDrop”Type: boolean
Whether the ammo can be dropped as an ammo box.
Type: MapObject?
The model of the ammo.