Scripts

TR_m7_HH_Alvynu2_Clerk_scr

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
T_Local_NPC
T_Local_NoLore
NoLore
TR_m7_Ns_HH_Clerk
Source
1begin TR_m7_HH_Alvynu2_Clerk_scr 2 3;This script makes the clerks nolore and lowers their disposition when Q2 of the narsis HH questline starts 4;Nolore gets unset after the end of the quest but disposition is *not* increased 5 6short TR_Map 7short control 8; 0 = not initialized 9; 1 = initialized 10; 2 = quest started 11; 3 = quest ended 12; control is being used instead of controlq 13; because saravi already uses controlq and 14; I wanted to keep it consistent between the scripts 15short T_Local_NPC 16short T_Local_NoLore 17short NoLore 18; for dialogue filtering so the validator doesnt yell at me 19short TR_m7_Ns_HH_Clerk 20 21if ( OnDeath == 1 ) 22 if ( GetJournalIndex TR_m7_HH_Alvynu_2 > 0 ) 23 if ( GetJournalIndex TR_m7_HH_Alvynu_2 < 100 ) 24 set TR_m7_HH_Alvynu2_Murder to 1 25 endif 26 endif 27endif 28 29if ( control == 3 ) 30 return 31endif 32 33if ( control == 0 ) 34 set TR_Map to 7 35 set T_Local_NoLore to 1 36 set control to 1 37endif 38 39if ( control == 1 ) 40 if ( GetJournalIndex TR_m7_HH_Alvynu_2 > 0 ) 41 moddisposition -40 42 set T_Local_NoLore to 0 43 set control to 2 44 endif 45elseif ( control == 2 ) 46 if ( GetJournalIndex TR_m7_HH_Alvynu_2 >= 100 ) 47 set T_Local_NoLore to 1 48 set control to 3 49 endif 50endif 51 52end