Update of /cvsroot/wpdev/xmlscripts/scripts/skills
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12383/skills
Modified Files:
animaltaming.py poisoning.py tasteid.py
Log Message:
Changed all references to "events" to "scripts"
Index: animaltaming.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/animaltaming.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** animaltaming.py 16 Jul 2004 07:09:27 -0000 1.16
--- animaltaming.py 25 Aug 2004 17:03:05 -0000 1.17
***************
*** 180,184 ****
totame.settag( 'num_tamed', num_tamed )
# remove "Tame" context menu
! totame.addevent('speech.pets')
# success msg : 502799
--- 180,184 ----
totame.settag( 'num_tamed', num_tamed )
# remove "Tame" context menu
! totame.addscript('speech.pets')
# success msg : 502799
Index: poisoning.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/poisoning.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** poisoning.py 24 Aug 2004 18:10:29 -0000 1.4
--- poisoning.py 25 Aug 2004 17:03:06 -0000 1.5
***************
*** 62,66 ****
char.socket.clilocmessage( 502145 )
return
! if not ( target.item.hasevent( 'food' ) or target.item.hasevent( 'blades' ) ):
char.socket.clilocmessage( 502145 )
return
--- 62,66 ----
char.socket.clilocmessage( 502145 )
return
! if not ( target.item.hasscript( 'food' ) or target.item.hasscript( 'blades' ) ):
char.socket.clilocmessage( 502145 )
return
***************
*** 122,126 ****
# weapon : poison chance when hit % = char.skill[ POISONING ] / 4
# number of uses before the poison wears off
! if item.hasevent( 'blades' ):
item.settag( 'poisoning_uses', 20 - strength * 2 )
return 1
--- 122,126 ----
# weapon : poison chance when hit % = char.skill[ POISONING ] / 4
# number of uses before the poison wears off
! if item.hasscript( 'blades' ):
item.settag( 'poisoning_uses', 20 - strength * 2 )
return 1
Index: tasteid.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/tasteid.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** tasteid.py 24 Aug 2004 18:10:29 -0000 1.10
--- tasteid.py 25 Aug 2004 17:03:06 -0000 1.11
***************
*** 38,42 ****
return
! if not target.item.hasevent( 'food' ):
socket.clilocmessage(502820)
else:
--- 38,42 ----
return
! if not target.item.hasscript( 'food' ):
socket.clilocmessage(502820)
else:
|