Scripts

T_ScCrea_CentReplenishAmmoShock

Tamriel_Data.esm
Variables 1
Local Variables
isdead
Source
1Begin T_ScCrea_CentReplenishAmmoShock 2 3short isdead 4 5if ( MenuMode ) 6 return 7endif 8 9if ( isdead == 1 ) 10 return 11endif 12 13;when killed, adds 1 darts to inventory for player to find. so player finds 1 plus whatever is left 14If ( OnDeath ) 15 additem "T_Dwe_Regular_Dart_Shock" 1 16 set isdead to 1 17endif 18 19If ( GetItemCount "T_Dwe_Regular_Dart_Shock" < 2 ) 20 additem "T_Dwe_Regular_Dart_Shock" 2 21endif 22 23End