- 143
- Posts
- 11
- Years
- Seen Jun 11, 2021
I'm trying to make a key item with common events. Whenever I try to use it, it just says "Can't use that here."
This is what the code for the item looks like. I'm not sure what I did wrong.
Code:
ItemHandlers::UseFromBag.add(:TESTITEM,proc{|item| next 2})
ItemHandlers::UseInField.add(:TESTITEM,proc{|item|
pbCommonEvent(5)
))
This is what the code for the item looks like. I'm not sure what I did wrong.