#include "actors/utils/compositeripper.txt"

#include "actors/burst_copynerf.txt"

const int CLR_ROCKETGRAB = 4000;
const int CLR_ROCKETGRAB_CHARGED = 4001;
const int CLR_DEADLYMALWARE = 4002;
const int CLR_HAMMERTHROW = 4003;
const int CLR_ELECTRICBURST = 4004;
const int CLR_ALUCARDSWORD = 4005;
const int CLR_JUDGEMENTRUSH = 4006;
const int CLR_JUDGEMENTRUSHC1 = 4007;
const int CLR_JUDGEMENTRUSHC2 = 4008;
const int CLR_YOUKAIBUSTER = 4009;
const int CLR_SNAKEWHIP = 4010;
const int CLR_CRASRANGE = 4011;
const int CLR_BURST_MOONGAS = 4012;
const int CLR_MAGNETSPHERE = 4013; 
const int CLR_ARTERYCORE = 4014;
const int CLR_GYROBOOTS = 4015;
const int CLR_PLASMASPARK = 4016;
const int CLR_ZANGETSUTO = 4017;

const int ISND_ARTERYRELOAD = 0;

#include "actors/weapons/RocketGrab.txt"
#include "actors/weapons/HammerThrow.txt"
#include "actors/weapons/DeadlyMalwareWep.txt"
#include "actors/weapons/ElectricBurst.txt"
#include "actors/weapons/AlucardSword.txt"
#include "actors/weapons/JudgementRush.txt"
#include "actors/weapons/SnakeWhip.txt"
#include "actors/weapons/YoukaiBuster.txt"
#include "actors/weapons/CrasRange.txt"
#include "actors/weapons/MoonGas.txt"
#include "actors/weapons/MagnetSphere.txt"
#include "actors/weapons/ArteryCore.txt"
#include "actors/weapons/GyroBoots.txt"
#include "actors/weapons/PlasmaSpark.txt"
#include "actors/weapons/Zangetsuto.txt"

actor IBurstWeps : MMWeaponGiver
{
	+INVENTORY.AUTOACTIVATE
	States
	{
		SpawnWeapons:
			TNT1 A 0
			TNT1 A 0 A_SpawnItemEx("HammerThrowWep",  	64, 0, 0, 0, 0, 0, 0*360/15)
			TNT1 A 0 A_SpawnItemEx("DeadlyMalwareWep",  64, 0, 0, 0, 0, 0, 1*360/15)
			TNT1 A 0 A_SpawnItemEx("ElectricBurstWep",  64, 0, 0, 0, 0, 0, 2*360/15)
			TNT1 A 0 A_SpawnItemEx("AlucardSwordWep",   64, 0, 0, 0, 0, 0, 3*360/15)
			TNT1 A 0 A_SpawnItemEx("JudgementRushWep",  64, 0, 0, 0, 0, 0, 4*360/15)
			TNT1 A 0 A_SpawnItemEx("YoukaiBusterWep",   64, 0, 0, 0, 0, 0, 5*360/15)
			TNT1 A 0 A_SpawnItemEx("SnakeWhipWep",      64, 0, 0, 0, 0, 0, 6*360/15)
			TNT1 A 0 A_SpawnItemEx("CrasRangeWep",      64, 0, 0, 0, 0, 0, 7*360/15)
			TNT1 A 0 A_SpawnItemEx("BURST_MoonGasWep",  64, 0, 0, 0, 0, 0, 8*360/15)
			TNT1 A 0 A_SpawnItemEx("MagnetSphereWep", 	64, 0, 0, 0, 0, 0, 9*360/15)
			TNT1 A 0 A_SpawnItemEx("ArteryCoreWep",     64, 0, 0, 0, 0, 0, 10*360/15)
			TNT1 A 0 A_SpawnItemEx("GyroBootsWep",      64, 0, 0, 0, 0, 0, 11*360/15)
			TNT1 A 0 A_SpawnItemEx("PlasmaSparkWep",    64, 0, 0, 0, 0, 0, 12*360/15)
			TNT1 A 0 A_SpawnItemEx("RocketGrabWep",    	64, 0, 0, 0, 0, 0, 13*360/15)
			TNT1 A 0 A_SpawnItemEx("ZangetsutoUpgrade", 64, 0, 0, 0, 0, 0, 14*360/15)
			stop
		Use:
			TNT1 A 0 A_GiveInventory("HammerThrowWep",1)
			TNT1 A 0 A_GiveInventory("DeadlyMalwareWep",1)
			TNT1 A 0 A_GiveInventory("ElectricBurstWep",1)
			TNT1 A 0 A_GiveInventory("AlucardSwordWep",1)
			TNT1 A 0 A_GiveInventory("JudgementRushWep",1)
			TNT1 A 0 A_GiveInventory("YoukaiBusterWep",1)
			TNT1 A 0 A_GiveInventory("SnakeWhipWep",1)
			TNT1 A 0 A_GiveInventory("CrasRangeWep",1)
			TNT1 A 0 A_GiveInventory("BURST_MoonGasWep",1)
			TNT1 A 0 A_GiveInventory("MagnetSphereWep",1)
			TNT1 A 0 A_GiveInventory("ArteryCoreWep",1)
			TNT1 A 0 A_GiveInventory("GyroBootsWep",1)
			TNT1 A 0 A_GiveInventory("PlasmaSparkWep",1)
			TNT1 A 0 A_GiveInventory("RocketGrabWep",1)
			TNT1 A 0 A_GiveInventory("ZangetsutoUpgrade",1)
			stop
	}
}