//Base and dummy actors go here

//Construction check
actor build_check : inventory
{
	inventory.amount 1
	inventory.maxamount 1
}

//*_Building actors base
actor BuildBase
{
	states
	{
		Spawn:
		TNT1 A 0
		TNT1 A 0 A_JumpIfInTargetInventory("build_check", 1, 2)
		TNT1 A 0 A_Jump(256, "Spawn2")
		TNT1 A 1
		goto Spawn
	}
}


//move this if incorrect placement
ACTOR TurretHeadBase //this will quickly add flags to all the damn turrets (or anything else)
{
	obituary "%o was shot up by a Turret."
	health 450
	radius 4
	height 50
	mass 10000
	speed 0
	MONSTER
	//-ISMONSTER //Makes it spawnable everywhere
	+FLOORCLIP
	+FRIENDLY
	+FASTER
	+NOBLOOD
	+LOOKALLAROUND
	+SHORTMISSILERANGE
	+NEVERRESPAWN
	+NODAMAGETHRUST
	+DONTOVERLAP
	PainSound "turret/pain"
	DeathSound "turret/death"
	
	scale 0.5
	
	// protect from marine damage
	damagefactor "MarineFire", 0.0
	damageFactor "MarineFire2", 0.0
	DamageFactor "MarineFire3", 0.0

	//Make spawnable inside monsters
	-SOLID
	
	states
	{
		Spawn:
			NULL A 1
			stop
	}
}