weapon base exports

This commit is contained in:
Alexey 2025-07-18 14:38:56 +03:00
commit 39fb87f62d
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,14 @@
extends Node3D
class_name Weapon
@export var barrel: Barrel
@export var uses_hands: Array[CommandQueue.Side]
@export var max_ammo: int = 7
var ammo: int = max_ammo
@export var ammo_consumption: int = 1
@export var fire_mode: BaseFireMode
## Weapon animation library. Should contain "static", "fire", "reload" animations
@export var animation_library: AnimationLibrary