[wpdev-commits] xmlscripts/scripts/commands addtree.py,1.11,1.12
Brought to you by:
rip,
thiagocorrea
From: Richard M. <dr...@us...> - 2004-08-15 01:39:30
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23405/commands Modified Files: addtree.py Log Message: Fixed jungles/yew Index: addtree.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/addtree.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** addtree.py 14 Aug 2004 19:00:35 -0000 1.11 --- addtree.py 15 Aug 2004 01:39:22 -0000 1.12 *************** *** 221,225 **** def createyewtree( player, arguments, target): - # Tree yew1 = wolfpack.additem( '12b6' ) --- 221,224 ---- *************** *** 330,334 **** elif item == 'yew': socket.sysmessage( "Where do you want to place the yew tree?" ) ! socket.attachitemtarget( 'commands.addtree.createyewtree', yewindex, 0, 0, 0, [] ) return elif item in logindex: #added by Jim 20040814 --- 329,333 ---- elif item == 'yew': socket.sysmessage( "Where do you want to place the yew tree?" ) ! socket.attachtarget( 'commands.addtree.createyewtree', [] ) return elif item in logindex: #added by Jim 20040814 *************** *** 340,344 **** socket.sysmessage( "Where do you want to place the tree '%s', '%s' ?" % ( trees[item][TREE], trees[item][LEAVES]) ) socket.attachtarget( 'commands.addtree.createtree', [ item ] ) ! elif item in jungletreeindex and item in jungleindex: socket.sysmessage( "Where do you want to place the jungle tree [%s]?" %( item ) ) socket.attachtarget( 'commands.addtree.createjungletree', [ item ] ) --- 339,343 ---- socket.sysmessage( "Where do you want to place the tree '%s', '%s' ?" % ( trees[item][TREE], trees[item][LEAVES]) ) socket.attachtarget( 'commands.addtree.createtree', [ item ] ) ! elif item in jungletreeindex: socket.sysmessage( "Where do you want to place the jungle tree [%s]?" %( item ) ) socket.attachtarget( 'commands.addtree.createjungletree', [ item ] ) |