mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			333 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			333 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| function onStepIn(creature, item, position, fromPosition)
 | |
| 	if creature:isPlayer() and creature:getPlayer():getStorageValue(8) == 0 then 
 | |
| 		creature:getPlayer():setStorageValue(8, 1)
 | |
| 	end
 | |
| 	Game.sendMagicEffect(item:getPosition(), 15)
 | |
| end
 | |
| 
 | |
| function onAddItem(item, tileitem, position)
 | |
| 	Game.sendMagicEffect(item:getPosition(), 15)
 | |
| end
 | 
