mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 11:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			408 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			408 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onUse(player, item, fromPosition, target, toPosition)
 | |
| 	if item:getId() == 2772 then 
 | |
| 		Game.transformItemOnMap({x = 32313, y = 31928, z = 08}, 2772, 2773)
 | |
| 		Game.sendMagicEffect({x = 32314, y = 31928, z = 08}, 12)
 | |
| 	elseif item:getId() == 2773 then 
 | |
| 		Game.transformItemOnMap({x = 32313, y = 31928, z = 08}, 2773, 2772)
 | |
| 		Game.sendMagicEffect({x = 32314, y = 31928, z = 08}, 12)
 | |
| 	end
 | |
| 	return true
 | |
| end | 
