/***********************************************************************

 items

***********************************************************************/

entityDef item_armor_security {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""

	"spawnclass"			"idItem"
	"model" 				"models/items/armor/security_armor_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up Security Armor"
	"inv_armor" 			"25"
}

entityDef item_armor_combat {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""

	"spawnclass"			"idItem"
	"model" 				"models/items/armor/combat_armor_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up Combat Armor"
	"inv_armor" 			"50"
}

entityDef item_armor_power {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""

	"spawnclass"			"idItem"
	"model" 				"models/items/armor/power_armor_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up Power Armor"
	"inv_armor" 			"100"
	"inv_ammo_cells"		"100"
}

entityDef item_key_blue {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""

	"spawnclass"			"idItem"
	"model" 				"models/items/bluekey/bluekey_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up the Blue Key"
	"inv_key_blue"			"1"
}

entityDef item_key_red {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""
	"editor_model"			"models/items/redkey/redkey_world.ase"

	"spawnclass"			"idItem"
	"model" 				"models/items/redkey/redkey_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up the Red Key"
	"inv_key_red"			"1"
}

entityDef item_data_linker {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""

	"spawnclass"			"idItem"
	"model" 				"models/items/data_linker/data_linker.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up the Data linker"
	"inv_data_linker"		"1"
}

entityDef item_medkit {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""

	"spawnclass"			"idItem"
	"model" 				"models/items/medkit/medkit_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up a Medkit"
	"inv_health"			"25"
}

entityDef item_pda {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""

	"spawnclass"			"idItem"
	"model" 				"models/items/pda/pda_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up a PDA"
	"inv_pda"				"1"
}

entityDef item_videocd {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"'inv_video'		name of the .roq file to play when video played (default \"video/moon.roq\")"

	"spawnclass"			"idItem"
	"model" 				"models/items/videocd/videocd_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up a Video CD"
	"inv_video" 			"video/moon.roq"
}

entityDef item_backpack {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			""

	"spawnclass"			"idItem"
	"model" 				"models/items/powerups/backpack_world.ase"
	"action"				"sound/electronics/1shot_beep_02.wav"
	"size"					"32 32 32"
	"inv_message"			"Picked up a backpack full of ammo"
	"inv_ammo_slugs"		"10"
	"inv_ammo_shells"		"20"
	"inv_ammo_bullets"		"10"
	"inv_ammo_rockets"		"10"
	"inv_ammo_cells"		"25"
}

// move to misc
entityDef func_objective {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-4 -4 -4"
	"editor_maxs"			"4 4 4"

	"editor_usage"			"Gives the player an objective, trigger it to give the objective\n" \
							"\n" \
	"editor_usage"			"'inv_objective'	name of the objective" \
	"editor_usage"			"'camShot'		name of the entity to take the screen shot from" \
	"editor_usage"			"'screenShot' 	image name to save shot to" \
	"editor_usage"			"'objectivetext' 	objective description"


	"spawnclass"			"idObjective"
	"inv_message"			"You have a new objective!"
	"inv_objective"   		"ventclose"

}

// move to misc
entityDef func_objectivecomplete {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-4 -4 -4"
	"editor_maxs"			"4 4 4"

	"editor_usage"			"Gives the player an objective complete message, trigger it to give the objective\n" \
							"\n" \
	"editor_usage"			"'inv_objective'	name of the objective" \
	"editor_usage"			"'camShot'		name of the entity to take the screen shot from" \
	"editor_usage"			"'screenShot' 	image name to save shot to" \
	"editor_usage"			"'objectivetext' 	objective description"


	"spawnclass"			"idObjectiveComplete"
	"inv_message"			"You have completed an objective!"
	"inv_objective"   		"ventclose"

}
