TR_m4_TG_ThoriclesAxe_scp
TR_Mainland.esm
Variables
1
Local Variables
disableOnce
Source
1begin TR_m4_TG_ThoriclesAxe_scp
2
3short disableOnce
4;global TR_m4_TG_ThoriclesCheck
5;global TR_m4_TG_AndoShei6Global
6
7if ( disableOnce == 0 )
8 disable
9 set disableOnce to 1
10endif
11
12if ( GetJournalIndex "TR_m4_TG_ThreeEyes1B" >= 100 )
13 if ( disableOnce == 1 )
14 enable
15 set disableOnce to 2
16 endif
17endif
18
19if ( TR_m4_TG_AndoShei6Global >= 1 )
20 if ( GetDisabled == 0 )
21 disable
22 endif
23endif
24
25if ( OnActivate == 1 )
26 PlaySound "Item Weapon Blunt Up"
27 player->additem "T_Imp_UNI_ThoriclesAxe" 1
28 set TR_m4_TG_ThoriclesCheck to 1 ;if TR_m4_TG_ThoriclesCheck is 1, the player has stolen the axe back
29 disable
30endif
31
32end