local sacrifice = Position(33021, 32419, 11)
local sacrifice2 = Position(33015, 32422, 11)

function onStepIn(creature, item, position, fromPosition)
	local player = creature:getPlayer()
	if not player then
		return true
	end

	if item.actionid == 4541 and player:getStorageValue(Storage.GravediggerOfDrefia.Mission72) == 1 then
		player:teleportTo(sacrifice2)
	else
		player:teleportTo(sacrifice)
	end

	player:getPosition():sendMagicEffect(CONST_ME_POFF)
	return true
end
