Weapon
The `WeaponData` class is used for custom items of type `Weapon`. It allows you to customize the properties of firearms.
Property
Type
Description
CustomItemType: Weapon
CustomData:
damage: 25.0
max_barrel_ammo: 1
max_ammo: 100
max_magazine_ammo: 20
ammo_drain: 1
penetration: 1.5
inaccuracy: 0.2
aiming_inaccuracy: 0.05
damage_falloff_distance: 50.0
attachments: "Scope, Silencer"
enable_friendly_fire: trueLast updated
Was this helpful?