Okay, here's an idea. I want to organize items into something like this:
-Items are divided into 6 classes, namely headgear, r-hand, l-hand, accessory, armor, and footgear, each assigned a specific item slot.
-A unit cannot have more than 1 of each item class in the inventory at a time. Thus, a unit can only have 1 headgear at a time, one or two 1-handed weapons or one 2-handed weapon at a time, one accessory at a time, one armor at a time, and one footgear at a time.
Got any useful trig I could use?
-Items are divided into 6 classes, namely headgear, r-hand, l-hand, accessory, armor, and footgear, each assigned a specific item slot.
-A unit cannot have more than 1 of each item class in the inventory at a time. Thus, a unit can only have 1 headgear at a time, one or two 1-handed weapons or one 2-handed weapon at a time, one accessory at a time, one armor at a time, and one footgear at a time.
Got any useful trig I could use?