Review Inventory (#55)

* Weapons and Armor are now stored like any other item on the PC. Added equip/unequip logic.

* Changed so that equip attempts always go through and the neccessary weapons are unequipped to fascilitate it

* Fixed drag equip and extracted unequipBeforeEquip logic
This commit is contained in:
WBHarry 2025-05-26 15:43:04 +02:00 committed by GitHub
parent d36520438a
commit cf51153432
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 106 additions and 143 deletions

View file

@ -83,8 +83,6 @@
"Info": {
"ClassCanOnlyHaveTwoDomains": "A class can only have 2 domains!",
"NoTargetsSelected": "No targets are selected.",
"SecondaryEquipWhileTwohanded": "A secondary weapon can't be equipped together with a Two-Handed weapon.",
"TwohandedEquipWhileSecondary": "Can't equip a Two-Handed weapon together with a secondary weapon.",
"SelectClassBeforeSubclass": "Select a Class before selecting a Subclass.",
"SubclassNotOfClass": "This Subclass doesn't belong to your current Class.",
"AttackTargetDoesNotExist": "The target token no longer exists"
@ -843,9 +841,10 @@
"InventoryWeapon": "Inventory Weapon"
},
"InventoryTab": {
"EquipmentTitle": "Equipment",
"ConsumableTitle": "Consumables",
"MiscellaneousTitle": "Miscellaneous",
"WeaponsTitle": "Weapons",
"ArmorsTitle": "Armors",
"QuantityTitle": "Quantity"
},
"Weapons": {