Debian Codegraph @

mods/empyrean_campaign/npcs/ardwens_coffin.txt

raw
1 name=Ardwen's Coffin
2
3 talker=true
4
5 # quest not complete; second ring not yet inserted
6 [dialog]
7 topic=Ardwen's Coffin
8 requires_not_status=emp_ardwen_ring_2_used,emp_ardwen_spawn,emp_ardwen_finish
9 response=emp_ardwen_ring_1
10 response=emp_ardwen_ring_2
11 response=emp_ardwen_cancel
12 him=A finger-sized post is protruding from the lid of the coffin. It looks as though something is missing.
13
14 [dialog]
15 id=emp_ardwen_ring_1
16 response_only=true
17 topic=Place the Gold Family Ring on the coffin
18 requires_item=1003:1
19 remove_item=1003:1
20 unset_status=emp_ardwen_ring_1
21 script=scripts/maps/family_crypt/open_chest_room.txt
22 msg=The ring dissolved into nothing!
23 shakycam=1s
24 intramap=3,56
25 soundfx=soundfx/powers/teleport.ogg
26
27 [dialog]
28 id=emp_ardwen_ring_2
29 response_only=true
30 topic=Place the Silver Family Ring on the coffin
31 requires_item=1031:1
32 remove_item=1031:1
33 unset_status=emp_ardwen_ring_2
34 msg=The ring dissolved into nothing!
35 set_status=emp_ardwen_ring_2_used
36 script=scripts/maps/family_crypt/spawn_ardwen.txt
37 spawn=ardwen_quest,12,4
38
39 [dialog]
40 id=emp_ardwen_cancel
41 response_only=true
42 topic=Cancel
43
44 # quest not complete; second ring has been inserted
45 [dialog]
46 topic=Ardwen's Coffin
47 requires_status=emp_ardwen_ring_2_used
48 requires_not_status=emp_ardwen_spawn,emp_ardwen_defeated,emp_ardwen_finish
49 script=scripts/maps/family_crypt/spawn_ardwen.txt
50 spawn=ardwen_quest,12,4
51
52 # quest complete
53 [dialog]
54 topic=Ardwen's Coffin
55 requires_status=emp_ardwen_finish
56 requires_not_status=emp_ardwen_spawn,emp_ardwen_defeated
57 script=scripts/maps/family_crypt/spawn_ardwen.txt
58 spawn=ardwen,12,4
59