Haard
Slacker
Im so sick of that you always have to take the ordinary way into The Pits Of Inferno.
With this script, You have to add a new chest that you get the paper with ID 7696.
After Rightclicking On This Item You will have access to just walk trough a door and directly into the pits of inferno (As Realtibia)
Copy this into Actions.xml
Credits Goes To Empty And StreamSide for Making the script orginal to Vip. I just remaded it for working like a Pits Of Inferno Shortcut.
With this script, You have to add a new chest that you get the paper with ID 7696.
After Rightclicking On This Item You will have access to just walk trough a door and directly into the pits of inferno (As Realtibia)
PHP:
PoIDoorShortcut
-- Credits StreamSide and Empty for making the VIP part. (Haard made it for PoI)
function onUse(cid, item, fromPosition, itemEx, toPosition)
local cidPosition = getCreaturePosition(cid)
if (item.actionid == 57808 and getPlayerStorageValue(cid,11551) >= 1) then
if cidPosition.x < toPosition.x then
doTeleportThing(cid, {x=toPosition.x+1,y=toPosition.y,z=toPosition.z}, TRUE)
doCreatureSay(cid, "You are now entering the pits of inferno", TALKTYPE_ORANGE_1)
else
doTeleportThing(cid, {x=toPosition.x-1,y=toPosition.y,z=toPosition.z}, TRUE)
doCreatureSay(cid, "You are now entering the pits of inferno", TALKTYPE_ORANGE_1)
end
return TRUE
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Sorry, You most do Pits Of Inferno before you can pass here.")
return TRUE
end
return FALSE
end
PHP:
PoIItemShortcut
-- Credits StreamSide and Empty for making the Vip Part (Made By Haard)
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorageValue(cid,11551) < 1 then
if getPlayerLevel(cid) > 80 then
getPlayerStorageValue(cid, 11551)
doCreatureSay(cid, "You can now use the shortcut to access Pits Of Inferno. ", TALKTYPE_ORANGE_1)
setPlayerStorageValue(cid, 11551, (getPlayerStorageValue(cid,11551) + 15))
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid,"You need to be at least level 80 to use this.")
doRemoveItem(item.uid, 1)
end
else
doPlayerSendCancel(cid,"You have already absorbed the power.")
end
return TRUE
end
Copy this into Actions.xml
<action itemid="7696" script="other/PoIitemShortcut.lua"/>
<action actionid="57808" script="other/PoIdoorShortcut.lua" />
Credits Goes To Empty And StreamSide for Making the script orginal to Vip. I just remaded it for working like a Pits Of Inferno Shortcut.