Add dialog for the king of scorn, make castle2 use this dialog

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13187 282e977c-c81d-0410-88c4-b93c2d0d6712
master
cavesomething 2010-05-13 19:33:08 +00:00
parent afdce81ffb
commit 926eebe72c
5 changed files with 186 additions and 81 deletions

View File

@ -8,7 +8,7 @@ enter_x 10
enter_y 13
msg
Created: 1997-04-27
Modified: 2009-02-10 Rick Tanner
Modified: 2010-05-06 Cavesomething
endmsg
end
arch grass
@ -1591,6 +1591,28 @@ resist_godpower 99
move_type walk
monster 1
unaggressive 1
arch NPCGift
arch carton_box_1
name Prince Reward
arch defender
end
end
arch carton_box_1
name Archduke Reward
arch holy_shield
end
end
arch carton_box_1
name Duke Reward
arch dragonslayer
end
end
end
arch event_say
name scorn/misc/king.msg
title Python
slaying /python/dialog/npc_dialog.py
end
end
arch woodfloor2
x 11
@ -1608,29 +1630,15 @@ arch woodfloor2
x 11
y 9
end
arch check_inv
slaying Noble Rank Count
arch check_floor
hp 1
x 11
y 9
connected 99
arch event_trigger
name scorn/Aristocracy 60-90 99
title Python
slaying python/quests/QuestTriggerConnect.py
end
arch check_inv
slaying Noble Rank Duke
x 11
y 9
connected 99
end
arch check_inv
slaying Noble Rank Archduke
x 11
y 9
connected 99
end
arch check_inv
slaying Noble Rank Prince
x 11
y 9
connected 99
end
arch woodfloor2
x 11
@ -1646,29 +1654,15 @@ arch woodfloor2
x 11
y 11
end
arch check_inv
slaying Noble Rank Count
arch check_floor
hp 1
x 11
y 11
connected 99
arch event_trigger
name scorn/Aristocracy 60-90 99
title Python
slaying python/quests/QuestTriggerConnect.py
end
arch check_inv
slaying Noble Rank Duke
x 11
y 11
connected 99
end
arch check_inv
slaying Noble Rank Archduke
x 11
y 11
connected 99
end
arch check_inv
slaying Noble Rank Prince
x 11
y 11
connected 99
end
arch woodfloor2
x 11
@ -1779,29 +1773,15 @@ arch woodfloor2
x 12
y 9
end
arch check_inv
slaying Noble Rank Count
arch check_floor
hp 1
x 12
y 9
connected 99
arch event_trigger
name scorn/Aristocracy 60-90 99
title Python
slaying python/quests/QuestTriggerConnect.py
end
arch check_inv
slaying Noble Rank Duke
x 12
y 9
connected 99
end
arch check_inv
slaying Noble Rank Archduke
x 12
y 9
connected 99
end
arch check_inv
slaying Noble Rank Prince
x 12
y 9
connected 99
end
arch woodfloor2
x 12
@ -1817,29 +1797,15 @@ arch woodfloor2
x 12
y 11
end
arch check_inv
slaying Noble Rank Count
arch check_floor
hp 1
x 12
y 11
connected 99
arch event_trigger
name scorn/Aristocracy 60-90 99
title Python
slaying python/quests/QuestTriggerConnect.py
end
arch check_inv
slaying Noble Rank Duke
x 12
y 11
connected 99
end
arch check_inv
slaying Noble Rank Archduke
x 12
y 11
connected 99
end
arch check_inv
slaying Noble Rank Prince
x 12
y 11
connected 99
end
arch woodfloor2
x 12

View File

@ -0,0 +1,29 @@
{
"location" : "scorn/nobility",
"rules": [
{
"match" : ["*"],
"pre" : [["quest", "scorn/Aristocracy", "90"]],
"post" : [],
"msg" : ["Greetings Prince $you"]
},{
"include" : ["/scorn/misc/king_archduke.msg"],
"pre" : [["quest", "scorn/Aristocracy", "80"]]
},{
"include" : ["/scorn/misc/king_duke.msg"],
"pre" : [["quest", "scorn/Aristocracy", "70"]]
},{
"include" : ["/scorn/misc/king_count.msg"],
"pre" : [["quest", "scorn/Aristocracy", "60"]]
},{
"match" : ["*"],
"pre" : [["quest", "scorn/Aristocracy", "10"]],
"post" : [],
"msg" : ["What are you doing here? I don't speak with lesser nobles, go speak to my magistrate he'll deal with you."]
},{
"match" : ["*"],
"pre" : [],
"post" : [],
"msg" : ["What's this? A commoner!\n Begone from my sight, vulgar little creature."]
}
]}

View File

@ -0,0 +1,38 @@
{
"rules": [
{
"match" : ["curse", "calamity", "spectre", "yes"],
"pre" : [["quest", "scorn/LordSpectre", "10"], ["item", "Calamity"], ["token", "question", "curse"]],
"post" : [["takeitem", "Calamity"], ["quest", "scorn/LordSpectre", "60"], ["quest", "scorn/Aristocracy", "90"], ["givecontents", "Prince Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. We have a new Prince of the Realm!
Please take this fine sword as
a reward. May it serve you well!"]
},{
"match" : ["curse", "calamity", "spectre", "yes"],
"pre" : [["quest", "scorn/LordSpectre", "10"], ["token", "question", "curse"]],
"post" : [["settoken", "question", "0"]],
"msg" : ["Where is it then?"]
},{
"match" : ["*"],
"pre" : [["quest", "scorn/LordSpectre", "10"]],
"post" : [["settoken", "question", "curse"]],
"msg" : ["Have you returned with a means of lifting the curse?"],
"replies": [["no", "No, Your Majesty, I am still searching"], ["yes", "Yes Your Majesty, I have found the means to lift your curse"]]
},{
"match" : ["no"],
"pre" : [],
"post" : [],
"msg" : ["Very well then Lord $you, do return here if you change your mind."]
},{
"match" : ["yes", "service", "Scorn", "help"],
"pre" : [],
"post" : [["quest", "scorn/LordSpectre", "10"]],
"msg" : ["Come close, and listen carefully, I don't want my retainers overhearing...\n I have for some time now been afflicted by an ailment which has been weakening me. My physicians proved unable to cure it, so I turned to the high priests. The devotee of Gaea claims to have had the cause revealed to her, speak to her at Gaea's temple here in town, and bring me the means to break this curse."]
},{
"match" : ["*"],
"pre" : [],
"post" : [],
"msg" : ["Lord $you, would you be prepared to help me once more?"],
"replies": [["no", "No, Your Majesty"], ["yes", "Yes, Your Majesty"]]
}
]}

View File

@ -0,0 +1,36 @@
{
"rules": [
{
"match" : ["dragon", "whisker", "lords", "weapon", "yes"],
"pre" : [["quest", "scorn/DragonWhisker", "10"], ["item", "Ruggilli's Whisker"], ["token", "question", "whisker"]],
"post" : [["takeitem", "Ruggilli's Whisker"], ["quest", "scorn/DragonWhisker", "70"], ["quest", "scorn/Aristocracy", "70"], ["givecontents", "Duke Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now a Duke!\n Also, please take this fine sword as a reward. May it serve you well, the NEXT time you run into dragons."]
},{
"match" : ["dragon", "whisker", "lords", "weapon", "yes"],
"pre" : [["quest", "scorn/DragonWhisker", "10"], ["token", "question", "whisker"]],
"post" : [["settoken", "question", "0"]],
"msg" : ["Where is it then?"]
},{
"match" : ["*"],
"pre" : [["quest", "scorn/DragonWhisker", "10"]],
"post" : [["settoken", "question", "whisker"]],
"msg" : ["Have you returned with Ruggilli's Whisker?"],
"replies": [["no", "No, Your Majesty, I am still looking for it"], ["yes", "Yes, Your majesty, I have found the weapon you need to bring the Dragonlords to heel"]]
},{
"match" : ["no"],
"pre" : [],
"post" : [],
"msg" : ["Very well then Lord $you, do return here if you change your mind."]
},{
"match" : ["yes", "service", "Scorn"],
"pre" : [],
"post" : [["quest", "scorn/DragonWhisker", "10"]],
"msg" : ["I am concerned by the threat of war from the Dragonlords.\n What I need is some bargaining leverage.\n The Dragonlords have captured a mighty weapon that could be used against them. They would destroy it, but lack the power to do so. Obtain this weapon for me and they will be intimidated into maintaining the peace. My magistrates might know where you should start looking."]
},{
"match" : ["*"],
"pre" : [],
"post" : [],
"msg" : ["Hail Lord $you, would you like to be of service to your King?"],
"replies": [["no", "No, Your Majesty"], ["yes", "Yes, Your Majesty"]]
}
]}

View File

@ -0,0 +1,36 @@
{
"rules": [
{
"match" : ["titan", "crown", "pretender", "meganthropopulos", "yes"],
"pre" : [["quest", "scorn/TitanCrown", "10"], ["item", "Meganthropopulos' Crown"], ["token", "question", "crown"]],
"post" : [["takeitem", "Meganthropopulos' Crown"], ["quest", "scorn/TitanCrown", "70"], ["quest", "scorn/Aristocracy", "80"], ["givecontents", "Archduke Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now an Archduke! \n Also, please take this fine shield as a reward. May it serve you well!"]
},{
"match" : ["titan", "crown", "pretender", "meganthropopulos", "yes"],
"pre" : [["quest", "scorn/TitanCrown", "10"], ["token", "question", "crown"]],
"post" : [["settoken", "question", "0"]],
"msg" : ["Where is it then?"]
},{
"match" : ["*"],
"pre" : [["quest", "scorn/TitanCrown", "10"]],
"post" : [["settoken", "question", "crown"]],
"msg" : ["Have you returned with the pretender's crown?"],
"replies": [["no", "No, your majesty, I still seek the crown"], ["yes", "Yes, Your majesty, I have the Titan's crown"]]
},{
"match" : ["no"],
"pre" : [],
"post" : [],
"msg" : ["Very well then Lord $you, do return here if you change your mind."]
},{
"match" : ["yes", "service", "Scorn"],
"pre" : [],
"post" : [["quest", "scorn/TitanCrown", "10"]],
"msg" : ["A wayward Titan has been styling himself 'the Rightful King of Scorn' and named me an Usurper.\n Clearly this insult demands a suitably swift and decisive response.\n This titan has created a crown for himself, deprive him of it, if you choose to deprive him of his life at the same time, then I would not be displeased.\n Speak to my magistrate, he may know where the pretender hides"]
},{
"match" : ["*"],
"pre" : [],
"post" : [],
"msg" : ["Hail Lord $you, would you like to be of service to your King?"],
"replies": [["no", "No, Your Majesty"], ["yes", "Yes, Your Majesty"]]
}
]}