ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/arch/transport/travelguide.arc
Revision: 1.1
Committed: Tue Apr 20 08:19:06 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
Log Message:
add travel guide

File Contents

# User Rev Content
1 root 1.1 object travelguide
2     name Travel Guide
3     face sailor.x11
4     magicmap white
5     type 98
6     subtype 43
7     no_pick 1
8     move_block all
9     visibility 100
10     value 2000
11     msg
12     @match travel
13     @cond $who->pay_amount ($npc->value)
14     @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