mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			351 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			351 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onUse(player, item, fromPosition, target, toPosition)
 | |
| 	if Game.isItemThere({x = 33211, y = 32698, z = 13}, 1306) then
 | |
| 		Game.removeItemOnMap({x = 33211, y = 32698, z = 13}, 1306)
 | |
| 	else
 | |
| 		doRelocate({x = 33211, y = 32698, z = 13}, {x = 33211, y = 32697, z = 13})
 | |
| 		Game.createItem(1306, 1, {x = 33211, y = 32698, z = 13})
 | |
| 	end
 | |
| 	return true
 | |
| end | 
