Scripts

T_ScCrea_CentReplenishAmmo

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