Weapon and shield slots

This commit is contained in:
Twirpytherobot
2025-11-15 16:44:58 +00:00
parent 86db6865b7
commit 6da70f9bfe
7 changed files with 199 additions and 82 deletions
+3
View File
@@ -4,9 +4,12 @@ class_name WeaponData
## Resource that stores weapon statistics and properties
## Can be reused for both equipped weapons and world pickups
enum Hand { MAIN_HAND, OFF_HAND, TWO_HAND }
@export_category("Weapon Info")
@export var weapon_name: String = "Weapon"
@export_multiline var description: String = ""
@export var hand_type: Hand = Hand.MAIN_HAND
@export_category("Combat Stats")
@export var damage: float = 10.0