Quest: The Treasure Island.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18365 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2012-07-15 13:11:11 +00:00
parent 8e89513baf
commit e525db0ebd
8 changed files with 172 additions and 48 deletions

View File

@ -0,0 +1,30 @@
{
"rules": [
{
"match" : ["treasure"],
"pre" : [["quest", "wolfsburg/treasure-island", "=10"]],
"post" : [["quest", "wolfsburg/treasure-island", "20"]],
"msg" : ["Yarh, I do happen.\n\nYou need a magic shovel.\n\nTalk to my friend Long John Silver in this tavern, he knows more than I do."]
}, {
"match" : ["pirate", "job"],
"pre" : [["quest", "wolfsburg/treasure-island", "=10"]],
"post" : [],
"msg" : ["I search the seven seas looking for treasure."],
"replies" : [["treasure", "Talking of treasure, you don't happen to know anything about the so-called treasure island?", "2"]]
}, {
"match" : ["hi", "hello"],
"pre" : [],
"post" : [],
"msg" : ["ARRRRRRR MATEY!!!!!"]
}, {
"match" : ["name"],
"pre" : [],
"post" : [],
"msg" : ["I am Black Beard the pirate."]
}, {
"match" : ["pirate", "job"],
"pre" : [],
"post" : [],
"msg" : ["I search the seven seas looking for treasure."]
}
]}

View File

@ -7,7 +7,7 @@ height 28
enter_x 9
enter_y 24
msg
Modified: 2012-05-15 Rick Tanner
Modified: 2012-07-15 Nicolas Weeger
endmsg
end
arch dungeon_floor
@ -652,12 +652,6 @@ arch woodfloor
x 4
y 12
end
arch key2
name An old rusty key
slaying rustyrusty
x 4
y 12
end
arch pirate
name Long John Silver
msg
@ -668,6 +662,25 @@ hp 100
x 4
y 12
unaggressive 1
arch npc_dialog
name /wolfsburg/long_john_silver.msg
end
arch NPCGift
name key_box
arch key2
name An old rusty key
slaying rustyrusty
end
end
arch NPCGift
name map_box
arch scroll_2
name map to the magic shovel
msg
This is a hand-drawn map by John Long Silver, but you can't make any sense of it.
endmsg
end
end
end
arch woodfloor
x 4
@ -2312,14 +2325,6 @@ arch woodfloor
x 15
y 6
end
arch letter
name Instructions for Magic Shovel
msg
Us the shovel to break through the mountains and then stand where you think the treasure is and push 'A'.
endmsg
x 15
y 6
end
arch pirate
name Black Beard
msg
@ -2329,14 +2334,13 @@ ARRRRRRR MATEY!!!!!
I am Bluebeard the pirate.
@match pirate|job
I search the seven seas looking for treasure.
@match treasure
Long John and I hid some treasure on an island and we buried it. He locked the map in his den and I have the instructions to use the magic shovel.
@match shovel|magic|magic shovel
We had a magic shovel. But we lost it on a distant island.
endmsg
x 15
y 6
unaggressive 1
arch npc_dialog
name /wolfsburg/black_beard.msg
end
end
arch woodfloor
x 15

View File

@ -0,0 +1,31 @@
{
"rules": [
{
"match" : ["yes"],
"pre" : [["quest", "wolfsburg/treasure-island", "30-40"], ["item", "Long John Silver's treasure map"]],
"post" : [["quest", "wolfsburg/treasure-island", "50"], ["takeitem", "Long John Silver's treasure map"], ["givecontents", "map_box"]],
"msg" : ["Yarrr, here is the map to the magic shovel.\n\nTry talking to the cap'tains of gallions here, one should be able to take you there."]
}, {
"match" : ["yes"],
"pre" : [["quest", "wolfsburg/treasure-island", "30-40"]],
"post" : [],
"msg" : ["Where is it?"]
}, {
"match" : ["*"],
"pre" : [["quest", "wolfsburg/treasure-island", "30-40"]],
"post" : [],
"msg" : ["Yar mate, got my map already?"],
"replies" : [["yes", "Yes, I do.", "1"]]
}, {
"match" : ["treasure"],
"pre" : [["quest", "wolfsburg/treasure-island", "=20"]],
"post" : [["quest", "wolfsburg/treasure-island", "30"], ["givecontents", "key_box"]],
"msg" : ["Yaeahhh!\n\nYou need the magic shovel which is on a remote island.\n\nHere is the key to my den, reachable from Wolfsburg by boat, it contains a map, please bring it to me."]
}, {
"match" : ["*"],
"pre" : [["quest", "wolfsburg/treasure-island", "=20"]],
"post" : [],
"msg" : ["ARRRRRRR!!!!!"],
"replies" : [["treasure", "Black Beard says you know things about the so-called treasure island?", "0"]]
}
]}

View File

@ -66,3 +66,47 @@ end_description
end_step
end_quest
quest wolfsburg/treasure-island
title The Treasure Island
face biggalleon.x11
description
Find the key to a hidden treasure on an island.
end_description
step 10
description
I found what claims to be a treasure island, but I don't know how to claim that treasure. I should investigate in Wolfsburg.
end_description
end_step
step 20
description
I should talk to Long John Silver, in the Eternal reward taven.
end_description
end_step
step 30
description
Long John Silver gave me the key to his den, which contains a map he needs. The den is located on some island I can reach in boat from Wolfsburg.
end_description
end_step
step 40
description
I have Long John Silver's map, I should go talk to him.
end_description
end_step
step 50
description
I must go find the magic shovel. Long John Silver made me a map, and a gallion from Wolfsburg should be able to transport me to that island.
end_description
end_step
step 60
description
I have the magic shovel, I can now go claim the treasure on the island.
end_description
end_step
step 70
finishes_quest
description
I claimed the treasure.
end_description
end_step
end_quest

View File

@ -4,7 +4,7 @@ region wolfsburg
width 50
height 50
msg
Modified: 2007-12-24 tchize
Modified: 2012-07-15 Nicolas Weeger
endmsg
outdoor 1
tile_path_1 world_128_106
@ -4313,6 +4313,12 @@ slaying shovel
face shovel_1.111
x 17
y 22
arch quest_advance_pickup
name wolfsburg/treasure-island 50>60
end
arch quest_prevent_drop
name wolfsburg/treasure-island 70
end
end
arch desert
x 17

View File

@ -5,7 +5,7 @@ region wolfsburg
width 50
height 50
msg
Modified: 2012-07-05 Rick Tanner
Modified: 2012-07-15 Nicolas Weeger
endmsg
outdoor 1
tile_path_1 world_128_108
@ -8359,12 +8359,17 @@ x 33
y 23
end
arch big_galleon
name Island Tours
slaying /world/world_128_107
hp 19
sp 23
x 33
y 23
arch quest_apply_if
name wolfsburg/treasure-island 50-70
msg
The captain looks at Long John Silver's map, and agrees to take you there.
endmsg
end
end
arch sea1
x 33

View File

@ -3,6 +3,9 @@ name world_129_107
region wolfsburg
width 50
height 50
msg
Modified: 2012-07-15 Nicolas Weeger
endmsg
outdoor 1
tile_path_1 world_129_106
tile_path_3 world_129_108
@ -1311,7 +1314,7 @@ x 5
y 20
end
arch scroll
name Treasure Map
name Long John Silver's treasure map
msg
WWWWWWWWWWWWWWWWWWW
WWWWW WWWWWWWWW
@ -1328,6 +1331,13 @@ WWWWWWWWWWWWWWWWWWW
endmsg
x 5
y 20
identified 1
arch quest_advance_pickup
name wolfsburg/treasure-island 30>40
end
arch quest_prevent_drop
name wolfsburg/treasure-island 70
end
end
arch woodfloor
x 5

View File

@ -4,7 +4,7 @@ region wolfsburg
width 50
height 50
msg
Modified: 2009-10-23 Andreas Kirschbaum
Modified: 2012-07-15 Nicolas Weeger
endmsg
outdoor 1
tile_path_1 world_129_108
@ -4862,8 +4862,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 19
@ -4878,8 +4877,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 19
@ -4894,8 +4892,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 19
@ -5141,8 +5138,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 20
@ -5157,8 +5153,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 20
@ -5176,13 +5171,15 @@ hp 3
sp 2
x 20
y 42
arch quest_advance_trigger
name wolfsburg/treasure-island 60>70
end
end
arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 20
@ -5197,8 +5194,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 20
@ -5440,8 +5436,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 21
@ -5456,8 +5451,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 21
@ -5476,8 +5470,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 21
@ -5722,8 +5715,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 22
@ -5738,8 +5730,7 @@ arch locked_door1
name rocks
slaying shovel
msg
You need a special tool to get past
these rocks.
You need a special tool to get past these rocks.
endmsg
face mountain3.111
x 22
@ -6240,6 +6231,9 @@ hp 12
sp 14
x 24
y 40
arch quest_advance_apply
name wolfsburg/treasure-island 0>10
end
end
arch pstone_1
x 24