Heroes First quest finished! please take a look, It is fully tested and 100% working.

Join Discord

raven10087

Dedicated Member
Dedicated Member
Dec 5, 2012
48
0
33
This is my 1st quest so go easy on me lol. So rewarding when it's finished! If you do however see anything that could shorten or improve the look of the coding please let me know. Hope also someone can make use of this for their quests.

Quick question see how i have used multiple \ to try and move the next sentence down. Well it didn't work does anyone else know how to have writing on the top then have the next writing towards the bottom.

:lol:lolso happy!!:lol:lol


;Settings
%100
+40
+1


;Pkr Tag (NPC won't talk to Pkrs)
[@main]
#IF
checkpkpoint 2
#SAY
I will not help an evil person like you... \ \
<Ok/@exit>


#IF
checkitem KimsRing 1
#ACT
goto @ringfound
#ELSEACT
goto @normal


[@normal]
Welcome, what can I do for you?\ \
<Buy/@buy> meat\
<Sell/@sell> meat\
<Talk to/@talkwith>\
<Cancel/@exit>


[@buy]
Please choose what you want to buy.\ \ \
<Back/@normal>




[@sell]
If you have high quality meat please sell it to me\
I'll pay well for it\ \
<Back/@normal>


[@talkwith]
#IF
CHECK [10] 0
#SAY
So you met my daughter Brittany! Wonderful girl so she is.\
I keep telling her to stop bringing every traveller she talks to up here.\
Well seeing as you are here and look like you don't have much else to do\
can you please find my wedding ring. I was about to chop\
a hens head off when it took a bite at my finger and ran off.\
When i checked my finger the ring had gone.\


<I'll find your ring/@exit>\


#IF
CHECK [10] 1
#SAY
Hello, Thanks again for finding my ring.
\
\
\
\
<Again it was my pleasure/@exit>\


[@ringfound]
#IF
CHECK [10] 0
#SAY
Well my goodness, you found my ring!\
\
\
\
\
<It didn't take me long to find here you go./@ringfound2>


#ELSEACT
goto @havering


[@havering]
#SAY
I already have my ring? You already gave me it.\
\
\
\
<Sorry my mistake../@normal>




[@ringfound2]
#SAY
What a brilliant young traveller you are!\
Here is a little something for your kindness.
<Thank you!/@reward>


[@reward]
#ACT
take KimsRing 1
give gold 5000
changeexp + 600
#SAY
Wow! thank you,<bye!/@exit>




[goods]
;Item Amount Time
Meat 1000 1
Chicken 1000 1