TR_m7_RylyarrimirNote_sc
TR_Mainland.esm
Variables
2
Local Variables
OnPCEquip
PCSkipEquip
Source
1Begin TR_m7_RylyarrimirNote_sc
2
3short OnPCEquip
4short PCSkipEquip
5
6set PCSkipEquip to 0
7
8if ( MenuMode )
9 set PCSkipEquip to 1
10 if ( OnPCEquip )
11 set OnPCEquip to 0
12 set PCSkipEquip to 0 ; OpenMW fails to open the book without this line
13 Activate
14 if ( getjournalindex tr_m7_hl_pauperandprince >= 10 )
15 if ( getjournalindex tr_m7_hl_pauperandprince < 40 )
16 Journal tr_m7_hl_pauperandprince 40
17 endif
18 endif
19 endif
20 return
21endif
22
23if ( OnActivate )
24 if ( getjournalindex tr_m7_hl_pauperandprince >= 10 )
25 if ( getjournalindex tr_m7_hl_pauperandprince < 40 )
26 Journal tr_m7_hl_pauperandprince 40
27 endif
28 endif
29 Activate
30endif
31
32end