Update characters.py

Adds required argument to at_after_move hook for clarity.
This commit is contained in:
Johnny 2016-10-30 15:55:18 -04:00 committed by GitHub
parent 4424dec668
commit 76db10c2c5

View file

@ -18,7 +18,7 @@ class Character(DefaultCharacter):
(important!)sets locks so character cannot be picked up
and its commands only be called by itself, not anyone else.
(to change things, use at_object_creation() instead).
at_after_move - Launches the "look" command after every move.
at_after_move(source_location) - Launches the "look" command after every move.
at_post_unpuppet(player) - when Player disconnects from the Character, we
store the current location in the pre_logout_location Attribute and
move it to a None-location so the "unpuppeted" character