Scripts

TR_m4_NPC_Narusea_Verenim_pub

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m4_NPC_Narusea_Verenim_pub 2; Script for the publican version of Narusea_Verenim. She will only get enabled at the end of the Omaynis Inn quest 3 4short TR_Map 5short control 6short controlQ 7short T_Local_NPC 8short NoLore 9 10if ( TR_m4_Oma_InnStage < 3 ) 11 if ( GetDisabled == 0 ) 12 Disable 13 endif 14elseif ( GetJournalIndex "TR_m4_HH_AND_OmaynisInn3" == 80 ) 15 ; in case the player has never visited the mine 16 if ( GetDisabled == 0 ) 17 Disable 18 endif 19elseif ( GetJournalIndex "TR_m4_HH_AND_OmaynisInn3" == 70 ) 20 ; Olvys has moved to the new inn 21 if ( "TR_m4_Narusea Verenim"->GetHealth >= 1 ) 22 ; not dead 23 if ( GetDisabled ) 24 Enable 25 endif 26 endif 27endif 28 29if ( TR_Map > 0 ) 30 return 31endif 32 33set TR_Map to 4 34 35End