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-b93c2d0d6712master
							parent
							
								
									fad9c1fdde
								
							
						
					
					
						commit
						a87e534b77
					
				| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
Object booze
 | 
					Object booze
 | 
				
			||||||
face booze.111
 | 
					face booze.111
 | 
				
			||||||
color_fg orange
 | 
					color_fg orange
 | 
				
			||||||
randomitems emptyboozebottle
 | 
					on_use_yield boozebottle_empty
 | 
				
			||||||
food 100
 | 
					food 100
 | 
				
			||||||
nrof 1
 | 
					nrof 1
 | 
				
			||||||
type 54
 | 
					type 54
 | 
				
			||||||
| 
						 | 
					@ -12,5 +12,5 @@ editable 2048
 | 
				
			||||||
identified 1
 | 
					identified 1
 | 
				
			||||||
name_pl boozes
 | 
					name_pl boozes
 | 
				
			||||||
client_type 611
 | 
					client_type 611
 | 
				
			||||||
slaying vial_posion:posion
 | 
					slaying vial_poison:poison
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
Object poison
 | 
					Object poison
 | 
				
			||||||
name booze
 | 
					name booze
 | 
				
			||||||
face booze.111
 | 
					face booze.111
 | 
				
			||||||
randomitems emptyboozebottle
 | 
					on_use_yield boozebottle_empty
 | 
				
			||||||
color_fg orange
 | 
					color_fg orange
 | 
				
			||||||
nrof 1
 | 
					nrof 1
 | 
				
			||||||
type 7
 | 
					type 7
 | 
				
			||||||
| 
						 | 
					@ -19,7 +19,7 @@ end
 | 
				
			||||||
Object wine_poison
 | 
					Object wine_poison
 | 
				
			||||||
name bottle of wine
 | 
					name bottle of wine
 | 
				
			||||||
face wine.111
 | 
					face wine.111
 | 
				
			||||||
randomitems emptywinebottle
 | 
					on_use_yield winebottle_empty
 | 
				
			||||||
color_fg red
 | 
					color_fg red
 | 
				
			||||||
food 75
 | 
					food 75
 | 
				
			||||||
nrof 1
 | 
					nrof 1
 | 
				
			||||||
| 
						 | 
					@ -57,7 +57,7 @@ end
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
Object water_poison
 | 
					Object water_poison
 | 
				
			||||||
face water.111
 | 
					face water.111
 | 
				
			||||||
randomitems emptywaterbottle
 | 
					on_use_yield wbottle_empty
 | 
				
			||||||
color_fg blue
 | 
					color_fg blue
 | 
				
			||||||
food 5
 | 
					food 5
 | 
				
			||||||
nrof 1
 | 
					nrof 1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
Object water
 | 
					Object water
 | 
				
			||||||
face water.111
 | 
					face water.111
 | 
				
			||||||
randomitems emptywaterbottle
 | 
					on_use_yield wbottle_empty
 | 
				
			||||||
color_fg blue
 | 
					color_fg blue
 | 
				
			||||||
food 5
 | 
					food 5
 | 
				
			||||||
nrof 1
 | 
					nrof 1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
Object wine
 | 
					Object wine
 | 
				
			||||||
name bottle of wine
 | 
					name bottle of wine
 | 
				
			||||||
face wine.111
 | 
					face wine.111
 | 
				
			||||||
randomitems emptywinebottle
 | 
					on_use_yield winebottle_empty
 | 
				
			||||||
color_fg red
 | 
					color_fg red
 | 
				
			||||||
food 75
 | 
					food 75
 | 
				
			||||||
nrof 1
 | 
					nrof 1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
					 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,7 @@ material 32
 | 
				
			||||||
value 4
 | 
					value 4
 | 
				
			||||||
weight 150
 | 
					weight 150
 | 
				
			||||||
editable 2048
 | 
					editable 2048
 | 
				
			||||||
randomitems emptyvialbottle
 | 
					on_use_yield vial_empty
 | 
				
			||||||
client_type 611
 | 
					client_type 611
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,7 +26,7 @@ material 32
 | 
				
			||||||
value 4
 | 
					value 4
 | 
				
			||||||
weight 150
 | 
					weight 150
 | 
				
			||||||
editable 2048
 | 
					editable 2048
 | 
				
			||||||
randomitems emptyvialbottle
 | 
					on_use_yield vial_empty
 | 
				
			||||||
client_type 611
 | 
					client_type 611
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,7 +42,7 @@ material 32
 | 
				
			||||||
value 4
 | 
					value 4
 | 
				
			||||||
weight 150
 | 
					weight 150
 | 
				
			||||||
editable 2048
 | 
					editable 2048
 | 
				
			||||||
randomitems emptyvialbottle
 | 
					on_use_yield vial_empty
 | 
				
			||||||
client_type 611
 | 
					client_type 611
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -58,7 +58,7 @@ material 32
 | 
				
			||||||
value 4
 | 
					value 4
 | 
				
			||||||
weight 150
 | 
					weight 150
 | 
				
			||||||
editable 2048
 | 
					editable 2048
 | 
				
			||||||
randomitems emptyvialbottle
 | 
					on_use_yield vial_empty
 | 
				
			||||||
client_type 611
 | 
					client_type 611
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -74,7 +74,7 @@ material 32
 | 
				
			||||||
value 4
 | 
					value 4
 | 
				
			||||||
weight 150
 | 
					weight 150
 | 
				
			||||||
editable 2048
 | 
					editable 2048
 | 
				
			||||||
randomitems emptyvialbottle
 | 
					on_use_yield vial_empty
 | 
				
			||||||
client_type 611
 | 
					client_type 611
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -90,7 +90,7 @@ material 32
 | 
				
			||||||
value 4
 | 
					value 4
 | 
				
			||||||
weight 150
 | 
					weight 150
 | 
				
			||||||
editable 2048
 | 
					editable 2048
 | 
				
			||||||
randomitems emptyvialbottle
 | 
					on_use_yield vial_empty
 | 
				
			||||||
client_type 611
 | 
					client_type 611
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -106,6 +106,6 @@ material 32
 | 
				
			||||||
value 4
 | 
					value 4
 | 
				
			||||||
weight 150
 | 
					weight 150
 | 
				
			||||||
editable 2048
 | 
					editable 2048
 | 
				
			||||||
randomitems emptyvialbottle
 | 
					on_use_yield vial_empty
 | 
				
			||||||
client_type 611
 | 
					client_type 611
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue