TR_m3_OE_VaultCrystalSCP
TR_Mainland.esm
Variables
1
Local Variables
doOnce
Source
1begin TR_m3_OE_VaultCrystalSCP
2
3short doOnce
4
5if ( OnActivate == 1 )
6 if ( doOnce == 0 )
7 "TR_m3_OE_VaultMalDevice01"->disable
8 "TR_m3_OE_VaultMalDevice02"->enable
9 "TR_m3_OE_VaultPulseLight"->disable
10 MessageBox "Removing the crystal has deactivated the malfunctioning apparatus."
11 PlaySound "SothaSpikes"
12 set doOnce to 1
13 if ( GetJournalIndex "TR_m3_OE_DeadlyTreasure" == 10 )
14 Journal "TR_m3_OE_DeadlyTreasure" 20
15 endif
16 endif
17 Activate
18endif
19
20end