Make slicing knife a real weapon, will now cut apples with 'use' command.

git-svn-id: svn+ssh://svn.code.sf.net/p/crossfire/code/arch/trunk@6295 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2007-05-14 22:06:03 +00:00
parent 7c0d235e88
commit 356c852e95
3 changed files with 26 additions and 12 deletions

View File

@ -11,5 +11,6 @@ editable 2048
identified 1
name_pl apples
client_type 601
slaying b_slicingknife:2 apple_half
on_use_with_b_slicingknife remove $2 add 2 apple_half
on_use_with_slicingknife remove $2 add 2 apple_half
end

View File

@ -12,7 +12,8 @@ weight 50
editable 2048
identified 1
client_type 601
slaying b_slicingknife:2 apple_fourth
on_use_with_b_slicingknife remove $2 add 2 apple_fourth
on_use_with_slicingknife remove $2 add 2 apple_fourth
end
Object apple_fourth
@ -29,7 +30,8 @@ weight 25
editable 2048
identified 1
client_type 601
slaying b_slicingknife:2 apple_eighth
on_use_with_b_slicingknife remove $2 add 2 apple_eighth
on_use_with_slicingknife remove $2 add 2 apple_eighth
end
Object apple_eighth

View File

@ -1,31 +1,42 @@
Object b_slicingknife
nrof 1
type 163
type 15
body_arm -1
face b_slicingknife.111
material 2
materialname bronze
skill one handed weapon
weight 1000
value 7
editable 1024
magicmap grey
magicmap white
name slicing knife
name_pl slicing knives
client_type 8021
slaying cut
client_type 101
#slaying cut
attacktype 1
weapontype 1
dam 1
last_sp 8
end
Object slicingknife
nrof 1
type 163
type 15
body_arm -1
face slicingknife.111
material 2
skill one handed weapon
weight 1000
value 14
editable 1024
magicmap grey
magicmap white
name slicing knife
name_pl slicing knives
client_type 8021
slaying cut
client_type 101
#slaying cut
attacktype 1
weapontype 1
dam 1
last_sp 8
end