Scripts

TR_m2_q_35_Ranosa

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
PCDiseased
T_Local_NPC
NoLore
Source
1Begin TR_m2_q_35_Ranosa 2 3;Detects whether the player was infected during the quest 4 5short TR_Map 6short control 7 8short controlQ ;doonce variable for quest topics 9short PCDiseased ;1-2 if player infected by porphyric hemophilia, 3-4 when cured 10short T_Local_NPC 11short NoLore 12 13If ( GetJournalIndex "TR_m2_MG_Ranosa2" < 100 ) 14 If ( GetJournalIndex "TR_m2_MG_Ranosa2" >= 50 ) 15 If ( player->GetSpellEffects "vampire blood aundae" == 1 ) 16 if ( PCDiseased < 1 ) 17 Set PCDiseased to 1 18 endif 19 ElseIf ( player->GetSpellEffects "vampire blood berne" == 1 ) 20 if ( PCDiseased < 1 ) 21 Set PCDiseased to 1 22 endif 23 ElseIf ( player->GetSpellEffects "vampire blood quarra" == 1 ) 24 if ( PCDiseased < 1 ) 25 Set PCDiseased to 1 26 endif 27 ElseIf ( PCDiseased > 1 ) ;PC was infected, remarked by Ranosa, is now cured 28 Set PCDiseased to 3 29 ElseIf ( PCDiseased == 1 ) ;PC was infected but cured before talking to her 30 Set PCDiseased to 0 31 EndIf 32 EndIf 33EndIf 34 35;regional topics filter 36if ( TR_Map == 2 ) 37 return 38endif 39 40set TR_Map to 2 41 42End