Quest handling for Terry's farm. This commit includes some quest definitions that are not implemented on the maps yet.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12999 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
60f70e48b7
commit
ff2e587c25
134
default.quests
134
default.quests
|
@ -251,6 +251,140 @@ I have returned Gramps Malone's walking stick.
|
|||
end_description
|
||||
end_step
|
||||
end_quest
|
||||
quest scorn/DisputedFarm
|
||||
title Old Man Terry Had a Farm
|
||||
description
|
||||
The Bandit leader Guuh has been beseiging Terry's farm just outside scorn
|
||||
end_description
|
||||
restart 0
|
||||
step 10
|
||||
description
|
||||
The farmers have asked me to kill the bandit Guuh, and bring me his head.
|
||||
end_description
|
||||
end_step
|
||||
step 20
|
||||
description
|
||||
The bandit Guuh has asked me to kill the farmers, so that he and his people can live on this land in peace.
|
||||
end_description
|
||||
end_step
|
||||
step 40
|
||||
finishes_quest
|
||||
description
|
||||
I have killed the bandit Guuh, and reported his death to the farmers, they seemed pleased by this.
|
||||
end_description
|
||||
end_step
|
||||
step 50
|
||||
finishes_quest
|
||||
description
|
||||
I have killed the farmers, and reported their death to Guuh
|
||||
end_description
|
||||
end_step
|
||||
step 60
|
||||
description
|
||||
I have killed both the farmers and Guuh, I guess this means that neither of them will get the farm.
|
||||
end_description
|
||||
end_step
|
||||
step 70
|
||||
description
|
||||
The magistrate at scorn city hall told me that the farm outside scorn was for sale, and offered me ownership of it for 5000 platinum
|
||||
end_description
|
||||
end_step
|
||||
step 80
|
||||
finishes_quest
|
||||
description
|
||||
I purchased the property from the magistrate, I now own a farm just outside the walls of scorn.
|
||||
end_description
|
||||
end_step
|
||||
|
||||
quest scorn/TerrysFarm
|
||||
title Kill the Bandit Guuh at Terry's Farm
|
||||
description
|
||||
Some farmers have asked for assistance in killing the evil bandit Guuh.
|
||||
end_description
|
||||
restart 0
|
||||
step 10
|
||||
description
|
||||
I spoke with Terry the farmer who asked me to help with some bandits who had invaded their farm he told me to speak to his wife to get a key to reach the rooms that they occupy.
|
||||
end_description
|
||||
end_step
|
||||
step 20
|
||||
description
|
||||
I spoke to the wife of Terry the farmer who told me that there were bandits in the eastern rooms of their farmhouse. She didn't think I would be able to handle them however, so asked me to come back when I was stronger.
|
||||
end_description
|
||||
end_step
|
||||
step 30
|
||||
description
|
||||
I spoke to the wife of Terry the farmer who told me that there were bandits in the eastern rooms of their farmhouse. She wasn't convinced that I was strong enough to defeat the bandits, but accepted my offer of help anyway, and gave me the key to the room they were locked in.
|
||||
end_description
|
||||
end_step
|
||||
step 40
|
||||
description
|
||||
The farmer's wife has asked me to clear out the bandits from their farm, and wants me to bring her the head of the leader Guuh.
|
||||
end_description
|
||||
end_step
|
||||
step 50
|
||||
description
|
||||
I have killed the bandit Guuh, I should return his head for my reward.
|
||||
end_description
|
||||
end_step
|
||||
step 60
|
||||
finishes_quest
|
||||
description
|
||||
The farmers were delighted that I ended the seige of their farm, and offered to let me take whatever I chose from their store room.
|
||||
end_description
|
||||
end_step
|
||||
step 70
|
||||
finishes_quest
|
||||
description
|
||||
I have killed one of the farmers.
|
||||
end_description
|
||||
end_step
|
||||
end_quest
|
||||
|
||||
quest scorn/GuuhsFarm
|
||||
title Kill the Farmer Terry on Guuh's land
|
||||
description
|
||||
Guuh claims that Terry has seized his land, and wants you to kill him and his wife so that he can reclaim it.
|
||||
end_description
|
||||
restart 0
|
||||
step 10
|
||||
description
|
||||
I spoke with Guuh, and he told me that the farmers had seized land that his band of nomads had lived on for years. Now they were seeking to kill him and his followers to secure their theft. Guuh asked me to kill the farmers, so that he and his people could live in safety and peace.
|
||||
end_description
|
||||
end_step
|
||||
step 20
|
||||
description
|
||||
I have killed Terry the farmer.
|
||||
end_description
|
||||
end_step
|
||||
step 30
|
||||
description
|
||||
I have killed the wife of Terry the farmer.
|
||||
end_description
|
||||
end_step
|
||||
step 40
|
||||
description
|
||||
I have killed Terry and his wife, Guuh should be pleased about this.
|
||||
end_description
|
||||
end_step
|
||||
step 50
|
||||
finishes_quest
|
||||
description
|
||||
I told Guuh about the death of the farmers, he was saddened by this, but also relieved that it meant that his people could now live in peace.
|
||||
end_description
|
||||
end_step
|
||||
step 60
|
||||
description
|
||||
I have killed one of Guuh's henchmen
|
||||
end_description
|
||||
end_step
|
||||
step 70
|
||||
finishes_quest
|
||||
description
|
||||
I have killed Guuh.
|
||||
end_description
|
||||
end_step
|
||||
end_quest
|
||||
quest tutorial/keys
|
||||
title Getting Past Locked Doors
|
||||
description
|
||||
|
|
|
@ -0,0 +1,134 @@
|
|||
quest scorn/DisputedFarm
|
||||
title Old Man Terry Had a Farm
|
||||
description
|
||||
The Bandit leader Guuh has been beseiging Terry's farm just outside scorn
|
||||
end_description
|
||||
restart 0
|
||||
step 10
|
||||
description
|
||||
The farmers have asked me to kill the bandit Guuh, and bring me his head.
|
||||
end_description
|
||||
end_step
|
||||
step 20
|
||||
description
|
||||
The bandit Guuh has asked me to kill the farmers, so that he and his people can live on this land in peace.
|
||||
end_description
|
||||
end_step
|
||||
step 40
|
||||
finishes_quest
|
||||
description
|
||||
I have killed the bandit Guuh, and reported his death to the farmers, they seemed pleased by this.
|
||||
end_description
|
||||
end_step
|
||||
step 50
|
||||
finishes_quest
|
||||
description
|
||||
I have killed the farmers, and reported their death to Guuh
|
||||
end_description
|
||||
end_step
|
||||
step 60
|
||||
description
|
||||
I have killed both the farmers and Guuh, I guess this means that neither of them will get the farm.
|
||||
end_description
|
||||
end_step
|
||||
step 70
|
||||
description
|
||||
The magistrate at scorn city hall told me that the farm outside scorn was for sale, and offered me ownership of it for 5000 platinum
|
||||
end_description
|
||||
end_step
|
||||
step 80
|
||||
finishes_quest
|
||||
description
|
||||
I purchased the property from the magistrate, I now own a farm just outside the walls of scorn.
|
||||
end_description
|
||||
end_step
|
||||
|
||||
quest scorn/TerrysFarm
|
||||
title Kill the Bandit Guuh at Terry's Farm
|
||||
description
|
||||
Some farmers have asked for assistance in killing the evil bandit Guuh.
|
||||
end_description
|
||||
restart 0
|
||||
step 10
|
||||
description
|
||||
I spoke with Terry the farmer who asked me to help with some bandits who had invaded their farm he told me to speak to his wife to get a key to reach the rooms that they occupy.
|
||||
end_description
|
||||
end_step
|
||||
step 20
|
||||
description
|
||||
I spoke to the wife of Terry the farmer who told me that there were bandits in the eastern rooms of their farmhouse. She didn't think I would be able to handle them however, so asked me to come back when I was stronger.
|
||||
end_description
|
||||
end_step
|
||||
step 30
|
||||
description
|
||||
I spoke to the wife of Terry the farmer who told me that there were bandits in the eastern rooms of their farmhouse. She wasn't convinced that I was strong enough to defeat the bandits, but accepted my offer of help anyway, and gave me the key to the room they were locked in.
|
||||
end_description
|
||||
end_step
|
||||
step 40
|
||||
description
|
||||
The farmer's wife has asked me to clear out the bandits from their farm, and wants me to bring her the head of the leader Guuh.
|
||||
end_description
|
||||
end_step
|
||||
step 50
|
||||
description
|
||||
I have killed the bandit Guuh, I should return his head for my reward.
|
||||
end_description
|
||||
end_step
|
||||
step 60
|
||||
finishes_quest
|
||||
description
|
||||
The farmers were delighted that I ended the seige of their farm, and offered to let me take whatever I chose from their store room.
|
||||
end_description
|
||||
end_step
|
||||
step 70
|
||||
finishes_quest
|
||||
description
|
||||
I have killed one of the farmers.
|
||||
end_description
|
||||
end_step
|
||||
end_quest
|
||||
|
||||
quest scorn/GuuhsFarm
|
||||
title Kill the Farmer Terry on Guuh's land
|
||||
description
|
||||
Guuh claims that Terry has seized his land, and wants you to kill him and his wife so that he can reclaim it.
|
||||
end_description
|
||||
restart 0
|
||||
step 10
|
||||
description
|
||||
I spoke with Guuh, and he told me that the farmers had seized land that his band of nomads had lived on for years. Now they were seeking to kill him and his followers to secure their theft. Guuh asked me to kill the farmers, so that he and his people could live in safety and peace.
|
||||
end_description
|
||||
end_step
|
||||
step 20
|
||||
description
|
||||
I have killed Terry the farmer.
|
||||
end_description
|
||||
end_step
|
||||
step 30
|
||||
description
|
||||
I have killed the wife of Terry the farmer.
|
||||
end_description
|
||||
end_step
|
||||
step 40
|
||||
description
|
||||
I have killed Terry and his wife, Guuh should be pleased about this.
|
||||
end_description
|
||||
end_step
|
||||
step 50
|
||||
finishes_quest
|
||||
description
|
||||
I told Guuh about the death of the farmers, he was saddened by this, but also relieved that it meant that his people could now live in peace.
|
||||
end_description
|
||||
end_step
|
||||
step 60
|
||||
description
|
||||
I have killed one of Guuh's henchmen
|
||||
end_description
|
||||
end_step
|
||||
step 70
|
||||
finishes_quest
|
||||
description
|
||||
I have killed Guuh.
|
||||
end_description
|
||||
end_step
|
||||
end_quest
|
|
@ -9,6 +9,7 @@ enter_x 11
|
|||
enter_y 9
|
||||
msg
|
||||
Created: 2003-05-03
|
||||
Modified: 2010-03-31 Cavesomething
|
||||
endmsg
|
||||
end
|
||||
arch grass
|
||||
|
@ -374,41 +375,41 @@ arch woodfloor2
|
|||
x 3
|
||||
y 6
|
||||
end
|
||||
arch check_inv
|
||||
slaying scornfarmbandithead
|
||||
x 3
|
||||
y 6
|
||||
connected 4
|
||||
end
|
||||
arch magic_mouth
|
||||
msg
|
||||
Farmer's wife says:
|
||||
Thanks for saving us from Guuh and his bandits!
|
||||
You may take whatever you wish from our treasure room.
|
||||
endmsg
|
||||
food 1
|
||||
x 3
|
||||
y 7
|
||||
connected 4
|
||||
move_on 0
|
||||
end
|
||||
arch woodfloor2
|
||||
x 3
|
||||
y 7
|
||||
end
|
||||
arch fatwoman
|
||||
name Farmer's wife
|
||||
msg
|
||||
@match *
|
||||
Guuh, the bandits' leader, has been troubling us for a long time.
|
||||
If you can kill him and bring his head here, I will give you a reward.
|
||||
endmsg
|
||||
name June the farmer's wife
|
||||
x 3
|
||||
y 7
|
||||
type 0
|
||||
monster 0
|
||||
friendly 1
|
||||
unaggressive 0
|
||||
stand_still 1
|
||||
arch NPCGift
|
||||
arch key2
|
||||
name Farmer's key
|
||||
name_pl Farmer's keys
|
||||
slaying scornfarmkey
|
||||
arch event_drop
|
||||
name scorn/TerrysFarm 60
|
||||
title Python
|
||||
slaying /python/dialog/QuestEssentialUntil.py
|
||||
end
|
||||
end
|
||||
end
|
||||
arch event_say
|
||||
name scorn/houses/terrys_wife.msg
|
||||
title Python
|
||||
slaying /python/dialog/npc_dialog.py
|
||||
end
|
||||
arch event_death
|
||||
name scorn/TerrysFarm 0-50>70
|
||||
title Python
|
||||
slaying /python/dialog/QuestAdvance.py
|
||||
end
|
||||
end
|
||||
arch woodfloor2
|
||||
x 3
|
||||
|
@ -486,22 +487,10 @@ arch woodfloor2
|
|||
x 4
|
||||
y 6
|
||||
end
|
||||
arch check_inv
|
||||
slaying scornfarmbandithead
|
||||
x 4
|
||||
y 6
|
||||
connected 4
|
||||
end
|
||||
arch woodfloor2
|
||||
x 4
|
||||
y 7
|
||||
end
|
||||
arch check_inv
|
||||
slaying scornfarmbandithead
|
||||
x 4
|
||||
y 7
|
||||
connected 4
|
||||
end
|
||||
arch woodfloor2
|
||||
x 4
|
||||
y 8
|
||||
|
@ -606,13 +595,6 @@ arch table_3
|
|||
x 5
|
||||
y 8
|
||||
end
|
||||
arch key2
|
||||
name Farmer's key
|
||||
name_pl Farmer's keys
|
||||
slaying scornfarmkey
|
||||
x 5
|
||||
y 8
|
||||
end
|
||||
arch woodfloor2
|
||||
x 5
|
||||
y 9
|
||||
|
@ -847,18 +829,6 @@ y 6
|
|||
arch carrot
|
||||
end
|
||||
end
|
||||
arch magic_mouth
|
||||
msg
|
||||
Terry the farmer says:
|
||||
Brave adventurer!
|
||||
A gang of bandits have broken into our storehouse.
|
||||
Please help us save our livestock!
|
||||
endmsg
|
||||
x 8
|
||||
y 7
|
||||
connected 7
|
||||
move_on 0
|
||||
end
|
||||
arch woodfloor2
|
||||
x 8
|
||||
y 7
|
||||
|
@ -876,6 +846,16 @@ monster 0
|
|||
friendly 1
|
||||
unaggressive 0
|
||||
stand_still 1
|
||||
arch event_say
|
||||
name scorn/houses/terry.msg
|
||||
title Python
|
||||
slaying /python/dialog/npc_dialog.py
|
||||
end
|
||||
arch event_death
|
||||
name scorn/TerrysFarm 0-50>70
|
||||
title Python
|
||||
slaying /python/dialog/QuestAdvance.py
|
||||
end
|
||||
end
|
||||
arch woodfloor2
|
||||
x 8
|
||||
|
@ -959,13 +939,6 @@ arch woodfloor2
|
|||
x 9
|
||||
y 7
|
||||
end
|
||||
arch check_inv
|
||||
slaying scornfarmbandithead
|
||||
x 9
|
||||
y 7
|
||||
last_sp 0
|
||||
connected 7
|
||||
end
|
||||
arch woodfloor2
|
||||
x 9
|
||||
y 8
|
||||
|
@ -1192,20 +1165,6 @@ arch woodfloor2
|
|||
x 12
|
||||
y 2
|
||||
end
|
||||
arch slave
|
||||
name Farmer's servant
|
||||
msg
|
||||
@match *
|
||||
Be careful, the leader of the Bandits is dangerous.
|
||||
You should be at least level 5 to fight him.
|
||||
endmsg
|
||||
x 12
|
||||
y 2
|
||||
monster 0
|
||||
friendly 1
|
||||
unaggressive 0
|
||||
stand_still 1
|
||||
end
|
||||
arch woodfloor2
|
||||
x 12
|
||||
y 3
|
||||
|
@ -2226,6 +2185,11 @@ msg
|
|||
Blood-stained troll head, still drooling from greed
|
||||
endmsg
|
||||
face head.111
|
||||
arch event_drop
|
||||
name scorn/TerrysFarm 60
|
||||
title Python
|
||||
slaying /python/dialog/QuestEssentialUntil.py
|
||||
end
|
||||
end
|
||||
arch big_club
|
||||
name Guuh's club
|
||||
|
@ -2241,6 +2205,11 @@ end
|
|||
arch goldcoin
|
||||
nrof 50
|
||||
end
|
||||
arch event_death
|
||||
name scorn/TerrysFarm 30-40>50
|
||||
title Python
|
||||
slaying /python/dialog/QuestAdvance.py
|
||||
end
|
||||
end
|
||||
arch pstone_1
|
||||
x 22
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"location" : "scorn_terrysfarm",
|
||||
"rules": [
|
||||
{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "scorn/TerrysFarm", "70"]],
|
||||
"post": [],
|
||||
"msg" : ["You killed my wife! Die Murderer!"]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "scorn/TerrysFarm", "60"]],
|
||||
"post": [],
|
||||
"msg" : ["Thank you for saving us from the bandits"]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "scorn/TerrysFarm", "30"]],
|
||||
"post": [],
|
||||
"msg" : ["Thank you for agreeing to save us from the bandits."]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "scorn/TerrysFarm", "20"]],
|
||||
"post": [],
|
||||
"msg" : ["June wouldn't give you the key because you aren't strong enough? I hope she knows what she is doing, those bandits won't stay locked up forever."]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "scorn/TerrysFarm", "10"]],
|
||||
"post": [],
|
||||
"msg" : ["My wife is over by the stove, speak to her and she might give you the key."]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [],
|
||||
"post": [["quest", "scorn/TerrysFarm", "10"]],
|
||||
"msg" : ["The bandits have invaded our farm. They are killing our chickens and stealing our potatoes.\n We have them locked up for now, but we need to get them out of the farmhouse.\nPlease stop them! \nMy wife has the key"]
|
||||
}
|
||||
]}
|
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"location" : "scorn_terrysfarm",
|
||||
"rules": [
|
||||
{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "scorn/TerrysFarm", "70"]],
|
||||
"post": [],
|
||||
"msg" : ["You murdered my husband! Fly from here foul agent of Guuh."]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "scorn/TerrysFarm", "60"]],
|
||||
"post": [],
|
||||
"msg" : ["Thank you so much for saving us from the evil bandits"]
|
||||
}, {
|
||||
"match" : ["no"],
|
||||
"pre" : [["token", "highlevel", "head"], ["quest", "scorn/TerrysFarm", "50"]],
|
||||
"post": [["settoken", "highlevel", "0"]],
|
||||
"msg" : ["You'll need to bring back his head as proof that you have killed him."]
|
||||
}, {
|
||||
"match" : ["yes"],
|
||||
"pre" : [["token", "highlevel", "head"], ["quest", "scorn/TerrysFarm", "50"],["item", "Guuh's Head"]],
|
||||
"post": [["takeitem", "Guuh's Head", "1"], ["quest","scorn/TerrysFarm", "60"], ["connection", "4"]],
|
||||
"msg" : ["Thank you so much for saving us from the evil bandits, please help yourself to whatever you wish from our treasure room"]
|
||||
}, {
|
||||
"match" : ["yes"],
|
||||
"pre" : [["token", "highlevel", "head"], ["quest", "scorn/TerrysFarm", "50"]],
|
||||
"post": [["settoken", "highlevel", "0"]],
|
||||
"msg" : ["Bring his head here and I will reward you"]
|
||||
}, {
|
||||
"match" : ["*"],
|
||||
"pre" : [["quest", "scorn/TerrysFarm", "50"]],
|
||||
"post": [["settoken", "highlevel", "head"]],
|
||||
"msg" : ["You've killed the Bandit Leader Guuh? have you recovered his head?"]
|
||||
},{
|
||||
"match" : ["yes"],
|
||||
"pre" : [["token", "highlevel", "yes"]],
|
||||
"post": [["quest", "scorn/TerrysFarm", "40"], ["giveitem", "Farmer's Key"]],
|
||||
"msg" : ["Thank you mighty adventurer. Here, take this key, it will open the door to the room they have occupied. Bring me the head of the bandit leader Guuh and I will reward you."]
|
||||
},{
|
||||
"match" : ["yes"],
|
||||
"pre" : [["token", "highlevel", "maybe"], ["token", "lethelp", "yes"]],
|
||||
"post": [["quest", "scorn/TerrysFarm", "30"], ["giveitem", "Farmer's Key"]],
|
||||
"msg" : ["Very well then, take this key, it will open the door to the room that Guuh and his band have occupied. Bring me Guuh's head and I will reward you. \n And please do be careful"]
|
||||
},{
|
||||
"match" : ["no"],
|
||||
"pre" : [["token", "highlevel", "yes"]],
|
||||
"post": [["token", "highlevel", "0"]],
|
||||
"msg" : ["I understand mighty adventurer, someone as powerful as you will have more important things to worry about than the fate of some poor farmers. Oh woe are we."]
|
||||
},{
|
||||
"match" : ["no"],
|
||||
"pre" : [["token", "highlevel", "maybe"]],
|
||||
"post": [["token", "highlevel", "0"]],
|
||||
"msg" : ["A wise choice adventurer, if we let someone in to fight Guuh, we must know that he will be victorious otherwise Guuh may win and then escape to cause more havoc."]
|
||||
},{
|
||||
"match" : ["strong", "help", "bandit", "guuh"],
|
||||
"pre" : [["token", "highlevel", "maybe"]],
|
||||
"post": [["settoken", "lethelp", "yes"]],
|
||||
"msg" : ["Guuh and his band are probably too strong for you to defeat in combat, but if you want to take them on, I won't stop you. Do you want to fight Guuh?"]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["level", "7"]],
|
||||
"post": [["settoken", "highlevel", "yes"]],
|
||||
"msg" : ["Hello mighty adventurer, we need your help.\nA group of bandits led by Guuh have invaded our farmhouse and occupied the room to the east. will you help us by ridding us of these evil bandits?"]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [["level", "3"]],
|
||||
"post": [["settoken", "highlevel", "maybe"]],
|
||||
"msg" : ["Hello adventurer, A group of bandits led by Guuh have invaded our farmhouse and occupied the room to the east. I would ask you to help, but I'm not sure you are strong enough."]
|
||||
},{
|
||||
"match" : ["*"],
|
||||
"pre" : [],
|
||||
"post": [["settoken", "highlevel", "no"], ["quest", "scorn/TerrysFarm", "20"]],
|
||||
"msg" : ["Hello adventurer, I'm afraid I can't chat, we have a load of bandits locked up in the room to the east, if you were stronger I might ask you to help, but if I asked for your assistance now, then you would be slaughtered by the evil bandits."]
|
||||
}
|
||||
]}
|
|
@ -1,4 +1,5 @@
|
|||
include houses/malone.quests
|
||||
include houses/farm.quests
|
||||
|
||||
quest scorn/smith/customarmour
|
||||
title Custom Armour
|
||||
|
|
Loading…
Reference in New Issue