Scripts

TR_m3_NPC_Giacinia_Andelius

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_Giacinia_Andelius 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10if ( TR_m3_GiaPackRat->OnDeath ) 11 set control to 2 12 forcegreeting 13endif 14 15if ( TR_m3_AT_RatFriend_Prison == 2 ) 16 positioncell 5072 6895 13952 10320 "Almas Thirr, Prison" 17 aiwander 0 5 0 52 20 10 10 18 TR_m3_GiaPackRat->positioncell 5163 6910 13952 12360 "Almas Thirr, Prison" 19 aiwander 0 5 0 52 20 10 10 20endif 21 22if ( cellchanged ) 23 if ( getjournalindex TR_m3_AT_RatFriend == 10 ) 24 if ( player->getitemcount ingred_red_lichen_01 >= 2 ) 25 if ( player->getitemcount p_restore_magicka_q >= 1 ) 26 if ( player->getitemcount Misc_SoulGem_Greater >= 2 ) 27 if ( player->getitemcount Misc_SoulGem_Lesser >= 1 ) 28 if ( player->getitemcount ingred_bread_01 >= 3 ) 29 if ( player->getitemcount TR_m3_AT_RatFriend_Journal >= 1 ) 30 if ( player->getitemcount potion_cyro_brandy_01 >= 1 ) 31 positioncell 5283 6920 13952 16440 "Almas Thirr, Prison" 32 aiwander 0 5 0 52 20 10 10 33 TR_m3_GiaPackRat->positioncell 5376 6952 13960 15060 "Almas Thirr, Prison" 34 aiwander 0 5 0 52 20 10 10 35 set TR_m3_AT_RatFriend_Prison to 1 36 endif 37 endif 38 endif 39 endif 40 endif 41 endif 42 endif 43 elseif ( getjournalindex TR_m3_AT_RatFriend == 110 ) 44 disable 45 TR_m3_GiaPackRat->disable 46 endif 47endif 48 49if ( TR_Map == 3 ) 50 return 51endif 52 53set TR_Map to 3 54 55End