From OpenLieroX Wiki

Jump to: navigation, search

Copied from here.

Contents

Class Weapon
ammo
 ammo()


Returns the amount of ammo left in this weapon.

is_reloading
 is_reloading()


Returns true if this weapon is reloading.

reload_time
 reload_time()


Returns the reload time left on this weapon. Does only make sense if is_reloading() is true.

type
 type()


Returns the weapon type in the form of a WeaponType object.