Scripts

TR_m7_HO_TT_05_crooknote_scr

TR_Mainland.esm
Variables 3
Local Variables
done
OnPCEquip
PCSkipEquip
Source
1Begin TR_m7_HO_TT_05_crooknote_scr 2 3short done 4short OnPCEquip 5short PCSkipEquip 6 7if ( done == 1 ) 8 set PCSkipEquip to 0 9 return 10endif 11set PCSkipEquip to 1 12 13if ( GetJournalIndex TR_m7_HO_TT_05 < 30 ) 14 if ( GetJournalIndex TR_m7_HO_TT_05 >= 10 ) 15 if ( onactivate == 1 ) 16 Journal TR_m7_HO_TT_05 30 17 set TR_m7_HO_TT_05_crooknotefound to 1 18 set done to 1 19 activate 20 endif 21 endif 22endif 23 24if ( GetJournalIndex TR_m7_HO_TT_05 == 0 ) 25 if ( onactivate == 1 ) 26 set TR_m7_HO_TT_05_crooknotefound to 1 27 set done to 1 28 activate 29 endif 30endif 31 32if ( GetJournalIndex TR_m7_HO_TT_05 < 30 ) 33 if ( GetJournalIndex TR_m7_HO_TT_05 >= 10 ) 34 if ( OnPCEquip == 1 ) 35 Journal TR_m7_HO_TT_05 30 36 set TR_m7_HO_TT_05_crooknotefound to 1 37 set done to 1 38 activate 39 endif 40 endif 41endif 42 43 44if ( GetJournalIndex TR_m7_HO_TT_05 >= 0 ) 45 if ( OnPCEquip == 1 ) 46 set TR_m7_HO_TT_05_crooknotefound to 1 47 set done to 1 48 activate 49 endif 50endif 51 52 53end