Scripts

TR_m4_FG_UshuCrown_02_scp

TR_Mainland.esm
Source
1begin TR_m4_FG_UshuCrown_02_scp 2 3;global TR_m4_FG_UshuFree 4 5if ( MenuMode ) 6 Return 7endif 8 9if ( TR_m4_FG_UshuFree < 3 ) 10 if ( GetDisabled == 0 ) 11 disable 12 endif 13endif 14 15if ( TR_m4_FG_UshuFree == 3 ) 16 if ( GetDisabled == 1 ) 17 enable 18 endif 19endif 20 21if ( OnActivate == 1 ) 22 if ( GetDisabled == 0 ) 23 player->additem "T_De_UNI_UshuDimmuCrown" 1 24 PlaySound "T_SndEnv_UshuKurMineSound" 25 set TR_m4_FG_UshuFree to 4 26 disable 27 endif 28endif 29 30end