TR_m4_NPC_AndoCTThug01
TR_Mainland.esm
Variables
8
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
disableOnce
greetOnce
Source
1Begin TR_m4_NPC_AndoCTThug01
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9short disableOnce
10short greetOnce
11
12if ( disableOnce == 0 )
13 disable
14 set disableOnce to 1
15endif
16
17if ( GetJournalIndex "TR_m4_TG_Shei6" >= 110 )
18 if ( GetJournalIndex "TR_m4_TG_Shei6" <= 125 )
19 disable
20 return
21 endif
22endif
23
24if ( GetJournalIndex "TR_m4_TG_Shei5" >= 300 )
25 if ( GetDisabled == 1 )
26 enable
27 if ( GetJournalIndex "TR_m4_TG_Tattara1" < 100 )
28 additem "TR_m4_TG_IllegalJinkblade02" 1
29 elseif ( GetJournalIndex "TR_m4_TG_Tattara1" >= 200 )
30 additem "TR_m4_TG_IllegalJinkblade02" 1
31 endif
32 endif
33endif
34
35if ( controlQ == 0 )
36 if ( GetJournalIndex "TR_m4_TG_ThreeEyes2" >= 200 )
37 additem "TR_m4_TG_VilungilCard" 1
38 set controlQ to 1
39 endif
40endif
41
42if ( GetDistance, player < 177 )
43 if ( GetDisabled == 0 )
44 if ( greetOnce == 0 )
45 ForceGreeting
46 set greetOnce to 1
47 endif
48 endif
49endif
50
51if ( TR_Map == 4 )
52 return
53endif
54
55set TR_Map to 4
56
57End