Scripts

TR_m4_q_receivedGift

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
receivedGift
T_Local_NPC
Source
1Begin TR_m4_q_receivedGift 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short receivedGift 8short T_Local_NPC 9 10if ( control < 2 ) 11 set control to 2 ; for filtering greetings 12endif 13 14if ( OnDeath == 1 ) 15 Journal TR_m4_Ob_ObainatKill 1 16 if ( GetJournalIndex TR_m4_Ob_Ancestral_Guidance > 0 ) 17 Journal TR_m4_Ob_Ancestral_Guidance 200 18 endif 19endif 20 21if ( TR_Map == 4 ) 22 return 23endif 24 25set TR_Map to 4 26 27End