mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			386 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			386 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onUse(player, item, fromPosition, target, toPosition)
 | |
| 	if item:getId() == 2774 and Game.isItemThere({x = 33151, y = 32866, z = 08},1345) then 
 | |
| 		Game.removeItemOnMap({x = 33151, y = 32866, z = 08}, 1345)
 | |
| 		Game.sendMagicEffect({x = 33151, y = 32862, z = 07}, 14)
 | |
| 	elseif item:getId() == 2774 then 
 | |
| 		Game.sendMagicEffect({x = 33151, y = 32862, z = 07}, 3)
 | |
| 	end
 | |
| 	return true
 | |
| end | 
