TR_m7_Ns_IL_4_PackageSc
TR_Mainland.esm
Variables
1
Local Variables
OnPCEquip
Source
1Begin TR_m7_Ns_IL_4_PackageSc
2
3short OnPCEquip
4
5if ( CellChanged )
6 if ( GetJournalIndex TR_m7_Ns_IL_4 >= 100 )
7 if ( GetDisabled == 0 )
8 disable
9 endif
10 elseif ( GetJournalIndex TR_m7_Ns_IL_4 < 15 )
11 if ( GetDisabled == 0 )
12 disable
13 endif
14 elseif ( GetDisabled )
15 enable
16 endif
17endif
18
19if ( OnPCEquip )
20 player->additem TR_m7_Ns_IL_4_Shirt 1
21 player->additem TR_m7_Ns_IL_4_Ring 1
22 player->additem TR_m7_Ns_IL_4_Journal 1
23 journal TR_m7_Ns_IL_4 20
24 player->removeitem TR_m7_Ns_IL_4_Package 1
25endif
26
27End