Scripts

Shunari_Plague

Tribunal.esm
Variables 3
Local Variables
nolore
cured
doonce
Source
1Begin Shunari_Plague 2 3short nolore 4short cured 5short doonce 6 7;for MS_CrimsonPlague 8; disable her until she's needed 9 10if ( GetJournalIndex "MS_CrimsonPlague" < 80 ) 11 Disable 12endif 13 14if ( GetJournalIndex "MS_CrimsonPlague" == 80 ) 15 if ( GetDisabled == 1 ) 16 Enable 17 endif 18endif 19 20if ( GetJournalIndex "MS_CrimsonPlague" == 170 ) 21 if ( GetDisabled == 0 ) 22 Disable 23 endif 24endif 25 26;moves her to Temple Gardens after initial meeting 27;checks to make sure she's not dead, in case player felt like killing her 28 29if ( GetJournalIndex "MS_CrimsonPlague" == 105 ) 30 if ( GetDeadCount "Shunari Eye-Fly" == 0 ) 31 if ( doonce == 0 ) 32 PositionCell 961.706,-2534.809,-25.316,170.9 "Old Mournhold: Temple Gardens" 33 set doonce to 1 34 endif 35 endif 36endif 37 38;checks to see if Shunari has common disease 39 40if ( GetJournalIndex "MS_CrimsonPlague" >= 100 ) 41 if ( cured == 0 ) 42 if ( GetCommonDisease == 0 ) 43 Journal MS_CrimsonPlague 110 44 ModDisposition 50 45 set cured to 1 46 Return 47 endif 48 endif 49endif 50 51 52End Shunari_Plague