TR_m7_Q_DivingForArns_sc2
TR_Mainland.esm
Variables
2
Local Variables
control
doOnce
Source
1Begin TR_m7_Q_DivingForArns_sc2
2
3short control
4short doOnce
5
6if ( MenuMode )
7 return
8endif
9
10if ( GetJournalIndex "TR_m7_HO_DivingForArns" < 10 )
11 if ( GetDisabled )
12 return
13 else
14 Disable
15 return
16 endif
17elseif ( GetDisabled )
18 if ( GetJournalIndex "TR_m7_HO_DivingForArns" < 100 )
19 Enable
20 endif
21endif
22
23if ( GetJournalIndex TR_m7_HO_DivingForArns >= 10 )
24 if ( GetJournalIndex TR_m7_HO_DivingForArns < 30 )
25 if ( GetItemCount "misc_dwrv_gear00" >= 10 )
26 Journal "TR_m7_HO_DivingForArns" 30
27 endif
28 endif
29endif
30
31if ( doOnce == 0 )
32 if ( GetJournalIndex TR_m7_HO_DivingForArns == 100 )
33 set doOnce to 1
34 disable
35 endif
36endif
37
38End