Scripts

TR_m2_q_9_EyeScript

TR_Mainland.esm
Source
1Begin TR_m2_q_9_EyeScript 2 3;This script deletes the eyestar on Mithas's table if he has given it to the player as a reward 4;for the A Lover's Plea quest 5 6if ( GetJournalIndex "TR_m2_AO_ShackledLove" == 40 ) ;if player completed quest 7 if ( player->GetItemCount "TR_m2_q_9_Eyestar_uni" > 0 ) ;if the player already took the eyestar 8 player->Drop "TR_m2_q_9_Eyestar_uni" 1 ;player loses it 9 elseif ( GetDisabled == 0 ) 10 disable ;and it is disabled (or just disabled if player never had it) 11 else 12 SetDelete, 1 ;and then deleted 13 return 14 endif 15else ;if the player hasn't completed the quest 16 if ( GetDisabled ) 17 enable ;make sure it's enabled 18 endif 19endif 20 21end