ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/arch/transport/travelguide.arc
Revision: 1.2
Committed: Tue Apr 20 10:36:25 2010 UTC (14 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-3_0
Changes since 1.1: +2 -0 lines
Log Message:
implement 'travelguide sound'

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 root 1.2 sound fx/signature-31
12 root 1.1 msg
13     @match travel
14     @cond $who->pay_amount ($npc->value)
15 root 1.2 @eval $who->contr->play_sound ($npc->sound)
16 root 1.1 @eval $who->goto ($npc->slaying)
17    
18     As you wish!
19    
20     @match travel
21     @msg "Sorry G<Sir|Madam>, but you need " . (cf::cost_string_from_value $npc->value) . "."
22    
23     @match *
24     @msg $npc->lore
25     @msg "\nIt will cost you " . (cf::cost_string_from_value $npc->value) . ".\n\n"
26    
27     Do you want to travel there?
28     endmsg
29     end
30