23 lines
		
	
	
		
			502 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			502 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
local config = {
 | 
						|
	[16772] = Position(32754, 32365, 15),
 | 
						|
	[16773] = Position(32725, 32381, 15),
 | 
						|
	[16774] = Position(32827, 32241, 12),
 | 
						|
	[50082] = Position(32745, 32394, 14),
 | 
						|
	[50083] = Position(32745, 32394, 14)
 | 
						|
}
 | 
						|
 | 
						|
function onStepIn(creature, item, position, fromPosition)
 | 
						|
	local player = creature:getPlayer()
 | 
						|
	if not player then
 | 
						|
		return true
 | 
						|
	end
 | 
						|
 | 
						|
	local targetPosition = config[item:getMovementId()]
 | 
						|
	if not targetPosition then
 | 
						|
		return true
 | 
						|
	end
 | 
						|
 | 
						|
	player:teleportTo(targetPosition)
 | 
						|
	return true
 | 
						|
end
 |