Scripts

replenishammoShock

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