Revision: | 1.3 |
Committed: | Sat Oct 16 09:19:18 2010 UTC (13 years, 7 months ago) by root |
Branch: | MAIN |
CVS Tags: | HEAD |
Changes since 1.2: | +0 -2 lines |
Log Message: | remove magicmap, visibility and glyph entries from archetypes, they are now in default.faceinfo |
# | User | Rev | Content |
---|---|---|---|
1 | root | 1.1 | object travelguide |
2 | name Travel Guide | ||
3 | face sailor.x11 | ||
4 | type 98 | ||
5 | subtype 43 | ||
6 | no_pick 1 | ||
7 | move_block all | ||
8 | value 2000 | ||
9 | root | 1.2 | sound fx/signature-31 |
10 | root | 1.1 | msg |
11 | @match travel | ||
12 | @cond $who->pay_amount ($npc->value) | ||
13 | root | 1.2 | @eval $who->contr->play_sound ($npc->sound) |
14 | root | 1.1 | @eval $who->goto ($npc->slaying) |
15 | |||
16 | As you wish! | ||
17 | |||
18 | @match travel | ||
19 | @msg "Sorry G<Sir|Madam>, but you need " . (cf::cost_string_from_value $npc->value) . "." | ||
20 | |||
21 | @match * | ||
22 | @msg $npc->lore | ||
23 | @msg "\nIt will cost you " . (cf::cost_string_from_value $npc->value) . ".\n\n" | ||
24 | |||
25 | Do you want to travel there? | ||
26 | endmsg | ||
27 | end | ||
28 |