Scripts

TR_m2_q_12_Tarbus_Inn

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m2_q_12_Tarbus_Inn 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10if ( controlQ ) 11 Return 12endif 13 14if ( CellChanged == 0 ) 15 if ( TR_Map ) 16 Return 17 endif 18endif 19 20if ( GetDisabled == 0 ) 21 Disable 22 TR_m2_Merias_Inn->disable 23endif 24 25if ( GetJournalIndex "TR_m2_Wil_AvengeKnights" == 120 ) 26 if ( GetDeadCount "TR_m2_Merias Tolode" == 0 ) 27 TR_m2_Merias_Inn->enable 28 endif 29 if ( GetDeadCount "TR_m2_Tarbus Norin" == 0 ) 30 enable 31 endif 32 set controlQ to 1 33endif 34 35if ( TR_Map == 2 ) 36 return 37endif 38 39set TR_Map to 2 40 41End