tomekbielaszewski / MUD-Engine

GNU General Public License v3.0
2 stars 0 forks source link

Allow to define onDrop/onPickup and beforeDrop/beforePickup events for items #148

Open tomekbielaszewski opened 7 years ago

tomekbielaszewski commented 7 years ago

As it is drop/pickup event then it is related only to players equipment. So whole event logic should be inside EquipmentService. It should not be placed in LocationService as this service can have nothing to do with picking up or dropping down items

tomekbielaszewski commented 7 years ago

As event is related more to receiving item in general rather than picking it up - so the events will be called: onReceive/beforeReceive. Dropping is an antonym for receiving so it stays the same as described earlier