I don't get what you are trying then sorry.
Do you want to know where the inventory row's data.slotType is created?
If this is all relevant code where is the "slotIndex" in that code which the lua error messages tells you the type is wrong?
Checking type on argument slotIndex failed in IsSlotLocked_lua
|