An Item class should be created and have methods that are called when destroyed, picked up, dropped etc.
The Item class should be abstract, implement JSONSerialisable, MongoSerialisable, and should have a method that does custom actions when INV_POLL and INV_CLEAR is 'called'
An
Item
class should be created and have methods that are called when destroyed, picked up, dropped etc.The Item class should be abstract, implement JSONSerialisable, MongoSerialisable, and should have a method that does custom actions when
INV_POLL
andINV_CLEAR
is 'called'