Added an at_obj_receive hook to basic player/object script parents. This allows
e.g. room parents to react when a player enters them.
This commit is contained in:
parent
d06ac3e239
commit
eb6f82fea0
5 changed files with 22 additions and 11 deletions
|
|
@ -99,6 +99,11 @@ class EvenniaBasicPlayer(object):
|
|||
"""
|
||||
pass
|
||||
|
||||
def at_obj_receive(self, object=None):
|
||||
"""
|
||||
Called whenever an object is added to the inventory of the player.
|
||||
"""
|
||||
pass
|
||||
|
||||
def at_disconnect(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue