/////////////////////////////////////////////////////////////////////////
// Ammo definitions
/////////////////////////////////////////////////////////////////////////


actor pistol_ammo : ammo replaces clip 26101 {
  radius 16
  height 8
  scale 0.23
  inventory.pickupmessage "Pack of .50 AE ammo for Assault Pistol"
  inventory.amount 6
  inventory.maxamount 90
  inventory.pickupsound "weapons/gp_clipin2"
  ammo.backpackamount 9
  ammo.backpackmaxamount 180
  states
  {
  Spawn:
    GBUL A -1
    stop
  }
}

actor arifle_ammobox : ammo replaces clipbox 26102  {
  radius 16
  height 8
  scale 0.33
  inventory.pickupmessage "Box of 7.62x32mm Ammo for Assault Rifle"
  inventory.pickupsound "weapons/ar_pinpull"
  inventory.amount 54
  inventory.maxamount 360
  ammo.backpackamount 36
  ammo.backpackmaxamount 720
  states
  {
  Spawn:
    BBUL A -1
    stop
  }
}

actor arifle_ammo : arifle_ammobox 26103 {
  radius 16
  height 8
  scale 0.22
  inventory.pickupmessage "Pack of 7.62x39mm Ammo for Assault Rifle"
  inventory.pickupsound "weapons/ar_pinpull"
  inventory.amount 18
  states
  {
  Spawn:
    SBUL A -1
    stop
  }
}

actor autoshot_ammo : ammo 26104 {
  radius 16
  height 8
  scale 0.30
  inventory.pickupmessage "Pack of 12 Gauge shells for Auto-Shotgun"
  inventory.pickupsound "weapons/hs_clipin"
  inventory.amount 6
  inventory.maxamount 128
  ammo.backpackamount 6
  ammo.backpackmaxamount 256
  states
  {
  Spawn:
    BUKD A -1
    stop
  }
}

actor autoshot_ammobox : autoshot_ammo 26105{
  radius 16
  height 8
  scale 0.35
  inventory.pickupmessage "Box of 12 Gauge shells for Auto-Shotgun"
  inventory.pickupsound "weapons/hs_clipin"
  inventory.amount 16
  states
  {
  Spawn:
    BUKB A -1
    stop
  }
}

actor nailshot_ammo : ammo 26106 {
  radius 16
  height 8
  scale 0.375
  inventory.pickupmessage "Box of 4 Gauge SCMITR3 shells for NailShotgun"
  inventory.pickupsound "weapons/cs_ammopick"
  inventory.amount 12
  inventory.maxamount 40
  ammo.backpackamount 4
  ammo.backpackmaxamount 80
  
  states{
	  Spawn:
		SMTR A -1
		stop
  }
}



actor cannon_ammo : ammo 26107 {
  radius 16
  height 8
  scale 0.36
  inventory.pickupmessage "Pack of 30mm Slugs for Auto-Cannon"
  inventory.pickupsound "weapons/tp_clipin"
  inventory.amount 5
  inventory.maxamount 120
  ammo.backpackamount 10
  ammo.backpackmaxamount 240
  states{
	  Spawn:
		CSLS A -1
		stop
  }
}

actor cannon_ammobox : cannon_ammo 26108 {
  radius 16
  height 8
  scale 0.35
  inventory.pickupmessage "Box of 30mm Slugs for Auto-Cannon"
  inventory.pickupsound "weapons/tp_clipin"
  inventory.amount 15
  states{
	  Spawn:
		CSLU A -1
		stop
  }
}

actor crifle_ammo : ammo replaces Cell 26109 {
  radius 16
  height 8
  scale 0.35
  inventory.pickupmessage "Power Cell for Concussion Pulse Rifle"
  inventory.pickupsound "weapons/cr_ammopick"
  inventory.amount 20
  inventory.maxamount 480
  ammo.backpackamount 80
  ammo.backpackmaxamount 960

  states 
  {
  spawn:
    SCEL ABCDEFG 2
	loop
  }
}

actor crifle_ammobox : crifle_ammo 26110 {
  radius 16
  height 8
  scale 0.35
  inventory.pickupmessage "Power Cell Pack for Concussion Pulse Rifle"
  inventory.pickupsound "weapons/cr_ammopick"
  inventory.amount 60
  states
  {
  Spawn:
    BCEL ABCDEFGHIAAIHGFEDCBA 2
    loop
  }

}

actor sgauss_ammo : ammo 26111 {
  radius 16
  height 8
  scale 0.32
  inventory.pickupmessage "Pack of .60 Cal Slugs for Sniper Gauss Cannon"
  inventory.pickupsound "weapons/sg_clipin"
  inventory.amount 5
  inventory.maxamount 30
  ammo.backpackamount 5
  ammo.backpackmaxamount 60

  states 
  {
  spawn:
    GSLU AABCDEFGHIJKLM 2
	loop
  }

}





/*
Ammo random spawners, these will reduce the ammo suplies of the player, especially ammo
from shotgun shell pickups.
*/

actor arammo_gren_spawner: RandomSpawner replaces Stimpack
{
	DropItem "arifle_ammo" 164 3
	DropItem "pistol_ammo" 196 1
	DropItem "grenades" 128 6
}
 
actor shotgun_pickup_spawner: RandomSpawner replaces ShellBox
{
	DropItem "autoshot_ammobox" 192 5
	DropItem "nailshot_ammo" 255 1
}

actor ashotammo_spawner : RandomSpawner replaces Shell {
	DropItem "autoshot_ammo", 192
}

actor small_cannon_gren_spawner : RandomSpawner replaces RocketAmmo {
	DropItem "cannon_ammo" 196 4
	DropItem "grenades" 248 2
}


actor cannon_gren_spawner: RandomSpawner replaces RocketBox
{
	DropItem "cannon_ammobox" 180 9
	DropItem "grenade_box" 255 1
}

actor crifle_gauss_spawner: RandomSpawner replaces cellpack
{
	DropItem "crifle_ammobox" 180 9
	DropItem "sgauss_ammo" 255 1
}

