[wpdev-commits] xmlscripts/scripts door.py,1.1,1.2
Brought to you by:
rip,
thiagocorrea
|
From: <dar...@us...> - 2003-09-13 15:29:19
|
Update of /cvsroot/wpdev/xmlscripts/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv18688 Modified Files: door.py Log Message: Staff can always open doors. Index: door.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/door.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** door.py 23 Aug 2003 15:21:31 -0000 1.1 --- door.py 13 Sep 2003 15:29:16 -0000 1.2 *************** *** 291,300 **** # In Range? ! if not char.canreach( item, 2 ): char.message( "You cannot reach the handle from here." ) return 1 # The Door has no lock ! if not item.hastag( 'lock' ): return opendoor( char, item ) --- 291,300 ---- # In Range? ! if not char.gm and not char.canreach( item, 2 ): char.message( "You cannot reach the handle from here." ) return 1 # The Door has no lock ! if not item.hastag( 'lock' ) or char.gm: return opendoor( char, item ) |