Add Alfalfa quest

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13244 282e977c-c81d-0410-88c4-b93c2d0d6712
master
cavesomething 2010-05-16 00:46:15 +00:00
parent 52a82c5aea
commit e8e991c96e
4 changed files with 252 additions and 62 deletions

View File

@ -177,3 +177,37 @@ Milton was delighted with the quality of the coffee I provided him with, he not
end_description
end_step
end_quest
quest scorn/OrcDress
title Alfalfa's Attire
description
Alfalfa was arrested for streaking, and wants some clothes.
end_description
restart 0
step 10
description
I have spoken with Alfalfa in scorn jail, she was arrested for streaking and now the guards won't give her any clothes. She asked me to fetch something for her to wear from her house. Fran at the Barking Mule keeps a spare key for her house.
end_description
end_step
step 20
description
I spoke to Fran, and she gave me a key to Alfalfa's house.
end_description
end_step
step 30
description
I have found one of Alfalfa's dresses, I should bring it back to her.
end_description
end_step
step 40
description
Alfalfa was very grateful to me for returning her dress, she told me of a secret hiding place under the floor of her basement where she keeps her valuables, she asked me to help myself.
end_description
end_step
step 50
finishes_quest
description
I found Alfalfa's secret hiding place.
end_description
end_step
end_quest

View File

@ -0,0 +1,83 @@
{
"location" : "scorn/alfalfa",
"rules": [
{
"match" : ["gate", "pass", "merchant"],
"pre" : [],
"post" : [],
"msg" : ["Just go to the farthest corner from the door and dig into the wall and you will find it."]
},{
"match" : ["guard"],
"pre" : [],
"post" : [],
"msg" : ["They won't give me any clothes either. And I hear the post across the corridor has become a most prized job by the guards!"]
},{
"match" : ["yes"],
"pre" : [["quest", "scorn/OrcDress", "10-30"],["item", "Alfalfa's dress"]],
"post" : [["takeitem", "Alfalfa's dress"], ["quest", "scorn/OrcDress", "40"], ["givecontents", "alfalfaprize"]],
"msg" : ["Thank you for getting me some clothes $you, I don't have anything I can give you here, but if you go back to my house, in the basement, there is a secret hiding place where I keep my valuables, underneath a rock in the south west corner."]
},{
"match" : ["yes"],
"pre" : [["quest", "scorn/OrcDress", "10-30"]],
"post" : [],
"msg" : ["Where are they?"]
},{
"match" : ["no"],
"pre" : [["quest", "scorn/OrcDress", "10-30"]],
"post" : [],
"msg" : ["Oh do hurry up, I don't like the prison guards around here."],
"replies" : [["guards", "Why don't you like the prison guards?", 2]]
},{
"match" : ["no"],
"pre" : [],
"post" : [],
"msg" : ["Oh you are just as mean as the prison guards."],
"replies" : [["guards", "What's wrong with the prison guards?", 2]]
},{
"match" : ["clothes"],
"pre" : [["quest", "scorn/OrcDress", "40"]],
"post" : [],
"msg" : ["Thank you for getting me some clothes $you"],
"replies" : [["house", "Where is your house?", 2]]
},{
"match" : ["clothes"],
"pre" : [],
"post" : [],
"msg" : ["Well, I doubt that you could find clothes that fit me, you will need to get some from my house"],
"replies" : [["house", "Where is your house?", 2]]
},{
"match" : ["key"],
"pre" : [],
"post" : [["quest", "scorn/OrcDress", "10"]],
"msg" : ["The door slammed shut behind me as I fled, locking me out. My friend Fran has a spare key to my house, ask her for it, she works over at the barking mule. Tell her I sent you.\n"]
},{
"match" : ["house"],
"pre" : [],
"post" : [],
"msg" : ["I'm Alfalfa, and I live, or used to live at, Number 32, River Road.\n It's at the south side of the town, just a few chains south of the wanderer's inn. You'll need a key to get in\n"],
"replies" : [["key", "Don't you have a key?", 2]]
},{
"match" : ["streaking", "arrest", "naked"],
"pre" : [],
"post" : [],
"msg" : ["I had to run from my house in the middle of the night, as band of orcs crashed though my bedroom door!"],
"replies" : [["house", "where is your house?", 2]]
},{
"match" : ["*"],
"pre" : [["quest", "scorn/OrcDress", "40"]],
"post" : [],
"msg" : ["Thank you for getting clothes for me $you"]
}{
"match" : ["*"],
"pre" : [["quest", "scorn/OrcDress", "10-30"]],
"post" : [],
"msg" : ["Hello, $you, have you been able to find some clothes for me"],
"replies" : [["yes", "Yes, here you are"], ["no", "No, no joy yet"]]
},{
"match" : ["*"],
"pre" : [["quest", "scorn/OrcDress", "=0"]],
"post" : [],
"msg" : ["I was arrested for streaking.\nWould you be able to get me some clothes please?"],
"replies" : [["streaking", "Why were you streaking?", 2], ["clothes", "Where can I get clothes from?", 2], ["no", "I'm sorry, I don't have time to go fetching clothes"]]
}
]}

View File

@ -0,0 +1,33 @@
{
"location" : "scorn/alfalfa",
"rules": [
{
"match" : ["*"],
"pre" : [["quest", "scorn/OrcDress", "40"]],
"post" : [],
"msg" : ["I wagered two week's pay to secure this post, and now she's gone and ruined the view."]
},{
"match" : ["clothes"],
"pre" : [],
"post" : [],
"msg" : ["Give her clothes, and spoil the view! Not likely."]
"replies" : [["view", "What view is that?"]]
},{
"match" : ["post"],
"pre" : [],
"post" : [],
"msg" : ["This post has become the most sought after post amongst the guards. It has the best view in the prison!"],
"replies": [["view", "What's so good about the view?"]]
},{
"match" : ["view"],
"pre" : [],
"post" : [],
"msg" : ["Can't you see the great looking lass across the corridor? Such long legs and so big too."]
},{
"match" : ["*"],
"pre" : [],
"post" : [],
"msg" : ["I won this post from the other guards in a game. Now go away and let me watch the great view."],
"replies" : [["view", "What view are you watching?"], ["post", "Why'd you want to win this post?"]]
}
]}

View File

@ -8,7 +8,7 @@ enter_x 9
enter_y 23
msg
Created: 1998-12-26 Anthony Thyssen (anthony@cit.gu.edu.au)
Modified: 2008-12-16 Rick Tanner
Modified: 2010-05-15 Cavesomething
endmsg
end
arch cobblestones2
@ -1016,6 +1016,17 @@ arch swall_2_1_1
x 6
y 9
end
arch magic_mouth
msg
The guard shakes his halberd at you..
Watch it will you! I can't see with you
standing there.
endmsg
x 6
y 10
connected 69
move_on 0
end
arch flagstone
x 6
y 10
@ -1024,6 +1035,37 @@ arch bwall_1_3
x 6
y 10
end
arch magic_mouth
msg
The prison guard shouts at you..
Move it will you, you are blocking my
view
endmsg
x 6
y 10
connected 67
move_on 0
end
arch magic_mouth
msg
The prison guard gets angry and yells..
Will you get out of the way
endmsg
x 6
y 10
connected 68
move_on 0
end
arch magic_mouth
msg
The prison guard mutters morosely
What do you want?
endmsg
x 6
y 10
connected 70
move_on 0
end
arch flagstone
x 6
y 11
@ -1196,25 +1238,13 @@ y 10
end
arch guard
name goggle eyed guard
msg
@match post|game|won
This post has become the most sought
after post amongst the guards. It
has the best view in the prison!
@match clothes
Give her clothes, and spoil the view!
Not likely.
@match watch|view
Yes can't you see the great looking
lass across the corridor. Such long
legs and so big too.
@match *
I won this post from the other guards
in a game. Now go away and let me watch
the great view.
endmsg
x 7
y 10
arch event_say
name scorn/misc/goggleguard.msg
title Python
slaying /python/dialog/npc_dialog.py
end
end
arch cobblestones
x 7
@ -1359,26 +1389,49 @@ arch cobblestones
x 8
y 9
end
arch magic_mouth
msg
The prison guard shouts at you..
Move it will you, you are blocking my
view
endmsg
arch check_floor
hp 1
x 8
y 10
arch event_trigger
name scorn/OrcDress 0-30 67
title Python
slaying python/quests/QuestTriggerConnect.py
end
end
arch check_floor
hp 1
x 8
y 10
arch event_trigger
name scorn/OrcDress 40-50 70
title Python
slaying python/quests/QuestTriggerConnect.py
end
end
arch cobblestones
x 8
y 10
end
arch magic_mouth
msg
The prison guard gets angry and yells..
Will you get out of the way
endmsg
arch check_floor
hp 1
x 8
y 11
arch event_trigger
name scorn/OrcDress 0-30 68
title Python
slaying python/quests/QuestTriggerConnect.py
end
end
arch check_floor
hp 1
x 8
y 11
arch event_trigger
name scorn/OrcDress 40-50 70
title Python
slaying python/quests/QuestTriggerConnect.py
end
end
arch cobblestones
x 8
@ -1507,14 +1560,15 @@ arch cobblestones
x 9
y 10
end
arch magic_mouth
msg
The guard shakes his halberd at you..
Watch it will you! I can't see with you
standing there.
endmsg
arch check_floor
hp 1
x 9
y 11
arch event_trigger
name scorn/OrcDress 0-30 69
title Python
slaying python/quests/QuestTriggerConnect.py
end
end
arch cobblestones
x 9
@ -2291,36 +2345,22 @@ end
arch mabu
name naked woman
msg
@match yes|clothes|dress
Oh thank you. Please give them to me.
@match no
Oh you are just as mean as the prison
guards.
@match guard|guards
They won't give me any clothes either.
And I hear the post across the
corridor has become a most prized job
by the guards!
@match streaking|arrested|naked
I had to run from my home in the middle
of the night, as band of orc's crashed
though the bedroom door!
@match home|where|address|name
I'm Alfalfa, and I live, or used to
live at, Number 32, River Road.
Oh please get rid of those horrible
Orc's and I'll give you a Merchants
Gate Pass.
@match gate|pass|merchant
Just go to the farthest corner from the
door and dig into the wall and you will
find it.
@match *
I was arrested for streaking.
Do you have any spare clothes?
endmsg
x 14
y 11
arch event_say
name scorn/misc/alfalfa.msg
title Python
slaying /python/dialog/npc_dialog.py
end
arch pouch
name alfalfaprize
arch marker
slaying alfalfastashaccess
food 0
end
end
end
arch flagstone
x 14