TR_m3_MT_DilsSword_scr
TR_Mainland.esm
Variables
2
Local Variables
done
control
Source
1begin TR_m3_MT_DilsSword_scr
2short done
3short control
4; makes it so he can't equip his sword if the player stole it
5
6if ( OnActivate == 1 )
7 if ( done == 1 )
8 Activate
9 return
10 else
11 Set done to 1
12 set "TR_m7_Dils Sadri".controlQ1 to 1
13 Activate
14 endif
15endif
16
17; if the player didn't take it and he has it instead, remove the wall version
18
19if ( control != 1 )
20 if ( "TR_m7_Dils Sadri".control != 0 )
21 if ( GetJournalIndex TR_m3_MT_Sp_Dils == 30 )
22 disable
23 endif
24 endif
25endif
26
27End