adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-commits] CVS: wastesedge/scripts/schedules/mapcharacters to_c


From: Kai Sterker <address@hidden>
Subject: [Adonthell-commits] CVS: wastesedge/scripts/schedules/mapcharacters to_cellar.py,1.7,1.8
Date: Sun, 15 Sep 2002 19:52:36 -0400

Update of /cvsroot/adonthell/wastesedge/scripts/schedules/mapcharacters
In directory subversions:/tmp/cvs-serv14591/schedules/mapcharacters

Modified Files:
        to_cellar.py 
Log Message:
FIXED bug of Silverhair not reaching the cellar - this time for real :)


Index: to_cellar.py
===================================================================
RCS file: 
/cvsroot/adonthell/wastesedge/scripts/schedules/mapcharacters/to_cellar.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** to_cellar.py        2 Sep 2002 10:59:50 -0000       1.7
--- to_cellar.py        15 Sep 2002 23:52:33 -0000      1.8
***************
*** 72,75 ****
--- 72,81 ----
              self.myself.time_callback ("1t", self.walk)
  
+     # -- teleport to the next exit
+     def warp (self):
+         x, y, dir = self.exits[self.myself.submap ()]
+         self.myself.jump_to (self.myself.submap (), x, y, dir)
+         self.myself.time_callback ("1t", self.walk)
+ 
      # -- reached Bjarn's room
      def goal_reached (self):
***************
*** 81,83 ****
                          
          else:
!             self.myself.pause ()
--- 87,92 ----
                          
          else:
!             if self.myself.posx () == 1 and self.myself.posy () == 7:
!                 self.walk ()
!             else:
!                 self.myself.pause ()





reply via email to

[Prev in Thread] Current Thread [Next in Thread]