diff --git a/default.quests b/default.quests index 8d2f3736b..449b01fd1 100644 --- a/default.quests +++ b/default.quests @@ -418,3 +418,73 @@ I have opened the final door, I should open the chest and claim my reward. end_description end_step end_quest + +quest scorn/CoffeeGoose +title The Special Goose Chase +description +Return a goose called Esmerelda to its rightful owner. +end_description +restart 0 +step 10 +description +I have just drunk what must be the worst cup of coffee I have ever tasted, I should complain to the manager. +end_description +end_step +step 15 +description +I provided a cup of Eswald's coffee to the clerk at the Office of Passes, who declared it to be the worst coffee he had ever tasted. it seems like something is wrong with Eswald's coffee. +end_description +end_step +step 20 +description +Eswald told me that the quality of his coffee has dropped dramatically since his goose, Esmeralda, went missing. He assures me that if I return her, that he will be able to brew his world-famous coffee to its customary quality once again. +end_description +end_step +step 30 +description +I spoke to Fran over at the Barking Mule, she told me that Mark had stolen a goose, I wonder if it is the goose that Eswald is looking for? +end_description +end_step +step 40 +description +I found Mark in Goth's Tavern, he admitted to stealing Esmeralda, and to hiding him in Amy's house. +end_description +end_step +step 45 +description +I spoke to Amy at her house, whilst I couldn't find the goose there, there was a locked door that I couldn't get past. Amy told me Mark had the key. +end_description +end_step +step 47 +description +I spoke to Mark at Goth's Tavern, he told me that the key to the back room of Amy's house was at Swabbie's house +I should say 'mumblypeg' to chancy and he will fetch the key for me. +end_description +end_step +step 50 +description +I have recovered the key to the back door of Amy's house. +end_description +end_step +step 60 +description +I followed a sheep called Chancy who led me to a key, I wonder want it unlocks? +end_description +end_step +step 70 +description +I have used Mark's key to open the door in Amy's house, Esmeralda should be behind here somewhere. +end_description +end_step +step 90 +description +I have found Esmeralda +end_description. +end_step +step 100 +finishes_quest +description +I have reunited Eswald with Esmeralda, and his coffee is now of the highest quality once more. +end_description +end_step +end_quest diff --git a/scorn/houses/cornerbrook b/scorn/houses/cornerbrook index d53ed9887..fb22f6ba6 100644 --- a/scorn/houses/cornerbrook +++ b/scorn/houses/cornerbrook @@ -4043,4 +4043,9 @@ name Mark's key slaying marks_key x 24 y 24 +arch event_pickup +name scorn/CoffeeGoose 47>50 20-45>60 +title Python +slaying /python/dialog/QuestAdvance.py +end end diff --git a/scorn/houses/riverside_manor b/scorn/houses/riverside_manor index b375034cd..de1dd99da 100644 --- a/scorn/houses/riverside_manor +++ b/scorn/houses/riverside_manor @@ -1653,6 +1653,16 @@ face goose.131 animation goose x 9 y 19 +arch event_pickup +name scorn/CoffeeGoose 20-80>90 +title Python +slaying /python/dialog/QuestAdvance.py +end +arch event_drop +name scorn/CoffeeGoose 100 +title Python +slaying /python/dialog/QuestEssentialUntil.py +end end arch grass x 9 @@ -1950,6 +1960,10 @@ arch woodfloor x 11 y 19 end +arch table_3 +x 11 +y 19 +end arch key2 name apartment key name_pl apartment keys @@ -1957,10 +1971,6 @@ slaying hovel_key x 11 y 19 end -arch table_3 -x 11 -y 19 -end arch woodfloor x 11 y 20 @@ -2234,6 +2244,16 @@ arch woodfloor x 13 y 20 end +arch check_floor +hp 1 +x 13 +y 21 +arch event_trigger +name scorn/CoffeeGoose 50>70 +title Python +slaying /python/dialog/QuestAdvance.py +end +end arch woodfloor x 13 y 21 diff --git a/scorn/scorn.quests b/scorn/scorn.quests index 84bec9f61..a51254313 100644 --- a/scorn/scorn.quests +++ b/scorn/scorn.quests @@ -26,3 +26,73 @@ I have collected my new armour from the smith. end_description end_step end_quest + +quest scorn/CoffeeGoose +title The Special Goose Chase +description +Return a goose called Esmerelda to its rightful owner. +end_description +restart 0 +step 10 +description +I have just drunk what must be the worst cup of coffee I have ever tasted, I should complain to the manager. +end_description +end_step +step 15 +description +I provided a cup of Eswald's coffee to the clerk at the Office of Passes, who declared it to be the worst coffee he had ever tasted. it seems like something is wrong with Eswald's coffee. +end_description +end_step +step 20 +description +Eswald told me that the quality of his coffee has dropped dramatically since his goose, Esmeralda, went missing. He assures me that if I return her, that he will be able to brew his world-famous coffee to its customary quality once again. +end_description +end_step +step 30 +description +I spoke to Fran over at the Barking Mule, she told me that Mark had stolen a goose, I wonder if it is the goose that Eswald is looking for? +end_description +end_step +step 40 +description +I found Mark in Goth's Tavern, he admitted to stealing Esmeralda, and to hiding him in Amy's house. +end_description +end_step +step 45 +description +I spoke to Amy at her house, whilst I couldn't find the goose there, there was a locked door that I couldn't get past. Amy told me Mark had the key. +end_description +end_step +step 47 +description +I spoke to Mark at Goth's Tavern, he told me that the key to the back room of Amy's house was at Swabbie's house +I should say 'mumblypeg' to chancy and he will fetch the key for me. +end_description +end_step +step 50 +description +I have recovered the key to the back door of Amy's house. +end_description +end_step +step 60 +description +I followed a sheep called Chancy who led me to a key, I wonder want it unlocks? +end_description +end_step +step 70 +description +I have used Mark's key to open the door in Amy's house, Esmeralda should be behind here somewhere. +end_description +end_step +step 90 +description +I have found Esmeralda +end_description. +end_step +step 100 +finishes_quest +description +I have reunited Eswald with Esmeralda, and his coffee is now of the highest quality once more. +end_description +end_step +end_quest diff --git a/scorn/shops/coffeeshop b/scorn/shops/coffeeshop index 16b2a70e9..285270b76 100644 --- a/scorn/shops/coffeeshop +++ b/scorn/shops/coffeeshop @@ -8,7 +8,7 @@ enter_x 4 enter_y 8 msg Created: 2003-04-27 Avion -Modified: 2008-11-04 Rick Tanner +Modified: 2010-03-27 Cavesomething endmsg end arch woodfloor2 @@ -415,6 +415,27 @@ endmsg x 5 y 3 stand_still 1 +arch NPCGift +arch coffee +name Eswald's superior coffee +name_pl Eswald's superior coffees +end +arch coffee +name Eswald's inferior coffee +name_pl Eswald's inferior coffees +food 1 +arch event_apply +name scorn/CoffeeGoose 0>10 +title Python +slaying /python/dialog/QuestAdvance.py +end +end +end +arch event_say +name scorn/shops/eswald.msg +title Python +slaying /python/dialog/npc_dialog.py +end end arch woodfloor2 x 5 @@ -429,13 +450,6 @@ arch woodfloor2 x 5 y 5 end -arch check_inv -slaying EsmeraldaTheGoose -x 5 -y 5 -last_heal 1 -connected 1 -end arch woodfloor2 x 5 y 6 @@ -478,18 +492,6 @@ arch woodfloor2 x 6 y 3 end -arch magic_mouth -msg -You found her! Here is your pay. Thanks. -Esmeralda has the finest nose...er... beak for coffee in the kingdom. -Oled will be so jealous of my coffee. -endmsg -food 1 -x 6 -y 4 -connected 1 -move_on 0 -end arch woodfloor2 x 6 y 4 @@ -654,16 +656,8 @@ arch wwall_2_1_2 x 8 y 9 end -arch teleporter -hp 6 -sp 5 +arch blocked x 9 -speed 0.0 -connected 1 -end -arch goldcoin -x 9 -nrof 500 end arch blocked x 9 diff --git a/scorn/shops/eswald.msg b/scorn/shops/eswald.msg new file mode 100644 index 000000000..22db8487d --- /dev/null +++ b/scorn/shops/eswald.msg @@ -0,0 +1,111 @@ + +{ + "location" : "scorn/eswald", + "rules": [ + { + "match" : ["hello", "hi"], + "pre" : [["token", "seenbefore", "yes"]], + "post" : [], + "msg" : ["Hello $you, would you like to buy some coffee?"] + },{ + "match" : ["hello", "hi"], + "pre" : [], + "post" : [["settoken", "seenbefore", "yes"]], + "msg" : ["Hello stranger. would you like to buy some coffee?"] + },{ + "match" : ["yes", "like"], + "pre" : [["settoken", "offercoffee", "yes"], ["item", "money", "2"], ["quest", "scorn/CoffeeGoose", "100"]], + "post" : [["giveitem", "Eswald's superior coffee"], ["settoken", "offercoffee", "0"], ["takeitem", "money", "2"]], + "msg" : ["Here you go, a cup of the best coffee you'll ever drink."] + },{ + "match" : ["no"], + "pre" : [["quest", "scorn/CoffeeGoose", "100"], ["token", "offercoffee", "yes"]], + "post" : [["settoken", "askgoose", "0"]], + "msg" : ["Ok, come back if you change your mind."] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/CoffeeGoose", "100"], ["token", "askgoose", "yes"]], + "post" : [["settoken", "offercoffee", "yes"]], + "msg" : ["Welcome back to to Eswald's coffee shop, $you, would you like some of the finest brew east of Navar. only 1 silver to you."] + },{ + "match" : ["no"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"], ["token", "askgoose", "yes"]], + "post" : [["settoken", "askgoose", "0"]], + "msg" : ["Well, keep looking, "] + },{ + "match" : ["yes", "found"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"], ["token", "askgoose", "yes"], ["item", "EsmeraldaTheGoose"]], + "post" : [["settoken", "askgoose", "0"], ["giveitem", "money", "5000"], ["quest", "scorn/CoffeeGoose", "100"]], + "msg" : ["You found her! Here is your reward. Thanks $you.\n\n Esmeralda has the finest nose...er... beak for coffee in the kingdom.\n Oled will be so jealous of my coffee."] + },{ + "match" : ["yes", "found"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"], ["token", "askgoose", "yes"]], + "post" : [["settoken", "askgoose", "0"]], + "msg" : ["You have, that's fantastic! bring her back here and I'll pay you your reward."] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"]], + "post" : [["settoken", "askgoose", "yes"]], + "msg" : ["Have you found Esmerelda yet?"] + },{ + "match" : ["clue","idea","lead","lost","suspicious"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"]], + "post" : [], + "msg" : ["Well Oled has always been jealous of my goose..."] + },{ + "match" : ["special"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"]], + "post" : [], + "msg" : ["I'm not telling, you might not bring her back...."] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"]], + "post" : [], + "msg" : ["Have you had any luck finding my goose?"] + },{ + "match" : ["yes", "interested", "goose"], + "pre" : [["quest", "scorn/CoffeeGoose", "10"]], + "post" : [["quest", "scorn/CoffeeGoose", "20"]], + "msg" : ["Why, thank you, Her name is Esmeralda, she's a special goose."] + }, { + "match" : ["*"], + "pre" : [["quest", "scorn/CoffeeGoose", "10"]], + "post" : [], + "msg" : ["Yes, Yes, I know, my coffee is terrible, I'm truely very sorry, it just hasn't been the same since I lost my goose. \n\n You wouldn't be interested in finding her for me would you?"] + },{ + "match" : ["*"], + "pre" : [["token", "scorn/CoffeeGoose", "10"]], + "post" : [], + "msg" : ["Yes, Yes, I know, my coffee is terrible, I'm truely very sorry, it just hasn't been the same since I lost my goose. \n\n You wouldn't be interested in finding her for me would you?"] + },{ + "match" : ["no"], + "pre" : [["settoken", "offercoffee", "yes"]], + "post" : [["settoken", "offercoffee", "0"], ["settoken", "badcoffee", "yes" ]], + "msg" : ["I'm not surprised, no one else does either nowadays"] + },{ + "match" : ["yes", "like"], + "pre" : [["settoken", "offercoffee", "yes"], ["item", "money", "2"]], + "post" : [["giveitem", "Eswald's inferior coffee"], ["settoken", "offercoffee", "0"], ["settoken", "badcoffee", "yes" ],["takeitem", "money", "2"]], + "msg" : ["Here you go, I apologise for the quality"] + },{ + "match" : ["yes", "like"], + "pre" : [["token", "offercoffee", "yes"], ["token", "freebie", "yes"]], + "post" : [["settoken", "offercoffee", "no"], ["settoken", "badcoffee", "yes" ],["takeitem", "money", "2"]], + "msg" : ["You'll need to pay for coffee, friend, I may not have many customers, but I can't give it away free you know."] + },{ + "match" : ["yes", "like"], + "pre" : [["token", "offercoffee", "yes"]], + "post" : [["giveitem", "Eswald's inferior coffee"], ["settoken", "offercoffee", "no"], ["settoken", "badcoffee", "yes" ],["takeitem", "money", "2"], ["settoken", "freebie", "yes"]], + "msg" : ["You haven't even got too silver coins to rub together? Here, have the coffee anyway, you clearly need a hand-out, and no one is buying it nowadays anyway"] + },{ + "match" : ["coffee"], + "pre" : [], + "post" : [["settoken", "offercoffee", "yes"]], + "msg" : ["Would you like to buy some coffee, only 2 silver a cup?"] + },{ + "match" : ["*"], + "pre" : [], + "post" : [["settoken", "seenbefore", "yes"]], + "msg" : ["Welcome to Eswald's coffee shop, serving, well, something vaguely coffee-like anyway."] + } +]} \ No newline at end of file diff --git a/scorn/shops/oled.msg b/scorn/shops/oled.msg new file mode 100644 index 000000000..3470daab4 --- /dev/null +++ b/scorn/shops/oled.msg @@ -0,0 +1,70 @@ +{ + "location" : "scorn/oled", + "rules": [ + { + "match" : ["hello", "hi"], + "pre" : [["token", "seenbefore", "yes"]], + "post" : [], + "msg" : ["Hello $you, would you like some coffee?"] + },{ + "match" : ["hello", "hi"], + "pre" : [], + "post" : [], + "msg" : ["Hello stranger, would you like some coffee?."] + },{ + "match" : ["lady"], + "pre" : [["token", "seenbefore", "yes"]], + "post" : [], + "msg" : ["I think her name was something like Jann or Ann...\nworks over at the 'Mule sometimes."] + },{ + "match" : ["amy"], + "pre" : [], + "post" : [], + "msg" : ["Hey, whatever she told you is a lie ok.\nThat lady Mark was talking to was a sick friend of mine."] + },{ + "match" : ["mark"], + "pre" : [], + "post" : [], + "msg" : ["Who? Never heard of him..."] + },{ + "match" : ["Eswald"], + "pre" : [["quest", "scorn/CoffeeGoose", "60"]], + "post" : [], + "msg" : ["That skunk Eswald and his stupid goose, now that he's got it back, they are undercutting my prices again."] + },{ + "match" : ["Eswald"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"]], + "post" : [], + "msg" : ["You say that Eswald has lost his goose? That's fantastic news; they've been undercutting my prices for years. \n\n er... I mean oh dear, what a shame, I am sorry to hear that."] + },{ + "match" : ["Eswald"], + "pre" : [], + "post" : [], + "msg" : ["That skunk Eswald and his stupid goose Undercutting my prices. One day..."] + },{ + "match" : ["no"], + "pre" : [["settoken", "offercoffee", "yes"]], + "post" : [["settoken", "offercoffee", "0"]], + "msg" : ["No problem friend, come back later if you change your mind."] + },{ + "match" : ["yes", "like", "cup"], + "pre" : [["settoken", "offercoffee", "yes"], ["item", "money", "3"]], + "post" : [["giveitem", "Oled's coffee"], ["settoken", "offercoffee", "0"], ["takeitem", "money", "3"]], + "msg" : ["Here you go, "] + },{ + "match" : ["yes", "like", "cup"], + "pre" : [["token", "offercoffee", "yes"]], + "post" : [["settoken", "offercoffee", "0"]], + "msg" : ["You'll need money to pay for the coffee, friend."] + },{ + "match" : ["coffee", "fresh", "cup"], + "pre" : [], + "post" : [["settoken", "offercoffee", "yes"]], + "msg" : ["Coffee is 3 silver a cup, would you like some?"] + },{ + "match" : ["*"], + "pre" : [], + "post" : [["settoken", "seenbefore", "yes"]], + "msg" : ["Have a cup of coffee! Fresh coffee!"] + } +]} \ No newline at end of file diff --git a/scorn/shops/oleds_cafe b/scorn/shops/oleds_cafe index 8c5389e5a..41ba06a9d 100644 --- a/scorn/shops/oleds_cafe +++ b/scorn/shops/oleds_cafe @@ -8,7 +8,7 @@ enter_x 4 enter_y 8 msg Created: 2003-04-27 -Modified: 2008-11-04 Rick Tanner +Modified: 2010-03-27 Cavesomething endmsg end arch woodfloor @@ -333,22 +333,21 @@ end arch fatman name Oled msg -@match mark -Who? Never heard of him... -@match amy -Hey, whatever she told you is a lie ok. -That lady Mark was talking to was a sick friend of mine. -@match lady -I think her name was something like -Jann or Ann...works over at the 'Mule sometimes. -@match eswald -That skunk Eswald and his stupid goose -Undercutting my prices. One day... -@match * -Have a cup of coffee! Fresh coffee! + endmsg x 5 y 2 +arch NPCGift +arch coffee +name Oled's coffee +name_pl Oled's coffees +end +end +arch event_say +name scorn/shops/oled.msg +title Python +slaying /python/dialog/npc_dialog.py +end end arch woodfloor x 5 diff --git a/scorn/taverns/barking_mule b/scorn/taverns/barking_mule index acb05addd..f3cbe3a85 100644 --- a/scorn/taverns/barking_mule +++ b/scorn/taverns/barking_mule @@ -374,31 +374,17 @@ end arch woman name Fran msg -@match mark -That bum, all this time he had a girl on the side. -Too bad he was coming into some coin too... -Some deal with that bird of his. -@match Oled -He's ok to work for, but he's a pincher if you know what I mean. -He's usually pretty mellow, but lately he seems a bit tense. -@match pincher -You try it an I'll deck you I says to him... -@match bird|goose -Ya I heard Mark stole a goose. -@match who -Your pretty nosey there fella. -@match service|order -Hey buddy just take a seat, I work two jobs you know. -@match job -Ya I work part time at Oled's Cafe too. -@match * -Hey kitchen is off limits! -Keep it in your scabbard and take a seat there chum. + endmsg x 3 y 5 randomitems jail stand_still 1 +arch event_say +name scorn/taverns/fran.msg +title Python +slaying /python/dialog/npc_dialog.py +end end arch woodfloor x 3 diff --git a/scorn/taverns/fran.msg b/scorn/taverns/fran.msg new file mode 100644 index 000000000..422319145 --- /dev/null +++ b/scorn/taverns/fran.msg @@ -0,0 +1,55 @@ +{ + "location" : "scorn_riverside", + "rules": [ + { + "match" : ["mark"], + "pre" : [], + "post": [], + "msg" : ["That bum, all this time he had a girl on the side.\nToo bad he was coming into some coin too...\nSome deal with that bird of his."] + }, { + "match" : ["oled"], + "pre" : [], + "post": [], + "msg" : ["He's ok to work for, but he's a pincher if you know what I mean.\nHe's usually pretty mellow, but lately he seems a bit tense."] + },{ + "match" : ["pincher"], + "pre" : [], + "post": [], + "msg" : ["You try it an I'll deck you I says to him..."] + },{ + "match" : ["bird", "goose"], + "pre" : [["quest", "scorn/CoffeeGoose", "30"]], + "post": [], + "msg" : ["Ya I heard Mark stole a goose."] + },{ + "match" : ["bird", "goose"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"]], + "post": [["quest", "scorn/CoffeeGoose", "30"]], + "msg" : ["Ya I heard Mark stole a goose."] + },{ + "match" : ["bird", "goose"], + "pre" : [], + "post": [], + "msg" : ["Ya I heard Mark stole a goose."] + },{ + "match" : ["who"], + "pre" : [], + "post": [], + "msg" : ["Your pretty nosey there fella."] + },{ + "match" : ["service", "order"], + "pre" : [], + "post": [], + "msg" : ["Hey buddy just take a seat, I work two jobs you know."] + },{ + "match" : ["job"], + "pre" : [], + "post": [], + "msg" : ["Ya I work part time at Oled's Cafe too."] + },{ + "match" : ["*"], + "pre" : [], + "post": [], + "msg" : ["Hey kitchen is off limits!\nKeep it in your scabbard and take a seat there chum."] + } +]} \ No newline at end of file diff --git a/scorn/taverns/mark.msg b/scorn/taverns/mark.msg new file mode 100644 index 000000000..7fb9bee87 --- /dev/null +++ b/scorn/taverns/mark.msg @@ -0,0 +1,50 @@ +{ + "location" : "scorn_goths", + "rules": [ + { + "match" : ["mark"], + "pre" : [], + "post": [], + "msg" : ["Ya that's me. Bugger off, I'm on a roll here.\nO 47"] + }, { + "match" : ["amy"], + "pre" : [], + "post": [], + "msg" : ["Ya my old lady, she's kind of mad at me right now...\nWhen I hit it big she'll sing a different tune though."] + },{ + "match" : ["goose", "esmeralda"], + "pre" : [["quest", "scorn/CoffeeGoose", "40"]], + "post": [], + "msg" : ["Ok, ok, don't hurt me. I took her. Don't turn me in. If you did they'd take the goose for evidence, and then you wouldn't get the reward.\nI hid the that bird at Amy's place."] + },{ + "match" : ["goose", "esmeralda"], + "pre" : [["quest", "scorn/CoffeeGoose", "20"]], + "post": [["quest", "scorn/CoffeeGoose", "40"]], + "msg" : ["Ok, ok, don't hurt me. I took her. Don't turn me in. If you did they'd take the goose for evidence, and then you wouldn't get the reward.\nI hid the that bird at Amy's place."] + },{ + "match" : ["key", "door"], + "pre" : [["quest", "scorn/CoffeeGoose", "50"]], + "post": [], + "msg" : ["Ok, ok, the key's hidden at Swabbie's house.\nTell Chancy 'mumblypeg' and he'll fetch it for you."] + },{ + "match" : ["key", "door"], + "pre" : [["quest", "scorn/CoffeeGoose", "40"]], + "post": [["quest", "scorn/CoffeeGoose", "47"]], + "msg" : ["Ok, ok, the key's hidden at Swabbie's house.\nTell Chancy 'mumblypeg' and he'll fetch it for you."] + },{ + "match" : ["name"], + "pre" : [], + "post": [], + "msg" : ["(mumble) ...tell my... name... (grumble) Scat!"] + },{ + "match" : ["job"], + "pre" : [], + "post": [], + "msg" : ["Look, mate... Isn't it obvious?"] + },{ + "match" : ["*"], + "pre" : [], + "post": [], + "msg" : ["Go away, I'm busy.\nN 15"] + } +]} \ No newline at end of file