From ea59e266e7f8f98493c9234f7e70839aecd75af3 Mon Sep 17 00:00:00 2001 From: cavesomething Date: Tue, 27 Apr 2010 12:40:09 +0000 Subject: [PATCH] Questify Gramps Malone's two fedex quests. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12997 282e977c-c81d-0410-88c4-b93c2d0d6712 --- default.quests | 72 ++++++++++++++++ scorn/houses/cornerbrook | 108 ++++-------------------- scorn/houses/gramps_malone.msg | 145 +++++++++++++++++++++++++++++++++ scorn/houses/jc.msg | 40 +++++++++ scorn/houses/malone.quests | 72 ++++++++++++++++ scorn/houses/molly_malone.msg | 55 +++++++++++++ scorn/houses/riverside_manor | 17 +++- scorn/scorn.quests | 1 + scorn/taverns/barking_mule | 12 ++- 9 files changed, 429 insertions(+), 93 deletions(-) create mode 100644 scorn/houses/gramps_malone.msg create mode 100644 scorn/houses/jc.msg create mode 100644 scorn/houses/malone.quests create mode 100644 scorn/houses/molly_malone.msg diff --git a/default.quests b/default.quests index babfb8338..6322fd162 100644 --- a/default.quests +++ b/default.quests @@ -179,3 +179,75 @@ I have gained access to Gork's treasure room. end_description end_step end_quest +quest scorn/Earhorn +title Gramps Malone's Earhorn +description +Return an Earhorn to its rightful owner +end_description +restart 0 +step 10 +description +I have found an earhorn which is marked as belonging to Gramps Malone, maybe I should find him and return it +end_description +end_step +step 20 +description +Molly has asked me to find her father's earhorn and return it to him. +end_description +end_step +step 30 +description +Gramps Malone has asked me to find his earhorn and return it to him. +end_description +end_step +step 50 +description +I have found Gramps Malone's earhorn, I should bring it back to him. +end_description +end_step +step 60 +finishes_quest +description +I have returned Gramps Malone's earhorn. +end_description +end_step +end_quest + +quest scorn/WalkingStick +title Gramps Malone's Walking Stick +description +Recover a walking stick on behalf of its owner. +end_description +restart 0 +step 10 +description +I have found a walking stick which is marked as belonging to Gramps Malone, he might want it back +end_description +end_step +step 20 +description +Molly has asked me to find her father's walking stick and return it to him. +end_description +end_step +step 30 +description +Gramps Malone has asked me to find his walking stick and return it to him. +end_description +end_step +step 40 +description +I spoke to J.C. at the riverside apartments in Scorn, he said that Gramps Malone had left his walking stick there. +end_description +end_step +step 50 +description +I have found Gramps Malone's walking stick, I should bring it back to him. +end_description +end_step +step 60 +finishes_quest +description +I have returned Gramps Malone's walking stick. +end_description +end_step +end_quest diff --git a/scorn/houses/cornerbrook b/scorn/houses/cornerbrook index cacb20ba7..d53ed9887 100644 --- a/scorn/houses/cornerbrook +++ b/scorn/houses/cornerbrook @@ -8,7 +8,7 @@ enter_x 11 enter_y 1 msg Created: 2003-04-27 Avion -Modified: 2008-06-06 Arvid Norlander +Modified: 2010-04-01 Cavesomething endmsg outdoor 1 end @@ -2798,20 +2798,17 @@ x 17 y 20 end arch woman -msg -@match staff|stick -You'll know its his because he carved -his name on it. -@match father|ear|earhorn -My father is a bit hard of hearing. -He lost his earhorn too... -@match * -My father lost his walking stick, -if you find it please bring it back to him. -endmsg +name Molly x 17 y 20 +type 0 randomitems jail +stand_still 1 +arch event_say +name scorn/houses/molly_malone.msg +title Python +slaying /python/misc/npc_dialog.py +end end arch woodfloor x 17 @@ -3450,38 +3447,10 @@ arch woodfloor x 21 y 18 end -arch check_inv -slaying Gramp's walking stick -x 21 -y 18 -last_heal 1 -connected 5 -end -arch check_inv -slaying Gramp's earhorn -x 21 -y 18 -last_heal 1 -connected 6 -end arch woodfloor x 21 y 19 end -arch check_inv -slaying Gramp's walking stick -x 21 -y 19 -last_heal 1 -connected 5 -end -arch check_inv -slaying Gramp's earhorn -x 21 -y 19 -last_heal 1 -connected 6 -end arch woodfloor x 21 y 20 @@ -3666,33 +3635,16 @@ randomitems jail monster 0 can_cast_spell 0 stand_still 1 +arch NPCGift +arch gem +nrof 5 end -arch magic_mouth -msg -You found my staff, thanks. -Heres a little something for you. -Don't spend it all on sweets now. -endmsg -food 1 -x 22 -y 19 -connected 5 -move_on 0 end -arch magic_mouth -msg -My horn! Thanks. -Here's a little spending money for your trouble. -Now I can hear again. -....err drat now she'll be gabbin -at me all day. Maybe I better hide -it again... -endmsg -food 1 -x 22 -y 19 -connected 6 -move_on 0 +arch event_say +name scorn/houses/gramps_malone.msg +title Python +slaying /python/misc/npc_dialog.py +end end arch woodfloor x 22 @@ -4079,32 +4031,6 @@ x 24 y 21 end arch teleporter -hp 20 -sp 18 -x 24 -y 22 -speed 0.0 -connected 6 -end -arch gem -x 24 -y 22 -nrof 3 -end -arch teleporter -hp 20 -sp 18 -x 24 -y 23 -speed 0.0 -connected 5 -end -arch gem -x 24 -y 23 -nrof 2 -end -arch teleporter hp 22 sp 1 x 24 diff --git a/scorn/houses/gramps_malone.msg b/scorn/houses/gramps_malone.msg new file mode 100644 index 000000000..76d0c335f --- /dev/null +++ b/scorn/houses/gramps_malone.msg @@ -0,0 +1,145 @@ +{ + "location" : "scorn_malone", + "rules": [ + { + "match" : ["stick", "staff", "walking"], + "pre" : [["quest", "scorn/WalkingStick", "60"]], + "post": [], + "msg" : ["Thank you for returning my walking stick, $you"] + },{ + "match" : ["stick"], + "pre" : [], + "post": [], + "msg" : ["Ya say yer sick? That's a darn shame!\nI get a touch of the wind myself sometimes..."] + },{ + "match" : ["yes"], + "pre" : [["quest", "scorn/Earhorn", "10"], ["settoken", "askfor", "horn"], ["item", "Gramp's earhorn"]], + "post": [["settoken", "askfor", "0"], ["takeitem", "Gramp's earhorn"], ["giveitem", "diamond", "3"], ["quest", "scorn/Earhorn", "60"]], + "msg" : ["My horn! Thanks.\n Here's a little spending money for your trouble.\n Now I can hear again.\n....err drat now she'll be gabbin at me all day. Maybe I better hide it again..."] + },{ + "match" : ["yes"], + "pre" : [["quest", "scorn/Earhorn", "10"], ["settoken", "askfor", "horn"]], + "post": [["settoken", "askfor", "0"]], + "msg" : ["Well, where is it? I can't stand around here all day listening to you making excuses.\n Can't do much listening at all til you get me that horn."] + },{ + "match" : ["no"], + "pre" : [["quest", "scorn/Earhorn", "10"], ["settoken", "askfor", "horn"]], + "post": [["settoken", "askfor", "0"]], + "msg" : ["Go? Go where? I ain't going anywhere 'til you get me that horn."] + },{ + "match" : ["yes"], + "pre" : [["quest", "scorn/WalkingStick", "10"], ["settoken", "askfor", "stick"], ["item", "Gramp's walking stick"]], + "post": [["settoken", "askfor", "0"], ["takeitem", "Gramp's walking stick"], ["giveitem", "diamond", "2"], ["quest", "scorn/WalkingStick", "60"]], + "msg" : ["You found my staff, thanks.\nHeres a little something for you.\nDon't spend it all on sweets now."] + },{ + "match" : ["yes"], + "pre" : [["quest", "scorn/WalkingStick", "10"], ["settoken", "askfor", "stick"]], + "post": [["settoken", "askfor", "0"]], + "msg" : ["Well, where is it? I can't stand around here all day waiting for you to get your act together.\n 'course if you don't get me my stick back, I may not have a lot of choice."] + },{ + "match" : ["no"], + "pre" : [["quest", "scorn/WalkingStick", "10"], ["settoken", "askfor", "stick"]], + "post": [["settoken", "askfor", "0"]], + "msg" : ["Well, you'd better go look for it then hadn't you? I be standing round here waiting for you to get moving\nTsk, kids these days!"] + },{ + "match" : ["staff", "walking"], + "pre" : [["quest", "scorn/WalkingStick", "20"]], + "post": [["settoken", "askfor", "stick"]], + "msg" : ["Have you found my walking stick, young'un?"] + },{ + "match" : ["staff", "walking"], + "pre" : [["quest", "scorn/WalkingStick", "10"]], + "post": [["settoken", "askfor", "stick"]], + "msg" : ["Yup lost my walking stick - you haven't seen it lying around have you?"] + },{ + "match" : ["staff", "walking"], + "pre" : [], + "post": [["quest", "scorn/WalkingStick", "30"]], + "msg" : ["Yup lost my walking stick - have ya seen it?\n Bring it back here if you find it, y'hear."] + },{ + "match" : ["woods", "east"], + "pre" : [["quest", "scorn/Earhorn", "60"]], + "post": [], + "msg" : ["Yes, I used to go hunting out east, there used to more deer around then than there are nowadays"] + },{ + "match" : ["woods", "east"], + "pre" : [], + "post": [], + "msg" : ["Don't mumble - out with it now..."] + },{ + "match" : ["ear", "horn"], + "pre" : [["quest", "scorn/Earhorn", "60"]], + "post": [], + "msg" : ["Thank you for returning my earhorn, $you"] + },{ + "match" : ["horn"], + "pre" : [["quest", "scorn/Earhorn", "20"]], + "post": [["settoken", "askfor", "horn"]], + "msg" : ["Have you found my earhorn, young'un?"] + },{ + "match" : ["horn"], + "pre" : [["quest", "scorn/Earhorn", "10"]], + "post": [["settoken", "askfor", "horn"]], + "msg" : ["Yup lost my earhorn - you haven't seen it lying around have you?"] + },{ + "match" : ["horn"], + "pre" : [], + "post": [["quest", "scorn/Earhorn", "30"]], + "msg" : ["Yup lost my Earhorn - have ya seen it?\n Bring it back here if you find it, y'hear."] + },{ + "match" : ["ear"], + "pre" : [], + "post": [], + "msg" : ["You looking for deer?\nUsed to be a woodsman myself.\nTry the woods to the east - lots of game there..."] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/Earhorn", "60"], ["quest", "scorn/WalkingStick", "60"]], + "post": [], + "msg" : ["Thank you for returning my earhorn and walking stick $you"] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/Earhorn", "10"], ["quest", "scorn/WalkingStick", "60"]], + "post": [], + "msg" : ["I can walk again thanks to you, $you. now if only I had my horn back."] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/Earhorn", "60"], ["quest", "scorn/WalkingStick", "10"]], + "post": [], + "msg" : ["I can hear again thanks to you, $you. now if only I had my staff back."] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/WalkingStick", "60"]], + "post": [["quest", "scorn/Earhorn", "10"]], + "msg" : ["Thank you for returning my staff, you haven't seen my earhorn lying about anywhere have you?\n If you do find it, please tell me"] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/Earhorn", "60"]], + "post": [["quest", "scorn/WalkingStick", "10"]], + "msg" : ["Thank you for returning my earhorn, you haven't seen my staff lying about anywhere have you?\n If you do find it, please bring it back."] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/Earhorn", "30"], ["quest", "scorn/WalkingStick", "30"]], + "post": [], + "msg" : ["Did you get anywhere with finding either my horn or my staff?"] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/WalkingStick", "30"]], + "post": [["settoken", "askfor", "stick"]], + "msg" : ["Did you find my staff?"] + },{ + "match" : ["*"], + "pre" : [["quest", "scorn/Earhorn", "30"]], + "post": [["settoken", "askfor", "horn"]], + "msg" : ["Did you find my Earhorn"] + },{ + "match" : ["speak"], + "pre" : [], + "post": [], + "msg" : ["Bleak? Here? How dare you, you young scallywag, I don't go around to your home and call it bleak. You young'uns are all the same, judging people by the value of their possessions."] + },{ + "match" : ["*"], + "pre" : [], + "post": [], + "msg" : ["Hunn? Speak up there!"] + } +]} diff --git a/scorn/houses/jc.msg b/scorn/houses/jc.msg new file mode 100644 index 000000000..b2cf2a6b0 --- /dev/null +++ b/scorn/houses/jc.msg @@ -0,0 +1,40 @@ +{ + "location" : "scorn_riverside", + "rules": [ + { + "match" : ["mark"], + "pre" : [], + "post": [], + "msg" : ["Ya good guy lets me beat him at cards all the time.\nGuy loves to gamble.\nOtherwise he's a bum."] + }, { + "match" : ["amy"], + "pre" : [], + "post": [], + "msg" : ["She runs the place for that rat Witherspoon."] + },{ + "match" : ["Witherspoon", "rat"], + "pre" : [], + "post": [], + "msg" : ["Witherspoon owns all these slum..er 'condos'."] + },{ + "match" : ["gramps", "malone", "staff", "stick"], + "pre" : ["quest", "scorn/WalkingStick", "40"], + "post": [], + "msg" : ["Ya ol Gramps Malone is right duffer.\nPlays a good game of orc knuckles.\nI think he left his walking stick here last time he came round.\nThink it's un + },{ + "match" : ["gramps", "malone", "staff", "stick"], + "pre" : ["quest", "scorn/WalkingStick", "10"], + "post": ["quest", "scorn/WalkingStick", "40"], + "msg" : ["Ya ol Gramps Malone is right duffer.\nPlays a good game of orc knuckles.\nI think he left his walking stick here last time he came round.\nThink it's under the table..."] + },{ + "match" : ["gramps", "malone", "staff", "stick"], + "pre" : [], + "post": [], + "msg" : ["Ya ol Gramps Malone is right duffer.\nPlays a good game of orc knuckles.\nI think he left his walking stick here last time he came round.\nThink it's under the table..."] + },{ + "match" : ["*"], + "pre" : [], + "post": [], + "msg" : ["Darn bird keeps me awake all night..."] + } +]} diff --git a/scorn/houses/malone.quests b/scorn/houses/malone.quests new file mode 100644 index 000000000..c9bf71c74 --- /dev/null +++ b/scorn/houses/malone.quests @@ -0,0 +1,72 @@ +quest scorn/Earhorn +title Gramps Malone's Earhorn +description +Return an Earhorn to its rightful owner +end_description +restart 0 +step 10 +description +I have found an earhorn which is marked as belonging to Gramps Malone, maybe I should find him and return it +end_description +end_step +step 20 +description +Molly has asked me to find her father's earhorn and return it to him. +end_description +end_step +step 30 +description +Gramps Malone has asked me to find his earhorn and return it to him. +end_description +end_step +step 50 +description +I have found Gramps Malone's earhorn, I should bring it back to him. +end_description +end_step +step 60 +finishes_quest +description +I have returned Gramps Malone's earhorn. +end_description +end_step +end_quest + +quest scorn/WalkingStick +title Gramps Malone's Walking Stick +description +Recover a walking stick on behalf of its owner. +end_description +restart 0 +step 10 +description +I have found a walking stick which is marked as belonging to Gramps Malone, he might want it back +end_description +end_step +step 20 +description +Molly has asked me to find her father's walking stick and return it to him. +end_description +end_step +step 30 +description +Gramps Malone has asked me to find his walking stick and return it to him. +end_description +end_step +step 40 +description +I spoke to J.C. at the riverside apartments in Scorn, he said that Gramps Malone had left his walking stick there. +end_description +end_step +step 50 +description +I have found Gramps Malone's walking stick, I should bring it back to him. +end_description +end_step +step 60 +finishes_quest +description +I have returned Gramps Malone's walking stick. +end_description +end_step +end_quest diff --git a/scorn/houses/molly_malone.msg b/scorn/houses/molly_malone.msg new file mode 100644 index 000000000..7ff0d5f19 --- /dev/null +++ b/scorn/houses/molly_malone.msg @@ -0,0 +1,55 @@ +{ + "location" : "scorn_malone", + "rules": [ + { + "match" : ["hard", "hearing", "deaf", "ear", "horn"], + "pre" : [["quest", "scorn/Earhorn", "60"]], + "post": [], + "msg" : ["Thank you for returning my father's earhorn $you."] + },{ + "match" : ["hard", "hearing", "deaf", "ear", "horn"], + "pre" : [["quest", "scorn/Earhorn", "20"]], + "post": [], + "msg" : ["Good luck tracking down my father's horn"] + },{ + "match" : ["hard", "hearing", "deaf"], + "pre" : [], + "post": [["quest", "scorn/Earhorn", "20"]], + "msg" : ["He's been using an earhorn for the last couple of years so he can hear what I tell him, not that he pays much attention, but he managed to lose it recently, so now he can't even hear to ignore me.\n If you should happen to come across his earhorn in your travels, please bring it back to him."] + },{ + "match" : ["forgetful", "stick", "staff", "walking"], + "pre" : [["quest", "scorn/WalkingStick", "60"]], + "post": [], + "msg" : ["Thank you for returning my father's walking stick, $you."] + },{ + "match" : ["forgetful", "stick", "staff", "walking"], + "pre" : [["quest", "scorn/WalkingStick", "20"]], + "post": [], + "msg" : ["Good luck finding my father's walking stick."] + },{ + "match" : ["forgetful"], + "pre" : [], + "post": [["quest", "scorn/WalkingStick", "20"]], + "msg" : ["Why yes, just the other day he lost his walking stick of all things. \nI can't for the life of me figure out how he got home without it.\n You couldn't keep a lookout for it for him could you? He's been stuck in the house ever since he lost it"] + },{ + "match" : ["work", "job"], + "pre" : [], + "post": [], + "msg" : ["I used to be a fishmonger."] + },{ + "match" : ["dublin", "fair city"], + "pre" : [], + "post": [], + "msg" : ["I'm sorry, I don't know where that is, I used to work around darcap before I gave it up to look after my father"] + },{ + "match" : ["cockles", "mussels", "barrow"], + "pre" : [], + "post": [], + "msg" : ["I had to give up the fishmongering to look after my father"] + },{ + "match" : ["*"], + "pre" : [], + "post": [["settoken", "seenbefore", "yes"]], + "msg" : ["Hello, I'm Molly, I live here in cornerbrook with my father, he's been getting a bit forgetful and rather hard of hearing, so I've been looking after him."] + } +]} \ No newline at end of file diff --git a/scorn/houses/riverside_manor b/scorn/houses/riverside_manor index 3d30d1bde..b375034cd 100644 --- a/scorn/houses/riverside_manor +++ b/scorn/houses/riverside_manor @@ -8,7 +8,7 @@ enter_x 11 enter_y 1 msg Created: 2003-04-27 Avion -Modified: 2008-09-28 Rick Tanner +Modified: 2010-03-31 Cavesomething endmsg outdoor 1 end @@ -513,6 +513,16 @@ endmsg x 2 y 21 type 21 +arch event_pickup +name scorn/WalkingStick 0>10 20-40>50 +title Python +slaying /python/dialog/QuestAdvance.py +end +arch event_drop +name scorn/WalkingStick 60 +title Python +slaying /python/dialog/QuestEssentialUntil.py +end end arch table_3 x 2 @@ -1136,6 +1146,11 @@ endmsg x 6 y 21 randomitems jail +arch event_pickup +name scorn/houses/jc.msg +title Python +slaying /python/dialog/npc_dialog.py +end end arch woodfloor x 6 diff --git a/scorn/scorn.quests b/scorn/scorn.quests index 60a7fc783..39c236efc 100644 --- a/scorn/scorn.quests +++ b/scorn/scorn.quests @@ -1,3 +1,4 @@ +include houses/malone.quests quest scorn/smith/customarmour title Custom Armour diff --git a/scorn/taverns/barking_mule b/scorn/taverns/barking_mule index fbd2e2f0d..acb05addd 100644 --- a/scorn/taverns/barking_mule +++ b/scorn/taverns/barking_mule @@ -8,7 +8,7 @@ enter_x 22 enter_y 14 msg Created: 2003-04-27 Avion -Modified: 2008-09-29 Rick Tanner +Modified: 2010-03-31 Cavesomething endmsg end arch grass @@ -198,6 +198,16 @@ Git yer paws offa it! endmsg type 21 value 1 +arch event_pickup +name scorn/Earhorn 20-30>50 0>10 +title Python +slaying python/dialog/QuestAdvance.py +end +arch event_drop +name scorn/Earhorn 60 +title Python +slaying /python/dialog/QuestEssentialUntil.py +end end end arch grass