TR_m3_q_counterfeiter_scr
TR_Mainland.esm
Variables
5
Local Variables
nolore
journalonce
TR_Map
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m3_q_counterfeiter_scr
2
3short nolore
4short journalonce
5short TR_Map
6short T_Local_NPC
7short T_Local_NoLore
8
9if ( GetAttacked )
10 "TR_m3_Arvs_Reladren"->StartCombat Player
11 "TR_m3_Arvs_Reladren"->SetFight, 100
12endif
13
14if ( GetJournalIndex TR_m3_EEC_counterfeit == 10 )
15 if ( GetDisabled )
16 enable
17 endif
18endif
19
20if ( GetJournalIndex TR_m3_EEC_counterfeit < 10 )
21 if ( GetDisabled == 0 )
22 disable
23 endif
24endif
25
26if ( GetJournalIndex "TR_m3_EEC_counterfeit" >= 10 )
27 if ( GetDistance, player <= 100 )
28 if ( GetJournalIndex "TR_m3_EEC_counterfeit" < 20 )
29 Journal "TR_m3_EEC_counterfeit" 20
30 endif
31 endif
32endif
33
34if ( TR_map != 3 )
35 set TR_map to 3
36endif
37
38end