TR_m7_HH_SeventhFam_Message_sc
TR_Mainland.esm
Source
1Begin TR_m7_HH_SeventhFam_Message_sc
2
3; Enable and Disable item for related quest
4
5if ( GetJournalIndex TR_m7_HH_SeventhFamily_1 >= 15 )
6 Return
7endif
8
9if ( GetDisabled == 1 )
10 if ( GetJournalIndex TR_m7_HH_SeventhFamily_1 > 0 )
11 Enable
12 else
13 Return
14 endif
15endif
16
17if ( GetJournalIndex TR_m7_HH_SeventhFamily_1 == 0 )
18 Disable
19endif
20
21; Journal will update if the player adds the message to their inventory
22if ( GetJournalIndex TR_m7_HH_SeventhFamily_1 < 15 )
23 if ( Player->GetItemCount TR_m7_q_HH_SeventhFam_Message > 0 )
24 Journal TR_m7_HH_SeventhFamily_1 15
25 endif
26endif
27
28End