Use setwhen conditions to advance the aristocracy quest line rather than setting it explicitly

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13356 282e977c-c81d-0410-88c4-b93c2d0d6712
master
cavesomething 2010-05-30 20:36:31 +00:00
parent e8a61943ea
commit 91b2098e35
10 changed files with 47 additions and 9 deletions

View File

@ -7,52 +7,82 @@ step 5
description
I have spoken to the magistrate who offered a means for me to obtain station in court
end_description
setwhen
scorn/GoblinKing 10
end_setwhen
end_step
step 10
description
I have been dubbed a Knight of Scorn
end_description
setwhen
scorn/GoblinKing finished
end_setwhen
end_step
step 20
description
I have been appointed a Baronet of Scorn
end_description
setwhen
scorn/OgreKing finished
end_setwhen
end_step
step 30
description
I have been appointed a Baron of Scorn
end_description
setwhen
scorn/Animator finished
end_setwhen
end_step
step 40
description
I have been appointed a Earl of Scorn
end_description
setwhen
scorn/BlueMushroom finished
end_setwhen
end_step
step 50
description
I have been appointed a Marquis of Scorn
end_description
setwhen
scorn/WyvernWing finished
end_setwhen
end_step
step 60
description
I have been appointed a Count of Scorn
end_description
setwhen
scorn/DemonPit finished
end_setwhen
end_step
step 70
description
I have been appointed a Duke of Scorn
end_description
setwhen
scorn/DragonWhisker finished
end_setwhen
end_step
step 80
description
I have been appointed a Arch Duke of Scorn
end_description
setwhen
scorn/TitanCrown finished
end_setwhen
end_step
step 90
finishes_quest
description
I have been named Prince of Scorn
end_description
setwhen
scorn/LordSpectre finished
end_setwhen
end_step
end_quest
@ -405,12 +435,20 @@ finishes_quest
description
I have found another way through the gate.
end_description
setwhen
scorn/PortGate finished
scorn/CityGate finished
scorn/ScornHero <=10
end_setwhen
end_step
step 50
finishes_quest
description
I have been pronounced the 'Hero of Scorn'
end_description
setwhen
scorn/GoblinKing finished
end_setwhen
end_step
end_quest

View File

@ -3,7 +3,7 @@
{
"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"]],
"post" : [["takeitem", "Calamity"], ["quest", "scorn/LordSpectre", "60"], ["givecontents", "Prince Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. We have a new Prince of the Realm!\nPlease take this fine sword as a reward. May it serve you well!"]
},{
"match" : ["curse", "calamity", "spectre", "yes"],

View File

@ -3,7 +3,7 @@
{
"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"]],
"post" : [["takeitem", "Ruggilli's Whisker"], ["quest", "scorn/DragonWhisker", "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"],

View File

@ -3,7 +3,7 @@
{
"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"]],
"post" : [["takeitem", "Meganthropopulos' Crown"], ["quest", "scorn/TitanCrown", "70"], ["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"],

View File

@ -3,7 +3,7 @@
{
"match" : ["mushroom", "cure", "blue", "yes"],
"pre" : [["quest", "scorn/BlueMushroom", "10"], ["item", "blue mushroom"], ["token", "question", "mushroom"]],
"post" : [["takeitem", "blue mushroom"], ["quest", "scorn/BlueMushroom", "50"], ["quest", "scorn/Aristocracy", "40"], ["givecontents", "Marquis Reward"], ["settoken", "question", "0"]],
"post" : [["takeitem", "blue mushroom"], ["quest", "scorn/BlueMushroom", "50"], ["givecontents", "Marquis Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now a Marquis!\n Also, please take this fine potion as a reward. May it serve you well!"]
},{
"match" : ["mushroom", "cure", "blue", "yes"],

View File

@ -3,7 +3,7 @@
{
"match" : ["ring", "animator", "token", "yes"],
"pre" : [["quest", "scorn/Animator", "10"], ["item", "Animator's Ring"], ["token", "question", "animator"]],
"post" : [["takeitem", "Animator's Ring"], ["quest", "scorn/Animator", "50"], ["quest", "scorn/Aristocracy", "30"], ["givecontents", "Baron Reward"], ["settoken", "question", "0"]],
"post" : [["takeitem", "Animator's Ring"], ["quest", "scorn/Animator", "50"], ["givecontents", "Baron Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now a Baron! \n Also, please take this fine longbow as a reward. May it serve you well!"]
},{
"match" : ["ring", "animator", "token", "yes"],

View File

@ -3,7 +3,7 @@
{
"match" : ["head", "goblin", "chief", "yes"],
"pre" : [["quest", "scorn/GoblinKing", "10"], ["item", "Head of the Goblin Chief"], ["token", "question", "goblin"]],
"post" : [["takeitem", "Head of the Goblin Chief"], ["quest", "scorn/GoblinKing", "50"], ["quest", "scorn/Aristocracy", "10"], ["givecontents", "Knight Reward"], ["settoken", "question", "0"], ["quest", "scorn/ScornHero", "50"]],
"post" : [["takeitem", "Head of the Goblin Chief"], ["quest", "scorn/GoblinKing", "50"], ["givecontents", "Knight Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now sir $you, Knight of Scorn, with all the privileges pertaining thereto."]
},{
"match" : ["head", "goblin", "chief", "yes"],

View File

@ -3,7 +3,7 @@
{
"match" : ["demon", "euthville", "portal", "broken", "threat", "yes"],
"pre" : [["quest", "scorn/DemonPit", "10"], ["item", "broken gateway"], ["token", "question", "demon"]],
"post" : [["takeitem", "broken gateway"], ["quest", "scorn/DemonPit", "50"], ["quest", "scorn/Aristocracy", "60"], ["givecontents", "Count Reward"], ["settoken", "question", "0"]],
"post" : [["takeitem", "broken gateway"], ["quest", "scorn/DemonPit", "50"], ["givecontents", "Count Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now a Count!\n Also, please take this fine sword as a reward. May it serve you well!"]
},{
"match" : ["demon", "euthville", "portal", "broken", "threat", "yes"],

View File

@ -3,7 +3,7 @@
{
"match" : ["head", "ogre", "chief", "yes"],
"pre" : [["quest", "scorn/OgreKing", "10"], ["item", "Head of the Ogre Chief"], ["token", "question", "ogre"]],
"post" : [["takeitem", "Head of the Ogre Chief"], ["quest", "scorn/OgreKing", "50"], ["quest", "scorn/Aristocracy", "20"], ["givecontents", "Baronet Reward"], ["settoken", "question", "0"]],
"post" : [["takeitem", "Head of the Ogre Chief"], ["quest", "scorn/OgreKing", "50"], ["givecontents", "Baronet Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest. Kneel and receive your accolade.....\n You are now a Baronet!\n Also, please take this girdle as a reward. May it serve you well!"]
},{
"match" : ["head", "ogre", "chief", "yes"],

View File

@ -3,7 +3,7 @@
{
"match" : ["wing", "wyvern", "snack", "slithselest", "yes"],
"pre" : [["quest", "scorn/WyvernWing", "10"], ["item", "Slithselest's wing"], ["token", "question", "wing"]],
"post" : [["takeitem", "Slithselest's wing"], ["quest", "scorn/WyvernWing", "50"], ["quest", "scorn/Aristocracy", "50"], ["givecontents", "Earl Reward"], ["settoken", "question", "0"]],
"post" : [["takeitem", "Slithselest's wing"], ["quest", "scorn/WyvernWing", "50"], ["givecontents", "Earl Reward"], ["settoken", "question", "0"]],
"msg" : ["Congratulations on completing your quest.\nKneel and receive your accolade.....\nYou are now an Earl!\n Also, please take this fine shield as a reward. May it serve you well!"]
},{
"match" : ["wing", "wyvern", "snack", "slithselest", "yes"],