entityDef "trap_spikes_weak"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_spike1
	sprite_sprung	trap_spike1_sprung
	name			"Hidden spike trap"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		true
	cooldown		40
	detectChance	75
	detectDistance	1
	power			sp_object_spike_weak
}

entityDef "trap_spikes_medium"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_spike2
	sprite_sprung	trap_spike2_sprung
	name			"Hidden spike trap"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		true
	cooldown		40
	detectChance	50
	detectDistance	1
	power			sp_object_spike_medium
}

entityDef "trap_spikes_strong"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_spike3
	sprite_sprung	trap_spike3_sprung
	name			"Hidden spike trap"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		true
	cooldown		40
	detectChance	25
	detectDistance	1
	power			sp_object_spike_strong
}

entityDef "trap_explode_weak"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_rune
	sprite_sprung	trap_rune_sprung
	name			"Exploding Rune"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		false
	cooldown		10
	detectChance	75
	detectDistance	1
	power			sp_object_explode
}

entityDef "trap_shockwave"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_rune
	sprite_sprung	trap_rune_sprung
	name			"Shockwave Trap"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		false
	cooldown		10
	detectChance	100
	detectDistance	3
	power			sp_object_shockwave
}



entityDef "trap_fallingblock"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_fallingblock
	sprite_sprung	trap_fallingblock_sprung
	name			"Falling block"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		false
	cooldown		10
	detectChance	75
	detectDistance	1
	power			sp_object_crush
}

entityDef "trap_pit"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_coveredpit
	sprite_sprung	trap_coveredpit_sprung
	name			"Covered pit"
	nonheroes		true
	alert			true
	candisarm		false
	starthidden		true
	repeatable		true
	cooldown		0
	detectChance	75
	detectDistance	1
	power			sp_object_pit
}

entityDef "trap_fist"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_fist
	sprite_sprung	trap_fist_sprung
	name			"Jibbafist"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		false
	cooldown		10
	detectChance	75
	detectDistance	1
	power			sp_object_crush
}

entityDef "trap_goofountain"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_goofountain
	sprite_sprung	trap_goofountain_sprung
	name			"Goo Fountain"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		true
	cooldown		10
	detectChance	75
	detectDistance	1
	power			sp_object_burn
}

entityDef "trap_mouth"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_mouth_sprung
	sprite_sprung	trap_mouth
	name			"Gaping Maw"
	nonheroes		false
	alert			true
	candisarm		false
	starthidden		true
	repeatable		false
	cooldown		0
	detectChance	100
	detectDistance	1
	power			sp_object_crush
}


entityDef "trap_spring"
{
	class			dmTrap
	bBlockTileEntry false
	sprite_armed	trap_spring
	sprite_sprung	trap_spring_sprung
	name			"Spring Trap"
	nonheroes		true
	alert			true
	candisarm		true
	starthidden		true
	repeatable		false
	cooldown		5
	detectChance	100
	detectDistance	3
	power			sp_object_spring
}


entityDef "trap_throw_boulder"
{
	class			dmThrowTrap
	bBlockTileEntry false
	sprite_armed	trap_plate
	sprite_sprung	trap_plate_sprung
	name			"Boulder Trap"
	nonheroes		false
	alert			false
	starthidden		true
	repeatable		true
	atwall			true
	spawndistance	4
	cooldown		15
	detectChance	75
	detectDistance	3
	
	hazard			haz_boulder
	
}

entityDef "trap_fire_stream"
{
	class			dmThrowTrap
	bBlockTileEntry false
	sprite_armed	trap_plate
	sprite_sprung	trap_plate_sprung
	name			"Fire Trap"
	nonheroes		false
	alert			false
	starthidden		true
	atwall			true
	spawndistance	5
	repeatable		true
	cooldown		15
	detectChance	75
	detectDistance	3
	
	hazard			haz_fire_stream
	
}

entityDef "trap_throw_sawblades"
{
	class			dmThrowTrap
	bBlockTileEntry false
	sprite_armed	trap_plate
	sprite_sprung	trap_plate_sprung
	name			"Sawblade Trap"
	nonheroes		false	
	alert			false
	starthidden		true
	horizontalonly	true
	repeatable		true
	atwall			false
	spawndistance	6
	cooldown		20
	detectChance	75
	detectDistance	3
	
	hazard			haz_sawblades
}


entityDef "trap_gas_cloud"
{
	class			dmThrowTrap
	bBlockTileEntry false
	sprite_armed	trap_plate
	sprite_sprung	trap_plate_sprung
	name			"Gas Trap"
	nonheroes		false
	alert			true
	candisarm		true
	starthidden		true
	atwall			false
	spawndistance	2
	repeatable		false
	cooldown		5
	detectChance	75
	detectDistance	3
	
	hazard			haz_gas_persist
}
