mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			440 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			440 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onStepIn(creature, item, position, fromPosition)
 | |
| 	if creature:isPlayer() then 
 | |
| 		doRelocate(item:getPosition(),{x = 33213, y = 32454, z = 01})
 | |
| 		creature:getPlayer():setTown(Town("Darashia"))
 | |
| 		Game.sendMagicEffect({x = 33213, y = 32454, z = 01}, 13)
 | |
| 	end
 | |
| end
 | |
| 
 | |
| function onAddItem(item, tileitem, position)
 | |
| 	doRelocate(item:getPosition(),{x = 33212, y = 32455, z = 02})
 | |
| 	Game.sendMagicEffect({x = 33212, y = 32455, z = 02}, 14)
 | |
| end
 | 
