How to make quests

Ok. A lot of ppl need it so here it is:

step 1) first go to actions.xml you can find in data—>actions——>actions.xml
open with noteped and go to the down of the page and copy this line:
<action itemid=”6666” script=”chest.lua” />

step 2) go to chest.lua you can find on: -data—>actions——>scripts——->chest.lua and open with noteped.
go to the down and copy thet:
—BOH Quest
elseif item.uid 6666 then
queststatus = getPlayerStorageValue(cid,6666)
if queststatus -1 then
if getPlayerLevel(cid) >= 60 then
doPlayerSendTextMessage(cid,22,”You have found BOH.”)
doPlayerAddItem(cid,3017,1)
setPlayerStorageValue(cid,6666,1)
else
doPlayerSendTextMessage(cid,22,”You need level 60 to get prize.”)
end
else
doPlayerSendTextMessage(cid,22,”It is empty.”)
end

UID number.
the numebr of the times you get the prize, verry importent to do it ”-1”
the min lvl you can get the prize.
the msg you get when you get the prize.
the id of the item (the prize)

that was a BOH quest. now go to Map Editor and go to 1 quest, right click on the chest and “select” now go to anywhere and put the chest. do right click and on the “UID number” write 6666. on the ather 1 (forgat what his name) write 3017 (boh’s id number) and save. thet’s all you need to do.

By the way you can find all of the id’s on -data—>items—->items.xml

Related Articles
Paladin guide: Making money
Paladin guide: Professional hunting - levels 61-80
Paladin guide: Graduated hunting rights - levels 40-60
Paladin guide: Main - levels 9-40
Paladin guide: The Infamous Rookgaard - levels 1-8
How to train a Knight
How to become a good mapper
How to make conjured items
How to start Tibia 7.5 server
How to make cheat mode


Previous article: Custom monsters
Next article: How to make cheat mode