mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 11:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			225 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			225 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onAddItem(item, tileitem, position)
 | |
| 	if item:getId() == 2918 or item:getId() == 2917 then
 | |
| 		tileitem:transform(6279, 1)
 | |
| 		item:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN)
 | |
| 		item:remove()
 | |
| 	end
 | |
| 	return true
 | |
| end | 
