mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 11:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			256 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			256 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onUse(player, item, fromPosition, target, toPosition)
 | |
| 	if player:getStorageValue(287) == 1 then
 | |
| 		player:setStorageValue(287, 2)
 | |
| 		 Game.createItem(3233, 1, player:getPosition())
 | |
| 		 Game.sendMagicEffect(item:getPosition(), 2)
 | |
| 	end
 | |
| 	return true
 | |
| end | 
