TR_m3_NPC_DeldorArethi
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
eec
Source
1Begin TR_m3_NPC_DeldorArethi
2
3; Deldor Arethi is a Velothi traveling merchant.
4; By default, he is disabled.
5; He enables in OE EEC Q5 near Vhul so you can meet him there. (Handled by this local script.)
6; He then disables and then (if you haven't needlessly murdered him) reappears near Roa Dyr for OE EEC Q6.
7; (Handled by dialogue results.)
8
9; This script mainly exists to ensure that he is disabled by default, second to define some local variables for dialog.
10
11short TR_Map
12short control
13short controlQ
14short T_Local_NPC
15short NoLore
16
17; quest 4 variables
18short eec ; set in dialogue
19
20if ( MenuMode )
21 return
22endif
23
24if ( OnDeath )
25 ; Killing Deldor Arethi is a possible solution to Q6
26 if ( GetJournalIndex "TR_m3_EEC_Cano6_b" > 0 )
27 Journal "TR_m3_EEC_Cano6_b" 300
28 else
29 SetJournalIndex "TR_m3_EEC_Cano6_b" 300
30 endif
31endif
32
33if ( TR_Map == 3 )
34 return
35endif
36
37set TR_Map to 3
38if ( GetJournalIndex "TR_m3_EEC_Cano5" == 0 )
39 disable
40endif
41
42End