Scripts

TR_m4_HH_HearChest

TR_Mainland.esm
Variables 2
Local Variables
DoOnce
done
Source
1begin TR_m4_HH_HearChest 2 3short DoOnce 4 5if ( GetJournalIndex "TR_m4_HH_AND_Hearing" < 10 ) 6 if ( GetDisabled == 0 ) 7 Disable 8 endif 9endif 10 11if ( GetJournalIndex "TR_m4_HH_AND_Hearing" >= 10 ) 12 if ( GetDisabled == 1 ) 13 if ( DoOnce == 0 ) 14 Enable 15 set DoOnce to 1 16 endif 17 endif 18endif 19 20short done 21 22if ( OnActivate == 1 ) 23 activate 24 if ( GetLocked == 1 ) 25 return 26 elseif ( GetJournalIndex "TR_m4_HH_AND_HearMilns" < 30 ) 27 journal TR_m4_HH_AND_HearMilns 30 28 endif 29endif 30 31End