723Studio / OpenXcom_FTA

Fork of OXCE project with additions to support From the Ashes project
http://x-comfromtheashes.tilda.ws/
GNU General Public License v3.0
14 stars 18 forks source link

Armor attachments #233

Open Finnik723 opened 1 year ago

Finnik723 commented 1 year ago

A new item property linked to the new RuleArmorAttachment class, that can be attached and deattached to the armor, altering armor stats. Item has property, that define it attachment slot (helmet, gloves, etc.), armor has list of available attachment slots (up to 3). Inventory state has a new button, that opens a new state with armor attachment slots and items on the ground, that can be placed in that slots. Attaching and deattaching costs TU from attachment item's tuUse property, if no TU left - show error popup.