Scripts

TR_m2_q_14_NalethChest_sc

TR_Mainland.esm
Source
1Begin TR_m2_q_14_NalethChest_sc 2 3;Activating this chest does various things depending on the quest stage of TR_m2_FW_SkoomaFree 4 5 if ( GetDisabled == 1 ) 6 return 7 endif 8 9 if ( OnActivate == 1 ) 10 if ( TR_m2_Naleth_Llarni.controlQ == 0 ) 11 if ( GetJournalIndex "TR_m2_FW_SkoomaFree" < 10 ) 12 set TR_m2_Naleth_Llarni.controlQ to 1 13 TR_m2_Naleth_Llarni->ForceGreeting 14 ElseIf ( GetJournalIndex "TR_m2_FW_SkoomaFree" == 10 ) 15 Activate 16 set TR_m2_Naleth_Llarni.controlQ to 3 17 ElseIf ( GetJournalIndex "TR_m2_FW_SkoomaFree" == 15 ) 18 Activate 19 set TR_m2_Naleth_Llarni.controlQ to 3 20 ElseIf ( GetJournalIndex "TR_m2_FW_SkoomaFree" == 20 ) 21 Journal "TR_m2_FW_SkoomaFree" 25 22 Activate 23 set TR_m2_Naleth_Llarni.controlQ to 3 24 ElseIf ( GetJournalIndex "TR_m2_FW_SkoomaFree" > 20 ) 25 set TR_m2_Naleth_Llarni.controlQ to 1 26 TR_m2_Naleth_Llarni->ForceGreeting 27 endif 28 endif 29 endif 30 31End