TR_m4_q_Euphoria_JathmundSc
TR_Mainland.esm
Variables
6
Local Variables
nolore
control
controlQ
TR_Map
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m4_q_Euphoria_JathmundSc
2
3short nolore
4short control
5short controlQ
6short TR_Map
7short T_Local_NPC
8short T_Local_NoLore
9
10if ( MenuMode )
11 return
12endif
13
14if ( GetJournalIndex "TR_m4_T_Euphoria" >= 10 )
15 if ( GetJournalIndex "TR_m4_T_Euphoria" < 100 )
16
17 if ( OnDeath )
18 Journal TR_m4_T_Euphoria_b 100
19 endif
20
21 if ( control == 0 )
22 if ( GetDistance player < 300 )
23 set control to 1
24 set TR_m4_q_Euphoria_RingUsed to 1
25 forcegreeting
26 return
27 endif
28 endif
29
30 endif
31endif
32
33if ( TR_Map )
34 return
35endif
36
37set TR_Map to 4
38
39End