17 lines
		
	
	
		
			472 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			472 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
function onStepIn(creature, item, position, fromPosition)
 | 
						|
	if creature:isPlayer() then 
 | 
						|
		item:transform(430, 1)
 | 
						|
		item:decay()
 | 
						|
		Game.removeItemOnMap({x = 32692, y = 32102, z = 10}, 1281)
 | 
						|
	end
 | 
						|
end
 | 
						|
 | 
						|
function onStepOut(creature, item, position, fromPosition)
 | 
						|
	if creature:isPlayer() then 
 | 
						|
		item:transform(431, 1)
 | 
						|
		item:decay()
 | 
						|
		doRelocate({x = 32692, y = 32102, z = 10},{x = 32691, y = 32102, z = 10})
 | 
						|
		Game.createItem(1281, 1, {x = 32692, y = 32102, z = 10})
 | 
						|
	end
 | 
						|
end
 |