Author Topic: TotalRPG is not allowing keys and items to work together.  (Read 122 times)

OnSufficientItem checks for both items and keys.

Works great individually but when you decide to use both keys and items in one event, it doesn't work.

If you want an event to check for multiple items you would have to use the "OnItemsMoreThan" event. The problem is this event does not work for keys, no matter what value I set for a key it does not work, 0, 1, 10, -99, etc.


As you can see the house deed is not in my key slot so I should not be able to activate this event.



Now you have this event line which spams an infinite loop and puts my items into the negatives.



So now we are going to try the same event as above but instead of keyitem we will use skill. And it works perfectly.


And then we have this event line which is putting my items into the negatives without an infinite loop. But if I changed key to skill it would work fine.




OnSufficientItem is confusing keys and items.

So pecon said that she is going to check the script for me.

I just wasn't sure if I was doing something wrong or not.