TR_m3_q_A9_daedrothreward_sc
TR_Mainland.esm
Variables
1
Local Variables
doOnce
Source
1Begin TR_m3_q_A9_daedrothreward_sc
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 TR_sc_q_m3_A9_summondae_free 1
23 disable
24endif
25
26
27End