mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 11:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			437 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			437 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onStepIn(creature, item, position, fromPosition)
 | |
| 	if creature:isPlayer() then 
 | |
| 		doRelocate(item:getPosition(),{x = 32369, y = 32241, z = 07})
 | |
| 		creature:getPlayer():setTown(Town("Thais"))
 | |
| 		Game.sendMagicEffect({x = 32369, y = 32241, z = 07}, 13)
 | |
| 	end
 | |
| end
 | |
| 
 | |
| function onAddItem(item, tileitem, position)
 | |
| 	doRelocate(item:getPosition(),{x = 32369, y = 32242, z = 06})
 | |
| 	Game.sendMagicEffect({x = 32369, y = 32242, z = 06}, 14)
 | |
| end
 | 
