Unity RPG Offhand/Shield equipment slot (W/ added Dual Wielding)

,

Thank you for your question, I know here in this thread we kinda cheese the equipment system to get the results to appear as a “dual-wield” system. Thankfully I address this in my tutorial for the turn-based game course, which is an attempt to integrate the inventory system from the RPG series here.

I essentially create another EquipLocation in the EquipableItem.cs and then slightly reconfigure the MaxAcceptable() method in the EquipmentSlotUI.cs so that if the slot doesn’t accept the first EquipLocation then it will check for the second Equiplocation and equip the item. So for the Dual wielding, you just need to make a left & right weapon slot location. You will probably need to do the same for the ring slots.

Hope this helps!

1 Like