First commit
This commit is contained in:
		@@ -0,0 +1,8 @@
 | 
			
		||||
function onStepIn(creature, item, position, fromPosition)
 | 
			
		||||
	if creature:isPlayer() and creature:getPlayer():getStorageValue(323) == 1 and creature:getPlayer():getItemCount(5021) >= 1 then 
 | 
			
		||||
		doRelocate(item:getPosition(),{x = 32664, y = 32735, z = 06})
 | 
			
		||||
		item:getPosition():sendMagicEffect(11)
 | 
			
		||||
		Game.sendMagicEffect({x = 32664, y = 32735, z = 06}, 11)
 | 
			
		||||
		creature:getPlayer():removeItem(5021, 1)
 | 
			
		||||
	end
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user