• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Firewalker Boots quest

Zoom Iker

*- Dreaming -*
Joined
Sep 11, 2010
Messages
440
Reaction score
27
Location
Sweden
Hello folks.

I need help with a quest thats from real tibia. Its a quest that you need to talk with NPC called Pythius the Rotten that give you a storage so you can use the pick on the stone.
After that you used pick on stone will the stone remove and be a teleport that can teleport you to the the area and the monster will summon that called Pythius the Rotten after you killed the monster should the corpse be teleport that player will enter for the reward room. The teleport will have 1 min before it removes!

If the player die in the area should the monster remove.

Thanks for your support!

Yours,
Zoom Iker
 
Ok, made Npc, check if it works

Pythius the Rotten.xml
XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Pythius the Rotten" script="data/npc/scripts/pythius.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="EDIT TO UND DRAG LOOKTYPE!" head="0" body="0" legs="0" feet="0" addons="0"/>
        <parameters>
                <parameter key="message_greet" value="I AWAITED YOU!"/>
                <parameter key="message_farewell" value="GOOD BYE |PLAYERNAME|."/>
 
    </parameters>
 
</npc>

pythius.lua


Lua:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local Topic = {}
 
function onCreatureAppear(cid)				npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid)			npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)			npcHandler:onCreatureSay(cid, type, msg) end
function onThink()					npcHandler:onThink() end
 
function doNPCTalkALot(msgs,interval,pcid)
	local e={}
	local ret={}
	interval = interval or 10000
	for aux = 1, #msgs do
		e[aux]={}
		doCreatureSayWithDelay(getNpcCid(),msgs[aux],TALKTYPE_PRIVATE_NP,(aux-1)*interval,e[aux],pcid)
		table.insert(ret,e[aux])
	end
	return ret
end

function doCreatureSayWithDelay(cid,text,type,delay,e)
	if delay <= 0 then
		doCreatureSay(cid,text,type)
	else
		local func=function(pars)
			doCreatureSay(pars.cid,pars.text,pars.type)
			pars.e.done=true
		end
		e.done=false
		e.event=addEvent(func,delay,{cid=cid, text=text, type=type, e=e})
	end
end
 
function creatureSayCallback(cid, type, msg)
if (msgcontains(msg, 'mission')) then
   npcHandler:say('I HAVE A MISSION FOR YOU BUT YOU NEED TO DIE FIRST AND RETURN AS AN UNDEAD CREATURE. COME BACK TO ME WHEN YOU ACHIEVED THIS GOAL.', cid)
                          Topic[cid] = 1
elseif msgcontains(msg, 'undead') and Topic[cid] == 1 then
       npcHandler:say('BOON AND BANE. I HAVE CHOSEN THIS LIFE VOLUNTARILLY AND I NEVER REGRET IT. MY TREASURE IS GROWING BIGGER EACH DAY.', cid)
                            Topic[cid] = 2
elseif msgcontains(msg, 'treasure') and Topic[cid] == 2 then
       npcHandler:say('LIKE MY TREASURE? WANNA PICK SOMETHING OUT OF IT?', cid)
                            Topic[cid] = 3
elseif msgcontains(msg, 'yes') and Topic[cid] == 3 then
       doNPCTalkALot({"HAHAHA, WHO WOULD SAY SOMETHING ELSE?....BUT....NOTHING'S FOR FREE AND SO WASN'T THE TREASURE BEHIND ME. ...", "BRING ME SOMETHING VALUABLE IN EXCHANGE. SOMETHING YOU THINK I'D LIKE AND THEN.....HAHAHAHA......WE CAN CONTINUE OUR SMALL CONVERSATION. ...","EVERYTHING YOU CARRY WITH YOU CAN ALSO BE FOUND IN MY TREASURE. BRING ME SOMETHING I DON'T OWN!!!.."}, 10000, cid)
                               Topic[cid] = 4
elseif msgcontains(msg, 'no') and Topic[cid] == 3 then
       npcHandler:say('HAHA I THINK YOU ARE REALLY SCARED!', cid)
                            Topic[cid] = 0
elseif msgcontains(msg, 'offer') and Topic[cid] == 4 then
       npcHandler:say('I GRANT YOU ACCESS TO THE DUNGEON IN THE NORTH. YOU\'LL FIND SOME OF MY LIVING BROTHERS THERE....BUT.....EVERY TIME YOU WANT TO ENTER YOU HAVE TO GIVE ME SOMETHING PRECIOUS. ALRIGHT?', cid)
                         Topic[cid] = 5
elseif msgcontains(msg, 'yes') and Topic[cid] == 5 then
       npcHandler:say('AS YOU WISH. WHAT DO YOU HAVE TO OFFER?', cid)
                          Topic[cid] = 6
elseif msgcontains(msg, 'no') and Topic[cid] == 5 then
       npcHandler:say('THEN LEAVE HUMAN!', cid)
                            Topic[cid] = 0
elseif msgcontains(msg, 'golden mug') and Topic[cid] == 6 then
       npcHandler:say('I LIKE THAT AND GRANT YOU ACCESS TO THE DUNGEON IN THE NORTH FOR THE NEXT FEW MINUTES. COME BACK ANYTIME AND BRING ME MORE TREASURES.', cid)
       doPlayerRemoveItem(cid, 2033, 1)
        doCreateTeleport(1387, {x=EDIT, y=EDIT, z=EDIT}, {x=EDIT, y=EDIT, z=EDIT}) ---- EDIT (first pos == where tp will tp player(second pos == where tp will be created))
       setPlayerStorageValue(cid,12323,1) --- EDIT to your storage and for next part...
                                          end
       return true
end

npcHandler:setCallback(CALLBACK_GREET, greetCallback)
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())
 
Last edited:
I can't try it now tommrow, thank you for the npc anyway.

Here my pick.
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if(itemEx.uid <= 65535 or itemEx.actionid > 0) and (itemEx.itemid == 354 or itemEx.itemid == 355) then
		doTransformItem(itemEx.uid, 392)
		doDecayItem(itemEx.uid)
		return TRUE
	end
	 local newPosition = {x=32566, y=31338, z=10}
	 if(itemEx.uid == 53118) and (itemEx.itemid == 6299) then
                doTeleportThing(cid, newPosition, TRUE)
                doSendMagicEffect(newPosition, CONST_ME_TELEPORT)
                doSendMagicEffect(fromPosition, CONST_ME_POFF)
        return TRUE
		end
	if(itemEx.uid == 65532) and (itemEx.itemid == 1304) then
		
		local newPosition = {x=32566, y=31338, z=10}
		local tilepos = {x=32808, y=32336, z=11, stackpos=0}
		local tilepos2 = {x=32809, y=32336, z=11, stackpos=0}
		local tilepos3 = {x=32810, y=32336, z=11, stackpos=0}
		local tilepos4 = {x=32808, y=32334, z=11, stackpos=0}
		local tilepos5 = {x=32807, y=32334, z=11, stackpos=0}
		local tilepos6 = {x=32807, y=32335, z=11, stackpos=0}
		local tilepos7 = {x=32807, y=32336, z=11, stackpos=0}
		local tilepos8 = {x=32807, y=32337, z=11, stackpos=0}
		local tilepos9 = {x=32806, y=32337, z=11, stackpos=0}
		local tilepos10 = {x=32805, y=32337, z=11, stackpos=0}
		local tilepos11 = {x=32805, y=32338, z=11, stackpos=0}
		local tilepos12 = {x=32805, y=32339, z=11, stackpos=0}
		local tilepos13 = {x=32806, y=32339, z=11, stackpos=0}
		local tilepos14 = {x=32806, y=32338, z=11, stackpos=0}
		local tilepos15 = {x=32807, y=32338, z=11, stackpos=0}
		local tilepos16 = {x=32808, y=32338, z=11, stackpos=0}
		local tilepos17 = {x=32808, y=32337, z=11, stackpos=0}
		local tilepos18 = {x=32809, y=32337, z=11, stackpos=0}
		local tilepos19 = {x=32810, y=32337, z=11, stackpos=0}
		local tilepos20 = {x=32811, y=32337, z=11, stackpos=0}
		local tilepos21 = {x=32811, y=32338, z=11, stackpos=0}
		local tilepos22 = {x=32806, y=32338, z=11, stackpos=0}
		local tilepos23 = {x=32810, y=32338, z=11, stackpos=0}
		local tilepos24 = {x=32810, y=32339, z=11, stackpos=0}
		local tilepos25 = {x=32809, y=32339, z=11, stackpos=0}
		local tilepos26 = {x=32809, y=32338, z=11, stackpos=0}
		local tilepos27 = {x=32811, y=32336, z=11, stackpos=0}
		local tilepos28 = {x=32811, y=32335, z=11, stackpos=0}
		local tilepos29 = {x=32810, y=32335, z=11, stackpos=0}
		local tilepos30 = {x=32809, y=32335, z=11, stackpos=0}
		local tilepos31 = {x=32808, y=32335, z=11, stackpos=0}
		local tilepos32 = {x=32809, y=32334, z=11, stackpos=0}
		local tilepos33 = {x=32809, y=32333, z=11, stackpos=0}
		local tilepos34 = {x=32810, y=32333, z=11, stackpos=0}
		local tilepos35 = {x=32811, y=32333, z=11, stackpos=0}
		local tilepos36 = {x=32806, y=32338, z=11, stackpos=0}
		local tilepos37 = {x=32810, y=32334, z=11, stackpos=0}
		local tilepos38 = {x=32811, y=32334, z=11, stackpos=0}
		local tilepos39 = {x=32812, y=32334, z=11, stackpos=0}
		local tilepos40 = {x=32813, y=32334, z=11, stackpos=0}
		local tilepos41 = {x=32814, y=32334, z=11, stackpos=0}
		local tilepos42 = {x=32812, y=32333, z=11, stackpos=0}
		local tilepos43 = {x=32810, y=32334, z=11, stackpos=0}
		local tilepos45 = {x=32812, y=32335, z=11, stackpos=0}
		local tilepos46 = {x=32813, y=32335, z=11, stackpos=0}
		local tilepos47 = {x=32814, y=32335, z=11, stackpos=0}
		local tilepos48 = {x=32814, y=32333, z=11, stackpos=0}
		local tilepos49 = {x=32813, y=32333, z=11, stackpos=0}
		
		
		
		
		
		
		local tile4 = getThingfromPos(tilepos4)
		local tile = getThingfromPos(tilepos)
		local tile2 = getThingfromPos(tilepos2)
		local tile3 = getThingfromPos(tilepos3)
		local tile5 = getThingfromPos(tilepos5)
		local tile6 = getThingfromPos(tilepos6)
		local tile7 = getThingfromPos(tilepos7)
		local tile8 = getThingfromPos(tilepos8)
		local tile9 = getThingfromPos(tilepos9)
		local tile10 = getThingfromPos(tilepos10)
		local tile11 = getThingfromPos(tilepos11)
		local tile12 = getThingfromPos(tilepos12)
		local tile13 = getThingfromPos(tilepos13)
		local tile14 = getThingfromPos(tilepos14)
		local tile15 = getThingfromPos(tilepos15)
		local tile16 = getThingfromPos(tilepos16)
		local tile17 = getThingfromPos(tilepos17)
		local tile18 = getThingfromPos(tilepos18)
		local tile19 = getThingfromPos(tilepos19)
		local tile20 = getThingfromPos(tilepos20)
		local tile21 = getThingfromPos(tilepos21)
		local tile22 = getThingfromPos(tilepos22)
		local tile23 = getThingfromPos(tilepos23)
		local tile24 = getThingfromPos(tilepos24)
		local tile25 = getThingfromPos(tilepos25)
		local tile26 = getThingfromPos(tilepos26)
		local tile27 = getThingfromPos(tilepos27)
		local tile28 = getThingfromPos(tilepos28)
		local tile29 = getThingfromPos(tilepos29)
		local tile30 = getThingfromPos(tilepos30)
		local tile31 = getThingfromPos(tilepos31)
		local tile32 = getThingfromPos(tilepos32)
		local tile33 = getThingfromPos(tilepos33)
		local tile34 = getThingfromPos(tilepos34)
		local tile35 = getThingfromPos(tilepos35)
		local tile36 = getThingfromPos(tilepos36)
		local tile37 = getThingfromPos(tilepos37)
		local tile38 = getThingfromPos(tilepos38)
		local tile39 = getThingfromPos(tilepos39)
		local tile40 = getThingfromPos(tilepos40)
		local tile41 = getThingfromPos(tilepos41)
		local tile42 = getThingfromPos(tilepos42)
		local tile43 = getThingfromPos(tilepos43)
		local tile45 = getThingfromPos(tilepos45)
		local tile46 = getThingfromPos(tilepos46)
		local tile47 = getThingfromPos(tilepos47)
		local tile48 = getThingfromPos(tilepos48)
		local tile49 = getThingfromPos(tilepos49)
		
		
		
		doSendMagicEffect(tilepos4,9)
		doCreateItem(5815,1,tilepos5)
		doCreateItem(5815,1,tilepos6)
		doCreateItem(5815,1,tilepos4)
		doCreateItem(5815,1,tilepos)
		doCreateItem(5815,1,tilepos2)
		doCreateItem(5815,1,tilepos3)
		doCreateItem(5815,1,tilepos7)
		doCreateItem(5815,1,tilepos8)
		doCreateItem(5815,1,tilepos9)
		doCreateItem(5815,1,tilepos10)
		doCreateItem(5815,1,tilepos11)
		doCreateItem(5815,1,tilepos12)
		doCreateItem(5815,1,tilepos13)
		doCreateItem(5815,1,tilepos14)
		doCreateItem(5815,1,tilepos15)
		doCreateItem(5815,1,tilepos16)
		doCreateItem(5815,1,tilepos17)
		doCreateItem(5815,1,tilepos18)
		doCreateItem(5815,1,tilepos19)
		doCreateItem(5815,1,tilepos20)
		doCreateItem(5815,1,tilepos21)
		doCreateItem(5815,1,tilepos22)
		doCreateItem(5815,1,tilepos23)
		doCreateItem(5815,1,tilepos24)
		doCreateItem(5815,1,tilepos25)
		doCreateItem(5815,1,tilepos26)
		doCreateItem(5815,1,tilepos27)
		doCreateItem(5815,1,tilepos28)
		doCreateItem(5815,1,tilepos29)
		doCreateItem(5815,1,tilepos30)
		doCreateItem(5815,1,tilepos31)
		doCreateItem(5815,1,tilepos32)
		doCreateItem(5815,1,tilepos33)
		doCreateItem(5815,1,tilepos34)
		doCreateItem(5815,1,tilepos35)
		doCreateItem(5815,1,tilepos36)
		doCreateItem(5815,1,tilepos37)
		doCreateItem(5815,1,tilepos38)
		doCreateItem(5815,1,tilepos39)
		doCreateItem(5815,1,tilepos40)
		doCreateItem(5815,1,tilepos41)
		doCreateItem(5815,1,tilepos42)
		doCreateItem(5815,1,tilepos43)
		doCreateItem(5815,1,tilepos45)
		doCreateItem(5815,1,tilepos46)
		doCreateItem(5815,1,tilepos47)
		doCreateItem(5815,1,tilepos48)
		doCreateItem(5815,1,tilepos49)
		doTransformItem(itemEx.uid, 2256)
		
		
		
		return TRUE
	end
	
local function createWall(p)

local kurwos = doCreateItem(1304,1,{x=32551, y=31379, z=15})
doItemSetAttribute(kurwos, "aid", 15106)

end
	 if(itemEx.actionid == 15106) and (itemEx.itemid == 1304) then
	local tilepos = {x=32551, y=31376, z=15}
	local tileposs1 = {x=32551, y=31379, z=15}
	local tileposs2 = {x=32551, y=31378, z=15}
	local tileposs3 = {x=32551, y=31377, z=15}
	local tileposs4 = {x=32551, y=31376, z=15}
	local tileposs5 = {x=32551, y=31375, z=15}
	local tileposs6 = {x=32551, y=31374, z=15}
doSendMagicEffect(tileposs1,2)
doSendMagicEffect(tileposs2,2)
doSendMagicEffect(tileposs3,2)
doSendMagicEffect(tileposs4,2)
doSendMagicEffect(tileposs5,2)
doSendMagicEffect(tileposs6,2)
local tile = getThingfromPos(tilepos)
	wall1 = {x=32551, y=31379, z=15, stackpos=1}
	getwall1 = getThingfromPos(wall1)
				doTransformItem(itemEx.uid, 0)
				local golas = doCreateItem(1387,1,tilepos)
		doItemSetAttribute(golas, "aid", 15185)
		p = {wallid = getwall1.itemid}
	addEvent(createWall, 900*1000, p)
        return TRUE
		end

	if(itemEx.itemid == 7200) then
		doTransformItem(itemEx.uid, 7236)
		doSendMagicEffect(toPosition, CONST_ME_BLOCKHIT)
		return TRUE
	end
	return FALSE
	end
 
The npc:
Lua:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
local storage= 14201

function onCreatureAppear(cid)			npcHandler:onCreatureAppear(cid)			end
function onCreatureDisappear(cid)			npcHandler:onCreatureDisappear(cid)			end
function onCreatureSay(cid, type, msg)		npcHandler:onCreatureSay(cid, type, msg)		end
function onThink()					npcHandler:onThink()					end

function creatureSayCallback(cid, type, msg)
	if(not npcHandler:isFocused(cid)) then
		return false
	end

	local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid

	if (msgcontains(msg, "mission")) then
		if (getPlayerLevel(cid) >= 100) then
			if (getPlayerStorageValue(cid, storage) == EMPTY_STORAGE) then
				selfSay("I HAVE A MISSION FOR YOU BUT YOU NEED TO DIE FIRST AND RETURN AS AN UNDEAD CREATURE. COME BACK TO ME WHEN YOU ACHIEVED THIS GOAL.!", cid)
				talkState[talkUser] = 1
			else
				selfSay("I already gave you access.", cid)
			end
		else
			selfSay("Your level is too low! Come back when ready.", cid)
		end
	elseif (msgcontains(msg, "undead") and talkState[talkUser] == 1) then
		selfSay("BOON AND BANE. I HAVE CHOSEN THIS LIFE VOLUNTARILLY AND I NEVER REGRET IT. MY TREASURE IS GROWING BIGGER EACH DAY.", cid)
		talkState[talkUser] = 2
	elseif (msgcontains(msg, "treasure") and talkState[talkUser] == 2) then
		selfSay("LIKE MY TREASURE? WANNA PICK SOMETHING OUT OF IT?.", cid)
		talkState[talkUser] = 3
	elseif (msgcontains(msg, "yes") and talkState[talkUser] == 3) then
		selfSay("HAHAHA, WHO WOULD SAY SOMETHING ELSE?....BUT....NOTHING'S FOR FREE AND SO WASN'T THE TREASURE BEHIND ME. ...", cid)
		selfSay("BRING ME SOMETHING VALUABLE IN EXCHANGE. SOMETHING YOU THINK I'D LIKE AND THEN.....HAHAHAHA......WE CAN CONTINUE OUR SMALL CONVERSATION.", cid)
		selfSay("EVERYTHING YOU CARRY WITH YOU CAN ALSO BE FOUND IN MY TREASURE. BRING ME SOMETHING I DON'T OWN!!!", cid)
		talkState[talkUser] = 4
	elseif (msgcontains(msg, "offer") and talkState[talkUser] == 4) then
		selfSay("I GRANT YOU ACCESS TO THE DUNGEON IN THE NORTH. YOU'LL FIND SOME OF MY LIVING BROTHERS THERE....BUT.....EVERY TIME YOU WANT TO ENTER YOU HAVE TO GIVE ME SOMETHING PRECIOUS. ALRIGHT?", cid)
		talkState[talkUser] = 5
	elseif (msgcontains(msg, "yes") and talkState[talkUser] == 5) then
		selfSay("AS YOU WISH. WHAT DO YOU HAVE TO OFFER?", cid)
		talkState[talkUser] = 6
	elseif (msgcontains(msg, "golden mug") and talkState[talkUser] == 6) then
		if (getPlayerItemCount(cid, 2033) >= 1) then
			doPlayerRemoveItem(cid, 2033, 1)
			selfSay("I LIKE THAT AND GRANT YOU ACCESS TO THE DUNGEON IN THE NORTH FOR THE NEXT FEW MINUTES. COME BACK ANYTIME AND BRING ME MORE TREASURES.", cid)
			setPlayerStorageValue(cid, storage, 1)
		else
			selfSay("GRRR...", cid)
		end
	end

	return true
end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())

XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Pythius The Rotten" script="data/npc/scripts/Pythius The Rotten.lua" walkinterval="0">
    <health now="100" max="100"/>
    <look type="231" head="0" body="0" legs="0" feet="0" addons="0"/>
    <parameters>
	<!--I GRANT YOU ACCESS TO THE DUNGEON IN THE NORTH. YOU'LL FIND SOME OF MY LIVING BROTHERS THERE-->
        <parameter key="message_greet" value="I AWAITED YOU!"/>
        <parameter key="message_farewell" value="YOU ARE ALWAYS WELCOME HERE."/>
		<parameter key="message_walkaway" value="YOU ARE ALWAYS WELCOME HERE."/>
    </parameters>
</npc>
 
Ok, so, after stone that you use it and you get the teleport.
And you enter with Pythius the Rotten, after you kill it, use this script so a tp is made:
Credits for Darkhaos for it.

Lua:
--- Created by Darkhaos

function onDeath(cid, corpse, killer)

registerCreatureEvent(cid, "pytthius the rottenTeleport")

local creaturename = getCreatureName(cid)
local in_pos = {x=265, y=231, z=8, stackpos=2} --- Position where tp is created
local checkIID = getThingfromPos(in_pos)
local to_pos = {x=298, y=232, z=8, stackpos=1} --- To position tp leads player
local time_to_pass = 60 -- in seconds
local tpID = 1387 --- Don't change

if creaturename == 'Pythius the rotten' then

teleport = doCreateTeleport(tpID, to_pos, in_pos)

doSendMagicEffect(in_pos, CONST_ME_TELEPORT)

doCreatureSay(cid, "You have 60 seconds to enter the teleport before it is closed.", TALKTYPE_ORANGE_1)
addEvent(removeTeleport, (1000*time_to_pass))


end
end

function removeTeleport()
if getThingfromPos({x=265, y=231, z=8, stackpos=1}).itemid == 1387 then
doRemoveItem(getThingfromPos({x=265, y=231, z=8, stackpos=1}).uid,1)
doSendMagicEffect({x=265, y=231, z=8, stackpos=1}, CONST_ME_POFF)
return TRUE
end
end

creaturescripts.xml
XML:
<event type="death" name="Pythius the rottenTeleport" script="Pythius the rotten_teleport.lua"/>

We just missing stone part now :D
 
Okay, so, I don't know if you still need it, but I managed how to make the stone thingy
In your pick file:

Below:
Lua:
if(itemEx.itemid == 7200) then
		doTransformItem(itemEx.uid, 7236)
		doSendMagicEffect(toPosition, CONST_ME_BLOCKHIT)
		return TRUE
	end

And before:
Lua:
return FALSE
	end

Add:
Lua:
	if(itemEx.uid == xxxx) then --- Put the uniqueID you will set at RME for stone
local inposition = {x=EDIT, y=EDIT, z=EDIT} --- Position where tp will be created
local toposition = {x=EDIT, y=EDIT, z=EDIT} --- Position where tp will lead
         doTransformItem(itemEx.uid, 0)
         local tmp = doCreateTeleport(1387, toposition, inposition)
         doItemSetAttribute(tmp, 'uid', 15879)
         return TRUE
end

Then, as so tp dissapears and rock appears again, add this:
movements.xml
XML:
<movevent type="StepIn" uniqueid="15879" event="script" value="pythiustp.lua"/>

data/movements/scripts/pythiustp.lua
Lua:
local position = {x=EDIT, y=EDIT, z=EDIT} --- Position of rock
function onStepIn(cid, item, pos)
doRemoveItem(item.uid,1)
doCreateItem(1304,1,position) 
return true
end

Quest done! (if it works)
Credits for Cyko for helping me with the pick thing :D
 
Last edited:
Back
Top