Reworked tutorial world objects, starting with mob.
This commit is contained in:
parent
0029232ab0
commit
32fd9d2a4d
3 changed files with 386 additions and 296 deletions
|
|
@ -41,6 +41,9 @@ class Mob(tut_objects.TutorialObject):
|
|||
self.db.last_location = None
|
||||
# only when True will the mob move.
|
||||
self.db.roam_mode = True
|
||||
#
|
||||
self.db.move_from
|
||||
self.location.msg_contents("With a cold breeze, %s drifts in the direction of %s." % (self.key, destination.key))
|
||||
|
||||
def announce_move_from(self, destination):
|
||||
"Called just before moving"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue