Scripts

TR_m3_OE_TG_AntioHelped

TR_Mainland.esm
Variables 6
Local Variables
control
controlQ
T_Local_NoLore
T_Local_NPC
TR_Map
NoLore
Source
1begin TR_m3_OE_TG_AntioHelped 2 3short control 4short controlQ 5short T_Local_NoLore 6short T_Local_NPC 7short TR_Map 8short NoLore 9 10if ( OnDeath ) 11 set TR_m3_OE_TG_AntioDead to 3 12endif 13 14if ( GetJournalIndex "TR_m3_TG_Moranie3" >= 70 ) 15 if ( GetDisabled == 0 ) 16 disable 17 endif 18elseif ( GetJournalIndex "TR_m3_TG_Moranie3b" >= 15 ) 19 if ( CellChanged ) 20 if ( GetDisabled == 0 ) 21 disable 22 endif 23 endif 24elseif ( GetJournalIndex "TR_m3_TG_Moranie3b" >= 10 ) 25 if ( GetDisabled ) 26 enable 27 endif 28elseif ( GetDisabled == 0 ) 29 disable 30endif 31 32if ( GetDisabled == 0 ) 33 if ( GetJournalIndex "TR_m3_TG_Moranie3" < 60 ) 34 if ( control == 0 ) 35 additem "T_Imp_UNI_KatariahsDeathMask" 1 36 set control to 1 37 endif 38 endif 39endif 40 41if ( TR_Map ) 42 return 43endif 44 45set TR_Map to 3 46 47end