Actor LegAmmoSphere : CustomInventory 16704
{
//$Category Powerups/LCA
//$Sprite AMSPA0
//$Title "Legendary Ammo Sphere"
+INVBAR
+FLOATBOB
+COUNTITEM
+NOTIMEFREEZE
+INVENTORY.BIGPOWERUP
Inventory.Icon "INVLA0"
Inventory.MaxAmount 1
Inventory.UseSound "legammo/use"
Inventory.PickupSound "legammo/pickup"
Inventory.PickupMessage "Legendary Ammo Sphere, time to spam with heavy weapons don't you think so ?"
Tag "Legendary Ammo Sphere"
States
	{
	Spawn:
		AMSP ABCD 10 Bright A_CustomMissile ("LegendarySphereFlameSpawner",-20,0,random(0,-360),2,random(0,360)) 
		Loop	
	Use:
		TNT1 A 0
		TNT1 AAAAAAAAAA 0 A_GiveInventory("ModdedBackpack",1)
		TNT1 A 1 A_GiveInventory("LegInfiniteAmmo",1)
		Stop  	
	}
}

Actor LegInfiniteAmmo : PowerupGiver
{
Inventory.MaxAmount 0
+INVENTORY.AUTOACTIVATE
+INVENTORY.ALWAYSPICKUP
Powerup.Duration -45
Powerup.Color Yellow 0.2
Powerup.Type "PowerInfiniteAmmo"
}