From 247245f51c9fa96ac436cf884ca5443d615fde98 Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Sun, 27 May 2012 11:09:07 +0000 Subject: [PATCH] Quest: pygmy forest. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18159 282e977c-c81d-0410-88c4-b93c2d0d6712 --- darcap/darcap.quests | 29 +++++++++++++++++++++++++++++ darcap/darcap/frightened_elf.msg | 26 ++++++++++++++++++++++++++ darcap/darcap/tavern | 11 +++++++---- darcap/pygmy_forest/pygmy_forest | 7 +++++-- darcap/pygmy_forest/pygmy_garden | 8 ++++++-- world/world_117_101 | 5 ++++- 6 files changed, 77 insertions(+), 9 deletions(-) create mode 100644 darcap/darcap/frightened_elf.msg diff --git a/darcap/darcap.quests b/darcap/darcap.quests index 9ce42bf20..9f67496a1 100644 --- a/darcap/darcap.quests +++ b/darcap/darcap.quests @@ -60,3 +60,32 @@ end_description end_step end_quest +quest darcap/pygmy-forest +title The pygmy forest +face unusual_kobold.111 +description +I've heard of a dangerous pygmy forest which certainly contains nice treasures. +end_description +step 10 +description +I've heard the pygmy forest is on an island north and slightly east of Darcap, and I need to use dimension door to get there. +end_description +end_step +step 20 +description +I've found the pygmy forest, I should explore it. +end_description +end_step +step 30 +description +I've found the Pygmy's chief, I can probably get some treasure after defeating it. +end_description +end_step +step 40 +finishes_quest +description +I've claimed the treasure of the pygmy forest. +end_description +end_step +end_quest + diff --git a/darcap/darcap/frightened_elf.msg b/darcap/darcap/frightened_elf.msg new file mode 100644 index 000000000..1820a2616 --- /dev/null +++ b/darcap/darcap/frightened_elf.msg @@ -0,0 +1,26 @@ +{ + "rules": [ + { + "match" : ["pygmy"], + "pre" : [["quest", "darcap/pygmy-forest", "=10"]], + "post" : [], + "msg" : ["The Pygmys are these evil little creatures that live in a forest on an island north and slightly east of this town...I had to use dimension door to get there...they are really dangerous and I'm sure they are guarding something in that forest..."] + }, { + "match" : ["pygmy"], + "pre" : [], + "post" : [["quest", "darcap/pygmy-forest", "10"]], + "msg" : ["The Pygmys are these evil little creatures that live in a forest on an island north and slightly east of this town...I had to use dimension door to get there...they are really dangerous and I'm sure they are guarding something in that forest..."] + }, { + "match" : ["nightmares"], + "pre" : [], + "post" : [], + "msg" : ["Yes, I keep having a nightmare where the Pygmys slaughter me and then eat me..like what I saw them doing to their prisoners when I stumbled upon that forest..."], + "replies" : [["pygmy", "Who are those pygmys?", "2"]] + }, { + "match" : ["*"], + "pre" : [], + "post" : [], + "msg" : ["I still have nightmares about my visit to the Pygmy Forest."], + "replies" : [["nightmares", "What kind of nightmares?", "2"], ["pygmy", "Who are those pygmys?", "2"]] + } +]} diff --git a/darcap/darcap/tavern b/darcap/darcap/tavern index 73ddfa11f..d0d528b32 100644 --- a/darcap/darcap/tavern +++ b/darcap/darcap/tavern @@ -8,12 +8,15 @@ enter_x 19 enter_y 13 msg Created: 1999-01-15 Cater/Wade (john_cater@yahoo.com) -Modified: 2012-01-30 Rick Tanner +Modified: 2012-05-27 Nicolas Weeger endmsg end arch cobblestones2 end arch cobblestones2 +iy 4 +end +arch cobblestones2 y 1 end arch cobblestones2 @@ -23,9 +26,6 @@ arch cobblestones2 y 3 end arch cobblestones2 -iy 4 -end -arch cobblestones2 y 5 end arch cobblestones2 @@ -1083,6 +1083,9 @@ x 9 y 6 move_type 0 no_damage 1 +arch npc_dialog +name /darcap/darcap/frightened_elf.msg +end end arch magic_banned x 9 diff --git a/darcap/pygmy_forest/pygmy_forest b/darcap/pygmy_forest/pygmy_forest index 59c05099a..391c84ea8 100644 --- a/darcap/pygmy_forest/pygmy_forest +++ b/darcap/pygmy_forest/pygmy_forest @@ -7,8 +7,8 @@ height 50 enter_x 27 enter_y 27 msg -Created: 2007-12-18 Chad Opperman -Modified: 2012-01-31 Rick Tanner +Created: 2007-12-18 Chad Opperman +Modified: 2012-05-27 Nicolas Weeger endmsg end arch grassdark @@ -13858,6 +13858,9 @@ hp 10 sp 18 x 27 y 1 +arch quest_advance_apply +name darcap/pygmy-forest 20>30 +end end arch grassdark name Thick Forest Terrain diff --git a/darcap/pygmy_forest/pygmy_garden b/darcap/pygmy_forest/pygmy_garden index 0bba6bb94..5bb5fd803 100644 --- a/darcap/pygmy_forest/pygmy_garden +++ b/darcap/pygmy_forest/pygmy_garden @@ -7,8 +7,8 @@ height 11 enter_x 5 enter_y 9 msg -Created: 2007-12-29 Chad Opperman -Modified: 2012-01-31 Rick Tanner +Created: 2007-12-29 Chad Opperman +Modified: 2012-05-27 Nicolas Weeger endmsg end arch grassdark @@ -636,6 +636,10 @@ item_power 10 reflect_missile 1 reflect_spell 1 damned 1 +arch quest_advance_pickup +name darcap/pygmy-forest 30>40 +unique 1 +end end arch grassdark name Thick Forest Terrain diff --git a/world/world_117_101 b/world/world_117_101 index 9d6a945b3..e1de8abbd 100644 --- a/world/world_117_101 +++ b/world/world_117_101 @@ -3,7 +3,7 @@ name world_117_101 width 50 height 50 msg -Modified: 2008-12-17 Rick Tanner +Modified: 2012-05-27 Nicolas Weeger endmsg outdoor 1 tile_path_1 world_117_100 @@ -2437,6 +2437,9 @@ hp 27 sp 48 x 9 y 31 +arch quest_advance_apply +name darcap/pygmy-forest 10>20 +end end arch grass x 9