Scripts

TR_m1_q_desk_RathraQ4_sc

TR_Mainland.esm
Variables 1
Local Variables
doonce
Source
1Begin TR_m1_q_desk_RathraQ4_sc 2 3; global TR_m1_HT_FakeLedgerPlanted 4short doonce 5 6if ( GetJournalIndex "TR_m1_HT_Rathra_q4" < 20 ) 7 return 8endif 9 10if ( GetJournalIndex "TR_m1_HT_Rathra_q4" >= 40 ) 11 if ( doonce == 0 ) 12 if ( GetItemCount "TR_m1_q_ForgedMineList" >= 1 ) 13 RemoveItem "TR_m1_q_ForgedMineList" 1 14 endif 15 set doonce to 1 16 endif 17 return 18endif 19 20if ( TR_m1_HT_FakeLedgerPlanted == 0 ) 21 if ( GetItemCount "TR_m1_q_ForgedMineList" >= 1 ) 22 set TR_m1_HT_FakeLedgerPlanted to 1 23 Journal "TR_m1_HT_Rathra_q4" 30 24 endif 25elseif ( GetItemCount "TR_m1_q_ForgedMineList" == 0 ) 26 set TR_m1_HT_FakeLedgerPlanted to 0 27endif 28 29End