Quest for Cameron, the tavern owner: search why he doesn't get some special wine.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13412 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
39ae6d7f86
commit
50e2fd101e
|
@ -7,7 +7,7 @@ height 50
|
|||
enter_x 38
|
||||
enter_y 2
|
||||
msg
|
||||
Modified: 2008-09-13 Rick Tanner
|
||||
Modified: 2010-06-19 Nicolas Weeger
|
||||
endmsg
|
||||
end
|
||||
arch blocked
|
||||
|
@ -17817,6 +17817,25 @@ end
|
|||
arch gnoll
|
||||
x 56
|
||||
y 37
|
||||
arch scythe1
|
||||
name Talok's scythe
|
||||
material 0
|
||||
drop_if_quest darcap/Cameron-wine 30
|
||||
arch event_drop
|
||||
name darcap/Cameron-wine 50
|
||||
title Python
|
||||
slaying /python/quests/QuestEssentialUntil.py
|
||||
end
|
||||
arch event_pickup
|
||||
name darcap/Cameron-wine 30>40
|
||||
title Python
|
||||
slaying /python/quests/QuestAdvance.py
|
||||
end
|
||||
end
|
||||
arch event_death
|
||||
title Python
|
||||
slaying /python/quests/QuestConditionalDrop.py
|
||||
end
|
||||
end
|
||||
arch pstone_2
|
||||
x 56
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include darcap/cameron.quests
|
||||
quest darcap/Spike
|
||||
title Spike's aching back
|
||||
description
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
"location" : "darcap/cameron",
|
||||
"rules": [
|
||||
{
|
||||
"match" : ["yes"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "=60"], ["npctoken", "askedstatus", "1"]],
|
||||
"post" : [["setnpctoken", "askedstatus", "0"], ["givecontents", "wine-reward"], ["quest", "darcap/Cameron-wine", "70"]],
|
||||
"msg" : ["Oh, many many thanks!\n\nHere, take those small jewels as a reward."],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["wine"],
|
||||
"pre" : [["item", "money", "18"], ["npctoken", "step", "drink"]],
|
||||
"post" : [["takeitem", "money", "18"], ["giveitem", "bottle of wine"], ["setnpctoken", "step", "0"]],
|
||||
|
@ -27,9 +33,63 @@
|
|||
"replies" : [["drink", "Ok, what about drinks, then?", "2"]]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "=60"]],
|
||||
"post" : [["setnpctoken", "askedstatus", "1"]],
|
||||
"msg" : ["Hello, what can I get you?\n\nSo, did you get any clue about Scartis's wine?"],
|
||||
"replies" : [["drinks", "What drinks do you have?", "2"], ["food", "Do you have anything to eat?", "2"], ["yes", "Yes, and Scartis will now have wine again!", "1"]]
|
||||
},{
|
||||
"match" : ["ok"],
|
||||
"pre" : [["npctoken", "askedhelp", "3"]],
|
||||
"post" : [["setnpctoken", "askedhelp", "0"], ["quest", "darcap/Cameron-wine", "10"]],
|
||||
"msg" : ["Oh many thanks!\n\nScartis's shop is located south of Darcap, just near the exit."],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["no"],
|
||||
"pre" : [["npctoken", "askedhelp", "3"]],
|
||||
"post" : [["setnpctoken", "askedhelp", "0"]],
|
||||
"msg" : ["Ok, well, thanks for listening to my troubles."],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["sure"],
|
||||
"pre" : [["npctoken", "askedhelp", "2"]],
|
||||
"post" : [["setnpctoken", "askedhelp", "3"]],
|
||||
"msg" : ["Well, since some time, I can't get any wine from Scartis's shop, and that's worrying me. And I have too much work here to go check.\n\nWould you be as glad as go ask what happened?"],
|
||||
"replies" : [["ok", "Ok, I'll go check.", "1"], ["no", "Sorry, I'm really busy for now...", "1"]]
|
||||
},{
|
||||
"match" : ["no"],
|
||||
"pre" : [["npctoken", "askedhelp", "2"]],
|
||||
"post" : [["setnpctoken", "askedhelp", "0"]],
|
||||
"msg" : ["Ha, no problem."],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["yes"],
|
||||
"pre" : [["npctoken", "askedhelp", "1"]],
|
||||
"post" : [["setnpctoken", "askedhelp", "2"]],
|
||||
"msg" : ["Actually, I could use some help too, if you'd help me?\n\nOf course I'd reward you."],
|
||||
"replies" : [["sure", "Well, tell me, and I may be able to help you.", "1"], ["no", "Sorry, but right now I'm busy.", "1"]]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["questdone", "darcap/Spike", "50"], ["quest", "darcap/Cameron-wine", "=0"]],
|
||||
"post" : [["setnpctoken", "askedhelp", "1"]],
|
||||
"msg" : ["Hello, what can I get you?\n\nSorry to ask, but didn't you help Spike get a potion for his backache?"],
|
||||
"replies" : [["drinks", "What drinks do you have?", "2"], ["food", "Do you have anything to eat?", "2"], ["yes", "Well, yes, I helped him some.", "1"]]
|
||||
},{
|
||||
"match" : ["yes", "no"],
|
||||
"pre" : [["npctoken", "askedstatus", "1"]],
|
||||
"post" : [["setnpctoken", "askedstatus", "0"]],
|
||||
"msg" : ["Well, please let me know when you find what happened..."],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "10-50"]],
|
||||
"post" : [["setnpctoken", "askedstatus", "1"]],
|
||||
"msg" : ["Hello, what can I get you?\n\nSo, did you get any clue about Scartis's wine?"],
|
||||
"replies" : [["drinks", "What drinks do you have?", "2"], ["food", "Do you have anything to eat?", "2"], ["yes", "Yes, but I haven't solved everything yet.", "1"], ["no", "No, not yet.", "1"]]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [],
|
||||
"post" : [],
|
||||
"msg" : ["What can I get you?"],
|
||||
"msg" : ["Hello, what can I get you?"],
|
||||
"replies" : [["drinks", "What drinks do you have?", "2"], ["food", "Do you have anything to eat?", "2"]]
|
||||
}
|
||||
]}
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
quest darcap/Cameron-wine
|
||||
title Scartis's wine
|
||||
description
|
||||
Cameron, the tavern owner, is worried to not get anymore wine from Scartis's wine factory.
|
||||
end_description
|
||||
step 10
|
||||
description
|
||||
I must go to Scartis's factory, south of Darcap, and check what happened.
|
||||
end_description
|
||||
end_step
|
||||
step 20
|
||||
description
|
||||
I must go talk to the winemaker, west of Darcap's exit.
|
||||
end_description
|
||||
end_step
|
||||
step 30
|
||||
description
|
||||
I must recover Talok's scythe. A gnoll living in a cave, in a small mountain range south of Darcap, took it.
|
||||
end_description
|
||||
end_step
|
||||
step 40
|
||||
description
|
||||
I got Talok's scythe, I should bring it back to her.
|
||||
end_description
|
||||
end_step
|
||||
step 50
|
||||
description
|
||||
I should talk to Scartis.
|
||||
end_description
|
||||
end_step
|
||||
step 60
|
||||
description
|
||||
I should talk to Cameron.
|
||||
end_description
|
||||
end_step
|
||||
step 70
|
||||
finishes_quest
|
||||
description
|
||||
Cameron can now have good wine again.
|
||||
end_description
|
||||
end_step
|
||||
end_quest
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"rules": [
|
||||
{
|
||||
"match" : ["wine"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "=10"], ["npctoken", "greet", "1"]],
|
||||
"post" : [["quest", "darcap/Cameron-wine", "20"]],
|
||||
"msg" : ["Ha, if Cameron trusts you, then I guess I can trust you too.\n\nActually, my winemaker lost his special scythe. Without it, he can't cut grapes - so he says.\n\nI suggest you go check with him. The farm is located just west of Darcap's exit."],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "=10"]],
|
||||
"post" : [["setnpctoken", "greet", "1"]],
|
||||
"msg" : ["Hello, and welcome to Scartis's Fine Wines!\n\nHere you will find wines that you can't find any place else, guaranteed!"],
|
||||
"replies" : [["wine", "Cameron, the tavern owner, is worried to not get your famous wine, lately...", "0"]]
|
||||
},{
|
||||
"match" : ["scythe"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "=50"]],
|
||||
"post" : [["quest", "darcap/Cameron-wine", "60"]],
|
||||
"msg" : ["Ho, that's great!\n\nThank you very much, now I can again sell my famous wine!"],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "=50"]],
|
||||
"post" : [],
|
||||
"msg" : ["Hello, and welcome to Scartis's Fine Wines!\n\nHere you will find wines that you can't find any place else, guaranteed!"],
|
||||
"replies" : [["scythe", "I brought back Talok's scythe, so she can again cut grapes.", "0"]]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [],
|
||||
"post" : [],
|
||||
"msg" : ["Hello, and welcome to Scartis's Fine Wines!\n\nHere you will find wines that you can't find any place else, guaranteed!"],
|
||||
"replies" : []
|
||||
}
|
||||
]}
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"location" : "darcap/talok",
|
||||
"rules": [
|
||||
{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "50"]],
|
||||
"post" : [],
|
||||
"msg" : ["Hello $you, what a great day, isn't it?", "Hello $you, how are you doing?"],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["yes"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "30"], ["npctoken", "step", "asked"], ["item", "Talok's scythe"]],
|
||||
"post" : [["quest", "darcap/Cameron-wine", "50"], ["takeitem", "Talok's scythe"]],
|
||||
"msg" : ["Thank you!\n\nNow I can finally get back to cutting grapes!"],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["yes"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "30"], ["npctoken", "step", "asked"]],
|
||||
"post" : [["setnpctoken", "step", "start"]],
|
||||
"msg" : ["But where is it?"],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["no"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "30"], ["npctoken", "step", "asked"]],
|
||||
"post" : [["setnpctoken", "step", "start"]],
|
||||
"msg" : ["Well, talk to me again when you got it, then..."],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "30"]],
|
||||
"post" : [["setnpctoken", "step", "asked"]],
|
||||
"msg" : ["So, did you recover my scythe?"],
|
||||
"replies" : [["yes", "Yes, I got it!", "1"], ["no", "No, not yet...", "1"]]
|
||||
},{
|
||||
"match" : ["search"],
|
||||
"pre" : [["npctoken", "step", "mountains"]],
|
||||
"post" : [["quest", "darcap/Cameron-wine", "30"]],
|
||||
"msg" : ["Really?\n\nThat's very nice of you, thank you!"],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["where"],
|
||||
"pre" : [["npctoken", "step", "stolen"]],
|
||||
"post" : [["setnpctoken", "step", "mountains"]],
|
||||
"msg" : ["Actually I do. I followed him to a small cave in a small mountain range, just south of Darcap.\n\nBut I didn't dare enter, I've heard weird sounds, like undead howls, and felt some breath of big creatures.\n\n*shiver*"],
|
||||
"replies" : [["search", "Well, if you want, I can go and recover it.", "0"]]
|
||||
},{
|
||||
"match" : ["scythe"],
|
||||
"pre" : [["npctoken", "step", "greeted"]],
|
||||
"post" : [["setnpctoken", "step", "stolen"]],
|
||||
"msg" : ["Actually I didn't lose it, a gnoll stole it from me!"],
|
||||
"replies" : [["where", "Do you have any idea where this gnoll ran away?", "2"]]
|
||||
},{
|
||||
"match" : ["hello", "hi"],
|
||||
"pre" : [["quest", "darcap/Cameron-wine", "20"]],
|
||||
"post" : [["setnpctoken", "step", "greeted"]],
|
||||
"msg" : ["Hello.\n\nWhat can I do to help you?"],
|
||||
"replies" : [["scythe", "According to Scartis, you lost your scythe, and thus can't cut grapes?", "2"]]
|
||||
},{
|
||||
"match" : ["hello", "hi"],
|
||||
"pre" : [],
|
||||
"post" : [],
|
||||
"msg" : ["Hello.\n\nWhat can I do to help you?"],
|
||||
"replies" : []
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [],
|
||||
"post" : [["setnpctoken", "step", "start"]],
|
||||
"msg" : ["..."],
|
||||
"replies" : []
|
||||
}
|
||||
]}
|
|
@ -521,6 +521,15 @@ end
|
|||
arch NPCGift
|
||||
arch wine
|
||||
end
|
||||
arch pouch
|
||||
name wine-reward
|
||||
arch emerald
|
||||
nrof 2
|
||||
end
|
||||
arch pearl
|
||||
nrof 5
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
arch magic_banned
|
||||
|
|
|
@ -5,7 +5,7 @@ region darcap
|
|||
width 50
|
||||
height 50
|
||||
msg
|
||||
Modified: 2010-03-13 Nicolas Weeger
|
||||
Modified: 2010-06-19 Nicolas Weeger
|
||||
endmsg
|
||||
outdoor 1
|
||||
tile_path_1 world_116_101
|
||||
|
@ -2838,6 +2838,14 @@ x 10
|
|||
y 47
|
||||
elevation 245
|
||||
end
|
||||
arch barn2
|
||||
name Grape farm
|
||||
slaying ../darcap/darcap/grape_farm
|
||||
hp 7
|
||||
sp 13
|
||||
x 10
|
||||
y 47
|
||||
end
|
||||
arch brush
|
||||
x 10
|
||||
y 48
|
||||
|
@ -3097,6 +3105,10 @@ x 11
|
|||
y 49
|
||||
elevation 30
|
||||
end
|
||||
arch dirtroad_2_051
|
||||
x 11
|
||||
y 49
|
||||
end
|
||||
arch hills_rocky
|
||||
x 12
|
||||
elevation 1707
|
||||
|
@ -8292,6 +8304,10 @@ y 44
|
|||
elevation 0
|
||||
end
|
||||
arch house_1
|
||||
name Scartis's Fine Wine
|
||||
slaying /darcap/darcap/scartis
|
||||
hp 7
|
||||
sp 14
|
||||
x 28
|
||||
y 44
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue