First commit
This commit is contained in:
		@@ -0,0 +1,13 @@
 | 
			
		||||
function onStepIn(creature, item, position, fromPosition)
 | 
			
		||||
	if creature:isPlayer() and creature:getPlayer():isKnight() and Game.isItemThere({x = 32673, y = 32094, z = 08}, 3264) then 
 | 
			
		||||
		item:transform(430, 1)
 | 
			
		||||
		item:decay()
 | 
			
		||||
	end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
function onStepOut(creature, item, position, fromPosition)
 | 
			
		||||
	if creature:isPlayer() then 
 | 
			
		||||
		item:transform(431, 1)
 | 
			
		||||
		item:decay()
 | 
			
		||||
	end
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user