Scripts

TR_m3_q_A9_daedrothreward_em

TR_Mainland.esm
Variables 1
Local Variables
doOnce
Source
1Begin TR_m3_q_A9_daedrothreward_em 2 3;This disables the rewards given by Khayam-I. When appropriate, they are re-enabled through a different script. 4 5short doOnce 6 7If ( doOnce == 0 ) 8 Disable 9 set doOnce to 1 10Endif 11 12If ( doOnce == 1 ) 13 If ( GetJournalIndex "TR_m3_Sa_Inquiry" == 52 ) 14 Enable 15 set doOnce to 2 16 Endif 17Endif 18 19; the following block is to avoid spamming the player's inventory (or house) with scripted 20; items. 21if ( onActivate ) 22 player->additem ingred_emerald_01 1 23 disable 24endif 25 26 27End