• 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!

[8.5] Inquisition Quest Full

Pewo

Intermediate OT User
Joined
Jul 30, 2009
Messages
1,607
Reaction score
100
f_Inq1m_685e0fa.jpg

f_Inq2m_159b51d.jpg

f_Inq4m_e7c6783.jpg

f_Inq5m_4b6085c.jpg


Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
       if item.uid == 1300 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found robe of the underworld.")
               doPlayerAddItem(cid,8890,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
           end
       elseif item.uid == 1301 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a  Spellbook of Dark Mysteries.")
               doPlayerAddItem(cid,8918,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
           end
       elseif item.uid == 1302 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Fireborn Giant Armor.")
               doPlayerAddItem(cid,8881,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
        end
       elseif item.uid == 1303 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Master Archer's Armor.")
               doPlayerAddItem(cid,8888,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
           end
      elseif item.uid == 1304 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Royal Crossbow.")
               doPlayerAddItem(cid,8851,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
           end
    elseif item.uid == 1305 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Hellforged Axe.")
               doPlayerAddItem(cid,8924,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
           end
    elseif item.uid == 1306 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Obsidian Truncheon.")
               doPlayerAddItem(cid,8928,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
           end
    elseif item.uid == 1307 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Emerald Sword.")
               doPlayerAddItem(cid,8930,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
           end
    elseif item.uid == 1308 then
        queststatus = getPlayerStorageValue(cid,6076)
           if queststatus == -1 then
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have found a Warsinger Bow.")
               doPlayerAddItem(cid,8854,1)
               setPlayerStorageValue(cid,6076,1)
           else
               doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "It is empty.")
           end
    end
       return 1
end
PHP:
 <action uniqueid="1300" script="inqchests.lua" />
    <action uniqueid="1301" script="inqchests.lua" />
    <action uniqueid="1302" script="inqchests.lua" />
    <action uniqueid="1303" script="inqchests.lua" />
    <action uniqueid="1304" script="inqchests.lua" />
    <action uniqueid="1305" script="inqchests.lua" />
    <action uniqueid="1306" script="inqchests.lua" />
    <action uniqueid="1307" script="inqchests.lua" />
    <action uniqueid="1308" script="inqchests.lua" />

Download:
 

Attachments

  • [8.5] Inquisition By Smirnoff.rar
    213.2 KB · Views: 1,319 · VirusTotal
Last edited by a moderator:
forum-verified.png
 
Last edited by a moderator:
If it's "Full quest" where are the rest of scripts?

Sorry but script with rewards every1 can do :<
 
Well its in "Map" so my bad...
Can't edit post...
Someone will need it I suppose.
 
cool.. well this is me being a noob... "where do i have to put those scripts? data/actions?"
 
Back
Top