Scripts

TR_m2_q_27_LaalalvoSCN

TR_Mainland.esm
Variables 13
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
rant
coverblown
falsetrail
alchemy
warned
slavesfreed
demoted
Source
1Begin TR_m2_q_27_LaalalvoSCN 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8short T_Local_NoLore 9 10; TR_m2_FG_Amiro3 quest variables: 11short rant 12; rant is set to 1 when Laalalvo should rant at the player. 13; rant is set to 2 once Laalalvo is done with her rant (which is a Greeting 1) at the player. 14; This does not strictly have to be a rant, but most likely will be. 15short coverblown 16; coverblown == 0 means the player didn't talk to any guards or overseers about escaped slaves. 17; coverblown == 1 means he did. 18short falsetrail 19; falsetrail == 1 means the player has distracted the guard by laying a false trail (dropping slave key in the Indaren-Veri egg mine). 20; falsetrail == 0 means he didn't. 21short alchemy 22; alchemy == 1 means the player used alchemy to free the slaves. 23; alchemy == 0 means he didn't. 24short warned 25; warned is set to 1 once Laalalvo has explained her viewpoint on the quest to the player 26; (this is what sets journal TR_m2_FG_Amiro3 to 11). 27short slavesfreed 28; slavesfreed == 1 means the player has freed slaves inside the mine (as opposed to only Heel-Kur). 29; This is a big red rag to Laalalvo. 30; slavesfreed == 0 means the player hasn't freed slaves inside the mine. 31short demoted 32; records whether the player's been demoted (or then, ...remoted) for q2-29 (TR_m2_FG_Irano2, assassination of the Telomas) 33 34if ( slavesfreed == 1 ) ; fire Amiro if the player did it really wrong 35 if ( getJournalIndex TR_m2_FG_Amiro3 == 60 ) 36 if ( TR_m2_Amiro.disappearOnce == 0 ) 37 set TR_m2_Amiro.disappearOnce to 1 38 endif 39 elseif ( getJournalIndex TR_m2_FG_Amiro3 == 70 ) 40 if ( TR_m2_Amiro.disappearOnce == 0 ) 41 set TR_m2_Amiro.disappearOnce to 1 42 endif 43 endif 44endif 45 46if ( rant == 1 ) ; forcegreet player with rant 47 if ( player->getpos z < 12800 ) 48 if ( GetDistance Player < 300 ) 49 Forcegreeting 50 endif 51 endif 52endif 53 54if ( TR_Map == 2 ) 55 return 56endif 57 58set TR_Map to 2 59 60End