mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			310 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			310 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onUse(player, item, fromPosition, target, toPosition, isHotkey)
 | |
| 
 | |
| 	item:transform(item.itemid == 2772 and 2773 or 2772)
 | |
| 
 | |
| 	if item.itemid ~= 2772 then
 | |
| 		return true
 | |
| 	end
 | |
| 
 | |
| 	local stoneItem = Tile(Position(32826, 32274, 11)):getItemById(1772)
 | |
| 	if stoneItem then
 | |
| 		stoneItem:remove()
 | |
| 	end
 | |
| 	return true
 | |
| end
 | 
