<?xml version="1.0" encoding="UTF-8"?>
<!--Scripted by Znote & Master-M -->
<npc name="Noldus Fiskar" floorchange="0" walkinterval="4000">
<health now="150" max="150"/>
<look type="130" head="57" body="116" legs="100" feet="119" addons="0"/>
<interaction range="3" idletime="30">
<interact keywords="hi" focus="1">
<!--These are the keywords will trigger this interaction-->
<keywords>hello</keywords>
<keywords>greet</keywords>
<response>
<action name="script">
if getPlayerStorageValue(cid,1230) == -1 then
selfSay('Hello there! Ohh you found my secret fishing spot! Please dont tell anyone about it alright? It is very important! Hey, you know what, I will give you a few gold coins to keeep your mouth shut. You can also come here and fish some, this is the best fishing spot near {Twinpass trading camp}. Ohh and by the way, if you got time to {help} me, I would highly appreciate it!', cid)
setPlayerStorageValue(cid,1230,1)
elseif getPlayerStorageValue(cid,1230) == 0 then
selfSay('Hello there! Ohh you found my secret fishing spot! Please dont tell anyone about it alright? It is very important! Hey, you know what, I will give you a few gold coins to keeep your mouth shut. You can also come here and fish some, this is the best fishing spot near {Twinpass trading camp}. Ohh and by the way, if you got time to {help} me, I would highly appreciate it!', cid)
setPlayerStorageValue(cid,1230,1)
elseif getPlayerStorageValue(cid,1230) == 1 then
selfSay('Ohh its you, did you come to {help} me?', cid)
else
selfSay('ERROR CODE X3D fishman1. Please report this to GM.', cid)
end
</action>
</response>
</interact>
<interact keywords="twinpass">
<keywords>trading</keywords>
<keywords>camp</keywords>
<response>
<action name="script">
selfSay('Didnt you come from twinpass trading camp? The trading camp is right to the {east from here}, there is a secret passage to it. There are many merchants there, many merchants travel between trading camps to sell their resources.', cid)
</action>
</response>
</interact>
<interact keywords="east">
<keywords>from</keywords>
<response>
<action name="script">
selfSay('I come from twinpass trading camp, follow the path to the east, go pass the narrow mountain. Please dont make much of a sound, as soon as you get out of the narrow mountain pass you get to the trading camp.', cid)
</action>
</response>
</interact>
<interact keywords="help">
<response>
<action name="script">
if getPlayerStorageValue(cid,1234) == -1 then
selfSay('Ohh yeah, I am running out of worms, and my luck never ends here! I dont ever want to leave this spot. So if you bother, do you want to get some worms for me? {Alright?}', cid)
elseif getPlayerStorageValue(cid,1234) == 0 then
selfSay('Ohh yeah, I am running out of worms, and my luck never ends here! I dont ever want to leave this spot. So if you bother, do you want to get some worms for me? {Alright?}', cid)
else
selfSay('Did you come to bring me some {worms}?', cid)
end
</action>
<action name="topic" value="1"/>
</response>
</interact>
<interact keywords="yes" topic="1">
<keywords>alright</keywords>
<keywords>worms</keywords>
<response>
<action name="script">
if getPlayerStorageValue(cid,1234) == 1 then
if(getPlayerItemCount(cid, 3976) >= 30) then
doPlayerRemoveItem(cid, 3976, 30)
doPlayerAddItem(cid, 2148,10)
setPlayerStorageValue(cid,1234,2)
selfSay('Thanks, you are truly one trustworthy player! I will make sure to tell about your good deeds to other merchants! If you want, keep delivering worms to me, and I have a {special bonus} for you!', cid)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have gained 10 golden coins.')
else
selfSay('Huh? This was not the deal, please come back with 30 worms!')
end
else
if(getPlayerItemCount(cid, 3976) >= 30) then
doPlayerRemoveItem(cid, 3976, 30)
doPlayerAddItem(cid, 2148,10)
setPlayerStorageValue(cid,1234,(getPlayerStorageValue(cid,1234)+1))
selfSay('Thank you! As always, here are your 10 gold coins!', cid)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have gained 10 golden coins.')
else
selfSay('You can get worms from NPCs in twinpass trading camp. Feel free to come back anytime and deliver {30 worms} to me, and you will be paid 10 gold coins! Hey! If you deliver 30 worms to me 5 times, I have a {special bonus} for you!', cid)
end
end
</action>
</response>
</interact>
<interact keywords="special">
<keywords>bonus</keywords>
<response>
<action name="script">
if getPlayerStorageValue(cid,1234) == 4 then
doPlayerRemoveItem(cid, 3976, 30)
doPlayerAddItem(cid, 2580,1)
setPlayerStorageValue(cid,1234,0)
selfSay('Fantastic! Here take this fishing rod! Its a big pleasure doing business with you, feel free to continue work with me as much as you want! This is fantastic!', cid)
elseif getPlayerStorageValue(cid,1234) > 4 then
doPlayerAddItem(cid, 2580,1)
setPlayerStorageValue(cid,1234,(getPlayerStorageValue(cid,1234)-5))
selfSay('Fantastic! Here take this fishing rod! Its a big pleasure doing business with you, feel free to continue work with me as much as you want! This is fantastic!', cid)
else
selfSay('Yes you heard right! Deliver worms to me 5 times, and obtain a {special bonus}! Just to... Show my appreciation. ^^', cid)
end
</action>
</response>
</interact>
<interact keywords="bye" focus="0">
<keywords>farewell</keywords>
<response>
<action name="script">
selfSay('Aight, see you later!', cid)
</action>
</response>
</interact>
</interaction>
</npc>