13 lines
		
	
	
		
			437 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			437 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
function onStepIn(creature, item, position, fromPosition)
 | 
						|
	if creature:isPlayer() then 
 | 
						|
		doRelocate(item:getPosition(),{x = 33217, y = 31814, z = 08})
 | 
						|
		creature:getPlayer():setTown(Town("Edron"))
 | 
						|
		Game.sendMagicEffect({x = 33217, y = 31814, z = 08}, 13)
 | 
						|
	end
 | 
						|
end
 | 
						|
 | 
						|
function onAddItem(item, tileitem, position)
 | 
						|
	doRelocate(item:getPosition(),{x = 33210, y = 31806, z = 08})
 | 
						|
	Game.sendMagicEffect({x = 33210, y = 31806, z = 08}, 14)
 | 
						|
end
 |