Home

AmmoItemPrototype

Ammo used for a gun.

Parent

Properties

ammo_type

When using a plain AmmoType (no array), the ammo type applies to everything ("default").

When using an array of AmmoTypes, they have the additional AmmoType::source_type property.

magazine_size

Number of shots before ammo item is consumed. Must be >= 1.

reload_time

Amount of extra time (in ticks) it takes to reload the weapon after depleting the magazine. Must be >= 0.

ammo_category

shoot_protected