From 1aafe02f9e32956adbf99147d20a4df94a9a8393 Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Sun, 6 Jun 2010 11:02:47 +0000 Subject: [PATCH] Questify Darcap's elemental quest (basic for now). git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13364 282e977c-c81d-0410-88c4-b93c2d0d6712 --- darcap/darcap/elemental.quests | 158 +++++++++++++++++ darcap/darcap/quest | 304 ++++++++++++++++++--------------- darcap/quest/fire | 7 +- darcap/quest/water | 7 +- darcap/town2/tower2 | 7 +- darcap/town2/tower4 | 7 +- world.quests | 3 + 7 files changed, 351 insertions(+), 142 deletions(-) create mode 100644 darcap/darcap/elemental.quests diff --git a/darcap/darcap/elemental.quests b/darcap/darcap/elemental.quests new file mode 100644 index 000000000..291e813b1 --- /dev/null +++ b/darcap/darcap/elemental.quests @@ -0,0 +1,158 @@ +quest darcap/Elemental +title Darcap's Elemental quest +description +Solve the four elemental quests, and get some equipment as a reward. +end_description +restart 1 +step 10 +description +I must solve the four elemental quests. +end_description +end_step +step 20 +description +I have solved the four elemental quests, I can now claim my reward. +end_description +setwhen +darcap/Elemental 10 +darcap/Elemental-Fire 20 +darcap/Elemental-Water 20 +darcap/Elemental-Air 20 +darcap/Elemental-Earth 20 +end_setwhen +end_step +step 30 +finishes_quest +description +I claimed my reward, and completed the quest. +end_description +end_step +end_quest + +quest darcap/Elemental-Fire +title Darcap's Fire Elemental quest +description +I must solve the fire elemental quest. +end_description +parent darcap/Elemental +restart 1 +step 10 +description +I must solve the fire elemental quest. +end_description +setwhen +darcap/Elemental 10 +end_setwhen +end_step +step 20 +description +I have solved the fire elemental quest, and need to solve the others. +end_description +end_step +step 30 +description +I have solved the fire elemental quest. +end_description +finishes_quest +setwhen +darcap/Elemental 0 +darcap/Elemental-Fire 20 +end_setwhen +end_step +end_quest + +quest darcap/Elemental-Air +title Darcap's Air Elemental quest +description +I must solve the air elemental quest. +end_description +parent darcap/Elemental +restart 1 +step 10 +description +I must solve the air elemental quest. +end_description +setwhen +darcap/Elemental 10 +end_setwhen +end_step +step 20 +description +I have solved the air elemental quest, and need to solve the others. +end_description +end_step +step 30 +description +I have solved the air elemental quest. +end_description +finishes_quest +setwhen +darcap/Elemental 0 +darcap/Elemental-Air 20 +end_setwhen +end_step +end_quest + +quest darcap/Elemental-Earth +title Darcap's Earth Elemental quest +description +I must solve the earth elemental quest. +end_description +parent darcap/Elemental +restart 1 +step 10 +description +I must solve the earth elemental quest. +end_description +setwhen +darcap/Elemental 10 +end_setwhen +end_step +step 20 +description +I have solved the earth elemental quest, and need to solve the others. +end_description +end_step +step 30 +description +I have solved the earth elemental quest. +end_description +finishes_quest +setwhen +darcap/Elemental 0 +darcap/Elemental-Earth 20 +end_setwhen +end_step +end_quest + +quest darcap/Elemental-Water +title Darcap's Water Elemental quest +description +I must solve the water elemental quest. +end_description +parent darcap/Elemental +restart 1 +step 10 +description +I must solve the water elemental quest. +end_description +setwhen +darcap/Elemental 10 +end_setwhen +end_step +step 20 +description +I have solved the water elemental quest, and need to solve the others. +end_description +end_step +step 30 +description +I have solved the water elemental quest. +end_description +finishes_quest +setwhen +darcap/Elemental 0 +darcap/Elemental-Water 20 +end_setwhen +end_step +end_quest diff --git a/darcap/darcap/quest b/darcap/darcap/quest index 16be3b37a..20cad55b3 100644 --- a/darcap/darcap/quest +++ b/darcap/darcap/quest @@ -8,7 +8,7 @@ enter_x 17 enter_y 7 msg Created: 1998-12-21 -Modified: 2008-09-14 Rick Tanner +Modified: 2010-06-06 Nicolas Weeger endmsg end arch dungeon_magic @@ -936,10 +936,6 @@ arch flagstone x 6 y 2 end -arch dungeon_magic -x 6 -y 2 -end arch dirtfloor x 6 y 2 @@ -952,7 +948,11 @@ arch button_handle name handle earth x 6 y 2 -connected 2 +arch event_apply +name darcap/Elemental-Earth 10>20 +title Python +slaying /python/quests/QuestAdvance.py +end end arch flagstone x 6 @@ -1092,7 +1092,11 @@ arch button_handle name handle air x 6 y 13 -connected 3 +arch event_apply +name darcap/Elemental-Air 10>20 +title Python +slaying /python/quests/QuestAdvance.py +end end arch flagstone x 6 @@ -1207,6 +1211,24 @@ arch dungeon_magic x 7 y 7 end +arch sign +msg +To claim those rewards, you need to complete four quests: +- Air +- Fire +- Earth +- Water + +Good luck! +endmsg +x 7 +y 7 +arch event_apply +name darcap/Elemental 0>10 +title Python +slaying /python/quests/QuestAdvance.py +end +end arch flagstone x 7 y 8 @@ -1819,36 +1841,45 @@ arch dungeon_magic x 11 y 2 end -arch grate_closed_1 +arch button_handle x 11 y 2 +arch event_apply +name darcap/Elemental 20 1 +title Python +slaying /python/quests/QuestTriggerConnect.py +end +end +arch flagstone +x 11 +y 3 +end +arch dungeon_magic +x 11 +y 3 +end +arch grate_closed_1 +x 11 +y 3 connected 1 end arch flagstone x 11 -y 3 +y 4 end arch dungeon_magic x 11 -y 3 +y 4 end -arch grate_closed_1 +arch button_handle x 11 -y 3 +y 4 connected 2 +arch event_apply +name darcap/Elemental 20>30 +title Python +slaying /python/quests/QuestAdvance.py end -arch flagstone -x 11 -y 4 -end -arch dungeon_magic -x 11 -y 4 -end -arch grate_closed_1 -x 11 -y 4 -connected 3 end arch flagstone x 11 @@ -1861,7 +1892,7 @@ end arch grate_closed_1 x 11 y 5 -connected 4 +connected 2 end arch flagstone x 11 @@ -1895,57 +1926,72 @@ arch dungeon_magic x 11 y 9 end -arch flagstone +arch button_handle +name emergency exit (inside) x 11 -y 10 -end -arch dungeon_magic -x 11 -y 10 -end -arch grate_closed_1 -x 11 -y 10 -connected 4 -end -arch flagstone -x 11 -y 11 -end -arch dungeon_magic -x 11 -y 11 -end -arch grate_closed_1 -x 11 -y 11 -connected 3 -end -arch flagstone -x 11 -y 12 -end -arch dungeon_magic -x 11 -y 12 -end -arch grate_closed_1 -x 11 -y 12 +y 9 connected 2 end arch flagstone x 11 +y 10 +end +arch dungeon_magic +x 11 +y 10 +end +arch grate_closed_1 +x 11 +y 10 +connected 2 +end +arch flagstone +x 11 +y 11 +end +arch dungeon_magic +x 11 +y 11 +end +arch button_handle +x 11 +y 11 +connected 2 +arch event_apply +name darcap/Elemental 20>30 +title Python +slaying /python/quests/QuestAdvance.py +end +end +arch flagstone +x 11 +y 12 +end +arch dungeon_magic +x 11 +y 12 +end +arch grate_closed_1 +x 11 +y 12 +connected 1 +end +arch flagstone +x 11 y 13 end arch dungeon_magic x 11 y 13 end -arch grate_closed_1 +arch button_handle x 11 y 13 -connected 1 +arch event_apply +name darcap/Elemental 20 1 +title Python +slaying /python/quests/QuestTriggerConnect.py +end end arch flagstone x 11 @@ -1992,58 +2038,54 @@ arch dungeon_magic x 12 y 2 end +arch flagstone +x 12 +y 3 +end +arch dungeon_magic +x 12 +y 3 +end arch grate_closed_1 x 12 -y 2 +y 3 connected 1 end arch flagstone x 12 -y 3 +y 4 end arch dungeon_magic x 12 -y 3 +y 4 +end +arch flagstone +x 12 +y 5 +end +arch dungeon_magic +x 12 +y 5 end arch grate_closed_1 x 12 -y 3 +y 5 connected 2 end arch flagstone x 12 -y 4 -end -arch dungeon_magic -x 12 -y 4 -end -arch grate_closed_1 -x 12 -y 4 -connected 3 -end -arch flagstone -x 12 -y 5 -end -arch dungeon_magic -x 12 -y 5 -end -arch grate_closed_1 -x 12 -y 5 -connected 4 -end -arch flagstone -x 12 y 6 end arch dungeon_magic x 12 y 6 end +arch button_handle +name emergency exit (outside) +x 12 +y 6 +connected 1 +end arch flagstone x 12 y 7 @@ -2079,47 +2121,37 @@ end arch grate_closed_1 x 12 y 10 -connected 4 -end -arch flagstone -x 12 -y 11 -end -arch dungeon_magic -x 12 -y 11 -end -arch grate_closed_1 -x 12 -y 11 -connected 3 -end -arch flagstone -x 12 -y 12 -end -arch dungeon_magic -x 12 -y 12 -end -arch grate_closed_1 -x 12 -y 12 connected 2 end arch flagstone x 12 +y 11 +end +arch dungeon_magic +x 12 +y 11 +end +arch flagstone +x 12 +y 12 +end +arch dungeon_magic +x 12 +y 12 +end +arch grate_closed_1 +x 12 +y 12 +connected 1 +end +arch flagstone +x 12 y 13 end arch dungeon_magic x 12 y 13 end -arch grate_closed_1 -x 12 -y 13 -connected 1 -end arch flagstone x 12 y 14 @@ -2842,10 +2874,6 @@ arch flagstone x 17 y 2 end -arch dungeon_magic -x 17 -y 2 -end arch dirtfloor x 17 y 2 @@ -2869,7 +2897,11 @@ arch button_handle name handle water x 17 y 2 -connected 1 +arch event_apply +name darcap/Elemental-Water 10>20 +title Python +slaying /python/quests/QuestAdvance.py +end end arch flagstone x 17 @@ -2887,10 +2919,6 @@ arch flagstone x 17 y 4 end -arch dungeon_magic -x 17 -y 4 -end arch dirtfloor x 17 y 4 @@ -3001,10 +3029,6 @@ arch flagstone x 17 y 13 end -arch dungeon_magic -x 17 -y 13 -end arch dirtfloor x 17 y 13 @@ -3017,7 +3041,11 @@ arch button_handle name handle fire x 17 y 13 -connected 4 +arch event_apply +name darcap/Elemental-Fire 10>20 +title Python +slaying /python/quests/QuestAdvance.py +end end arch flagstone x 17 diff --git a/darcap/quest/fire b/darcap/quest/fire index 7ba679314..0ef2dcbe6 100644 --- a/darcap/quest/fire +++ b/darcap/quest/fire @@ -8,7 +8,7 @@ enter_x 19 enter_y 31 msg Created: 1993-10-15 dtabb (dtabb@ecst.csuchico.edu) -Modified: 2008-09-14 Rick Tanner +Modified: 2010-06-06 Nicolas Weeger endmsg end arch dirtfloor @@ -4528,6 +4528,11 @@ hp 18 sp 14 x 21 y 5 +arch event_apply +name darcap/Elemental 0>10 +title Python +slaying /python/quests/QuestAdvance.py +end end arch dirtfloor x 21 diff --git a/darcap/quest/water b/darcap/quest/water index 6045306ba..07d0bc035 100644 --- a/darcap/quest/water +++ b/darcap/quest/water @@ -7,7 +7,7 @@ height 32 enter_x 29 enter_y 29 msg -Modified: 2008-09-14 Rick Tanner +Modified: 2010-06-06 Nicolas Weeger endmsg end arch sea @@ -312,6 +312,11 @@ hp 18 sp 1 x 1 y 1 +arch event_apply +name darcap/Elemental 0>10 +title Python +slaying /python/quests/QuestAdvance.py +end end arch sea exp 1000 diff --git a/darcap/town2/tower2 b/darcap/town2/tower2 index 29820e300..d4ad73343 100644 --- a/darcap/town2/tower2 +++ b/darcap/town2/tower2 @@ -8,7 +8,7 @@ enter_x 27 enter_y 13 msg Created: 1998-12-21 -Modified: 2008-09-14 Rick Tanner +Modified: 2010-06-06 Nicolas Weeger endmsg end arch blocked @@ -2673,6 +2673,11 @@ hp 5 sp 1 x 13 y 26 +arch event_apply +name darcap/Elemental 0>10 +title Python +slaying /python/quests/QuestAdvance.py +end end arch giant name Buffed Giant diff --git a/darcap/town2/tower4 b/darcap/town2/tower4 index 8dc098b7a..46eb8f409 100644 --- a/darcap/town2/tower4 +++ b/darcap/town2/tower4 @@ -8,7 +8,7 @@ enter_x 1 enter_y 15 msg Created: 1998-02-22 -Modified: 2008-09-14 Rick Tanner +Modified: 2010-06-06 Nicolas Weeger endmsg end arch stonefloor2 @@ -2065,6 +2065,11 @@ hp 6 sp 14 x 11 y 20 +arch event_apply +name darcap/Elemental 0>10 +title Python +slaying /python/quests/QuestAdvance.py +end end arch stonefloor2 x 11 diff --git a/world.quests b/world.quests index 6da0160fc..b2ed2239b 100644 --- a/world.quests +++ b/world.quests @@ -33,3 +33,6 @@ include test/test.quests include start/start.quests include wolfsburg/wolfsburg.quests + +include darcap/darcap/elemental.quests +