Extensive work on VFX for the guild, assets for the world, and portrait variance. Work on quests. Extra work on User Flow completion and file saving.

This commit is contained in:
2025-09-04 07:46:55 -04:00
parent 149ee993dc
commit 48e335f56a
134 changed files with 2232 additions and 288 deletions

View File

@@ -1,6 +1,6 @@
class_name Weapon extends Equipment
enum Type{
enum Types{
FIST,
SWORD,
SPEAR,
@@ -12,21 +12,24 @@ enum Type{
}
@export var min_damage : int
@export var max_damage : int
@export var type : Type
@export var type : Types
func item_type_name() -> String:
return "Weapon (%s)" % weapon_type_name()
func can_equip_slot(slot : Slots) -> bool:
return slot == Slots.WEAPON
func primary_stat() -> String:
return "Deals %d-%d base damage." % [min_damage, max_damage]
func weapon_type_name() -> String:
match(type):
Type.FIST: return "Fist"
Type.SWORD: return "Sword"
Type.SPEAR: return "Spear"
Type.STAFF: return ""
Type.DAGGER: return ""
Type.HAMMER: return ""
Type.WHIP: return ""
Types.FIST: return "Fist"
Types.SWORD: return "Sword"
Types.SPEAR: return "Spear"
Types.STAFF: return "Staff"
Types.DAGGER: return "Dagger"
Types.HAMMER: return "Hammer"
Types.WHIP: return "Whip"
return "Unknown"