Use on_use_yield field instead of inventory for item dropping. Remove unused treasure list

git-svn-id: svn+ssh://svn.code.sf.net/p/crossfire/code/trunk/arch@3845 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2005-10-09 08:34:14 +00:00
parent fad9c1fdde
commit a87e534b77
6 changed files with 14 additions and 33 deletions

View File

@ -1,7 +1,7 @@
Object booze
face booze.111
color_fg orange
randomitems emptyboozebottle
on_use_yield boozebottle_empty
food 100
nrof 1
type 54
@ -12,5 +12,5 @@ editable 2048
identified 1
name_pl boozes
client_type 611
slaying vial_posion:posion
slaying vial_poison:poison
end

View File

@ -1,7 +1,7 @@
Object poison
name booze
face booze.111
randomitems emptyboozebottle
on_use_yield boozebottle_empty
color_fg orange
nrof 1
type 7
@ -19,7 +19,7 @@ end
Object wine_poison
name bottle of wine
face wine.111
randomitems emptywinebottle
on_use_yield winebottle_empty
color_fg red
food 75
nrof 1
@ -57,7 +57,7 @@ end
#
Object water_poison
face water.111
randomitems emptywaterbottle
on_use_yield wbottle_empty
color_fg blue
food 5
nrof 1

View File

@ -1,6 +1,6 @@
Object water
face water.111
randomitems emptywaterbottle
on_use_yield wbottle_empty
color_fg blue
food 5
nrof 1

View File

@ -1,7 +1,7 @@
Object wine
name bottle of wine
face wine.111
randomitems emptywinebottle
on_use_yield winebottle_empty
color_fg red
food 75
nrof 1

View File

@ -1,19 +0,0 @@
treasure emptywaterbottle
arch wbottle_empty
end
#
treasure emptypotionbottle
arch potion_empty
end
#
treasure emptyvialbottle
arch vial_empty
end
#
treasure emptywinebottle
arch winebottle_empty
end
#
treasure emptyboozebottle
arch boozebottle_empty
end

View File

@ -10,7 +10,7 @@ material 32
value 4
weight 150
editable 2048
randomitems emptyvialbottle
on_use_yield vial_empty
client_type 611
end
@ -26,7 +26,7 @@ material 32
value 4
weight 150
editable 2048
randomitems emptyvialbottle
on_use_yield vial_empty
client_type 611
end
@ -42,7 +42,7 @@ material 32
value 4
weight 150
editable 2048
randomitems emptyvialbottle
on_use_yield vial_empty
client_type 611
end
@ -58,7 +58,7 @@ material 32
value 4
weight 150
editable 2048
randomitems emptyvialbottle
on_use_yield vial_empty
client_type 611
end
@ -74,7 +74,7 @@ material 32
value 4
weight 150
editable 2048
randomitems emptyvialbottle
on_use_yield vial_empty
client_type 611
end
@ -90,7 +90,7 @@ material 32
value 4
weight 150
editable 2048
randomitems emptyvialbottle
on_use_yield vial_empty
client_type 611
end
@ -106,6 +106,6 @@ material 32
value 4
weight 150
editable 2048
randomitems emptyvialbottle
on_use_yield vial_empty
client_type 611
end