TR_m7_NPC_Long-Are-Days
TR_Mainland.esm
Variables
8
Local Variables
doOnce
NoLore
TR_Map
control
controlQ
OnPCHitMe
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_NPC_Long-Are-Days
2
3short doOnce
4short NoLore
5short TR_Map
6short control
7short controlQ
8short OnPCHitMe
9short T_Local_NPC
10short T_Local_NoLore
11
12if ( player->GetItemCount TR_m7_SlaveTrouble_dagger >= 1 )
13 if ( GetJournalIndex TR_m7_SlaveTrouble < 40 )
14 set controlQ to 1
15 endif
16 set control to 1
17endif
18
19if ( OnPCHitMe == 1 )
20 if ( control == 0 )
21 if ( GetItemCount TR_m7_SlaveTrouble_dagger < 1 )
22 addItem "TR_m7_SlaveTrouble_dagger" 1
23 endif
24 set control to 2
25 endif
26 StartCombat Player
27 set OnPCHitMe to 0
28endif
29
30if ( OnDeath )
31 if ( GetJournalIndex "TR_m7_SlaveTrouble" >= 10 )
32 if ( GetJournalIndex "TR_m7_SlaveTrouble" <= 65 )
33 journal "TR_m7_SlaveTrouble" 70
34 endif
35 endif
36endif
37
38if ( TR_Map == 7 )
39 return
40endif
41
42set TR_Map to 7
43
44end