I am looking to disable my equipment slots if inventory reaches a certain max limit. So, if my inventory reach 30/30, then it would disable my equipment slots on my actors. Okay, I have implemented this. But, I would still like the ability for the user to be able to equip in a slot that is "nil = nothing". But, once they equip the item in that slot, it will disable until the item inventory is below the max limit (Ex 29/30). So, this creates a.. I can add items in my equipment slot, but cannot remove until inventory is under max limit.
I already have the logic for the item inventory limit, but I just need the logic to disable the equip slot if an item is in the slot. My current logic attempt disables all slots if one of the slots meets the condition, which I only want it to disable that specific slot.
*I am using the default VX Ace "Window_EquipSlot" script.