TR_m7_q_Shariche_Asselani
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m7_q_Shariche_Asselani
2
3;Script to attach to Shariche Asselani to end quest and place sapphires on Shariche Asselani's body if player kills Shariche Asselani in "This Too Shall Pass" quest
4
5short TR_Map
6short control
7short controlQ
8short NoLore
9short T_Local_NPC
10short T_Local_NoLore
11
12if ( CellChanged )
13 if ( controlQ == 1 )
14 set controlQ to 2
15 Disable
16 endif
17endif
18
19if ( OnDeath )
20 if ( GetPCCell "Septim's Gate Pass, Main Keep" == 1 )
21 set controlQ to 1
22 if ( GetJournalIndex TR_m7_SepGaP_Shinathi >= 10 )
23 Journal TR_m7_SepGaP_Shinathi 140
24 AddItem "T_IngMine_Sapphire_01" 3
25 elseif ( GetJournalIndex TR_m7_SepGaP_Shinathi == 150 )
26 Journal TR_m7_SepGaP_Shinathi 140
27 AddItem "T_IngMine_Sapphire_01" 3
28 elseif ( GetJournalIndex TR_m7_SepGaP_Shinathi < 10 )
29 AddItem "T_IngMine_Sapphire_01" 3
30 endif
31 endif
32endif
33
34if ( TR_Map == 7 )
35 return
36endif
37
38set TR_Map to 7
39
40end TR_m7_q_Shariche_Asselani