TR_m1_q_Ratagos
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_m1_q_Ratagos
2; This short script is there to allow dialogue to be filtered on the TR_Map local variable,
3; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be
4; appropriate to the location the NPC is.
5
6short TR_Map
7short control
8short controlQ
9short T_Local_NPC
10short NoLore
11short T_Local_NoLore
12
13if ( OnDeath )
14 if ( GetJournalIndex "TR_m1_TT_2" >= 10 )
15 if ( GetJournalIndex "TR_m1_TT_2" < 70 )
16 Journal "TR_m1_TT_2" 150
17 endif
18 endif
19 if ( GetJournalIndex "TR_m1_TT_3" >= 10 )
20 if ( GetJournalIndex "TR_m1_TT_3" < 50 )
21 Journal "TR_m1_TT_3" 150
22 endif
23 endif
24 if ( GetJournalIndex "TR_m1_TT_4" >= 10 )
25 if ( GetJournalIndex "TR_m1_TT_4" < 50 )
26 Journal "TR_m1_TT_4" 150
27 endif
28 endif
29 if ( GetJournalIndex "TR_m1_TT_4point5" >= 10 )
30 if ( GetJournalIndex "TR_m1_TT_4point5" < 100 )
31 Journal "TR_m1_TT_4point5" 150
32 endif
33 endif
34 if ( GetJournalIndex "TR_m1_TT_5" >= 10 )
35 if ( GetJournalIndex "TR_m1_TT_5" < 30 )
36 Journal "TR_m1_TT_5" 150
37 endif
38 endif
39 if ( GetJournalIndex "TR_m1_TT_6" >= 10 )
40 if ( GetJournalIndex "TR_m1_TT_6" < 40 )
41 Journal "TR_m1_TT_6" 150
42 endif
43 endif
44 if ( GetJournalIndex "TR_m1_TT_7" >= 10 )
45 if ( GetJournalIndex "TR_m1_TT_7" < 100 )
46 Journal "TR_m1_TT_7" 150
47 endif
48 endif
49endif
50
51if ( TR_Map == 1 )
52 return
53endif
54
55set TR_Map to 1
56
57End