From d5ddb0deb7b18fcb350a27c1f3bd603f16bfeacf Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Mon, 9 Feb 2026 09:34:01 +0000 Subject: [PATCH] fix(attachments): add default value for attachment_type to fix dataclass init error --- core/attachments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/attachments.py b/core/attachments.py index 008e569..da3a7a9 100644 --- a/core/attachments.py +++ b/core/attachments.py @@ -14,7 +14,7 @@ class Attachment: name: str item_id: str decay_pec: Decimal - attachment_type: str # e.g., 'amplifier', 'scope', 'absorber' + attachment_type: str = "" # e.g., 'amplifier', 'scope', 'absorber' # Effects damage_bonus: Decimal = Decimal('0')