12 lines
		
	
	
		
			342 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			342 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
function onStepIn(creature, item, position, fromPosition)
 | 
						|
	if creature:isPlayer() and creature:getPlayer():getStorageValue(8) ~= 0 then 
 | 
						|
		Game.sendMagicEffect(item:getPosition(), 15)
 | 
						|
	else
 | 
						|
		Game.sendMagicEffect(item:getPosition(), 14)
 | 
						|
	end
 | 
						|
end
 | 
						|
 | 
						|
function onAddItem(item, tileitem, position)
 | 
						|
	Game.sendMagicEffect(item:getPosition(), 14)
 | 
						|
end
 |