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

 items

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

// Everything in here must match dkbase/botfiles/inv.h!
entityDef bot_itemtable {

	"INVENTORY_NONE"				"0"
	"INVENTORY_ARMOR"				"1"
	"INVENTORY_GAUNTLET"			"4"
	"INVENTORY_SHOTGUN"			"5"
	"INVENTORY_MACHINEGUN"		"6"
	"INVENTORY_GRENADELAUNCHER"	"7"
	"INVENTORY_ROCKETLAUNCHER"	"8"
	"INVENTORY_LIGHTNING"			"9"
	"INVENTORY_RAILGUN"			"10"
	"INVENTORY_PLASMAGUN"			"11"
	"INVENTORY_BFG10K"			"13"
	"INVENTORY_GRAPPLINGHOOK"		"14"
	"INVENTORY_NAILGUN"			"15"
	"INVENTORY_PROXLAUNCHER"		"16"
	"INVENTORY_CHAINGUN"			"17"
	"INVENTORY_SHELLS"			"18"
	"INVENTORY_BULLETS"			"19"
	"INVENTORY_GRENADES"			"20"
	"INVENTORY_CELLS"				"21"
	"INVENTORY_LIGHTNINGAMMO"		"22"
	"INVENTORY_ROCKETS"			"23"
	"INVENTORY_SLUGS"				"24"
	"INVENTORY_BFGAMMO"			"25"
	"INVENTORY_NAILS"				"26"
	"INVENTORY_MINES"				"27"
	"INVENTORY_BELT"			"28"
	"INVENTORY_HEALTH"			"29"
	"INVENTORY_TELEPORTER"		"30"
	"INVENTORY_MEDKIT"			"31"
	"INVENTORY_KAMIKAZE"			"32"
	"INVENTORY_PORTAL"			"33"
	"INVENTORY_INVULNERABILITY"	"34"
	"INVENTORY_QUAD"				"35"
	"INVENTORY_ENVIRONMENTSUIT"	"36"
	"INVENTORY_HASTE"				"37"
	"INVENTORY_INVISIBILITY"		"38"
	"INVENTORY_REGEN"				"39"
	"INVENTORY_FLIGHT"			"40"
	"INVENTORY_SCOUT"				"41"
	"INVENTORY_GUARD"				"42"
	"INVENTORY_DOUBLER"			"43"
	"INVENTORY_AMMOREGEN"			"44"
	"INVENTORY_REDFLAG"			"45"
	"INVENTORY_BLUEFLAG"			"46"
	"INVENTORY_NEUTRALFLAG"		"47"
	"INVENTORY_REDCUBE"			"48"
	"INVENTORY_BLUECUBE"			"49"

	"MODELINDEX_DEFAULT"			"0"
	"MODELINDEX_ARMORSHARD"		"1"
	"MODELINDEX_ARMORCOMBAT"		"2"
	"MODELINDEX_ARMORBODY"		"3"
	"MODELINDEX_HEALTHSMALL"		"4"
	"MODELINDEX_HEALTH"			"5"
	"MODELINDEX_HEALTHLARGE"		"6"
	"MODELINDEX_HEALTHMEGA"		"7"
	"MODELINDEX_GAUNTLET"			"8"
	"MODELINDEX_SHOTGUN"			"9"
	"MODELINDEX_MACHINEGUN"		"10"
	"MODELINDEX_GRENADELAUNCHER"	"11"
	"MODELINDEX_ROCKETLAUNCHER"	"12"
	"MODELINDEX_LIGHTNING"		"13"
	"MODELINDEX_RAILGUN"			"14"
	"MODELINDEX_PLASMAGUN"		"15"
	"MODELINDEX_BFG10K"			"16"
	"MODELINDEX_GRAPPLINGHOOK"	"17"
	"MODELINDEX_SHELLS"			"18"
	"MODELINDEX_BULLETS"			"19"
	"MODELINDEX_GRENADES"			"20"
	"MODELINDEX_CELLS"			"21"
	"MODELINDEX_LIGHTNINGAMMO"	"22"
	"MODELINDEX_ROCKETS"			"23"
	"MODELINDEX_SLUGS"			"24"
	"MODELINDEX_BFGAMMO"			"25"
	"MODELINDEX_TELEPORTER"		"26"
	"MODELINDEX_MEDKIT"			"27"
	"MODELINDEX_QUAD"				"28"
	"MODELINDEX_ENVIRONMENTSUIT"	"29"
	"MODELINDEX_HASTE"			"30"
	"MODELINDEX_INVISIBILITY"		"31"
	"MODELINDEX_REGEN"			"32"
	"MODELINDEX_FLIGHT"			"33"
	"MODELINDEX_REDFLAG"			"34"
	"MODELINDEX_BLUEFLAG"			"35"
	"MODELINDEX_KAMIKAZE"			"36"
	"MODELINDEX_PORTAL"			"37"
	"MODELINDEX_INVULNERABILITY"	"38"
	"MODELINDEX_NAILS"			"39"
	"MODELINDEX_MINES"			"40"
	"MODELINDEX_BELT"				"41"
	"MODELINDEX_SCOUT"			"42"
	"MODELINDEX_GUARD"			"43"
	"MODELINDEX_DOUBLER"			"44"
	"MODELINDEX_AMMOREGEN"		"45"
	"MODELINDEX_NEUTRALFLAG"		"46"
	"MODELINDEX_REDCUBE"			"47"
	"MODELINDEX_BLUECUBE"			"48"
	"MODELINDEX_NAILGUN"			"49"
	"MODELINDEX_PROXLAUNCHER"		"50"
	"MODELINDEX_CHAINGUN"			"51"
	"MODELINDEX_POINTABLUE"		"52"
	"MODELINDEX_POINTBBLUE"		"53"
	"MODELINDEX_POINTARED"		"54"
	"MODELINDEX_POINTBRED"		"55"
	"MODELINDEX_POINTAWHITE"		"56"
	"MODELINDEX_POINTBWHITE"		"57"
	"MODELINDEX_POINTWHITE"		"58"
	"MODELINDEX_POINTRED"			"59"
	"MODELINDEX_POINTBLUE"		"60"
	
	"WEAPONINDEX_GAUNTLET"			"1"
	"WEAPONINDEX_MACHINEGUN"			"2"
	"WEAPONINDEX_SHOTGUN"				"3"
	"WEAPONINDEX_GRENADE_LAUNCHER"	"4"
	"WEAPONINDEX_ROCKET_LAUNCHER"		"5"
	"WEAPONINDEX_LIGHTNING"			"6"
	"WEAPONINDEX_RAILGUN"				"7"
	"WEAPONINDEX_PLASMAGUN"			"8"
	"WEAPONINDEX_BFG"					"9"
	"WEAPONINDEX_GRAPPLING_HOOK"		"10"
	"WEAPONINDEX_NAILGUN"				"11"
	"WEAPONINDEX_PROXLAUNCHER"		"12"
	"WEAPONINDEX_CHAINGUN"			"13"

};

entityDef item_default {
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"
	"editor_rotatable"		"1"
	
	"inv_item"				"1"
	"snd_acquire"			"sound_item_acquire"
	"snd_respawn"			"sound_item_respawn"
	
	"editor_bool inv_item"			"if set to 1, show item acquisition gui when picked up"
	"editor_var inv_name"			"name referenced for triggers etc.. requiring this to be in inventory to work"
	"editor_var inv_icon"			"icon name for hud graphics"
	"editor_bool inv_carry"			"if set to 1, is carried as opposed to instant use"
	"editor_bool no_touch"			"trigger to give to player instead of picking up"
	"editor_bool not_easy"			"set to 1 and item will not spawn in easy mode"
	"editor_bool not_medium"		"set to 1 and item will not spawn in medium mode"
	"editor_bool not_hard"			"set to 1 and item will not spawn in hard mode"
	"editor_model model"				"visual model"
	"editor_var triggersize"		"amount to expand the pickup trigger by"
	"editor_var inv_id"				"id number as defined in guis/itemdefs.h"
	"editor_copy3"			"inv_name"
	"editor_copy4"			"inv_item"
	"editor_copy5"			"inv_objective"
	"editor_copy6"			"inv_icon"
	
	"modelindex"			"MODELINDEX_DEFAULT"

	"spawnclass"			"idItem"
}

entityDef item_generic {
	"inherit"				"item_default"
	"inv_item"				"1"
	"inv_name"				"Item"
}

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

	"editor_usage"			"Security Armor"

	"spawnclass"			"idItem"
	"model" 				"models/items/armor/armor.lwo"
	"snd_acquire"			"sound_vest_acquire"
	"size"					"32 32 32"
	"inv_name"				"Security Armor"
	"inv_armor" 			"50"
	
	"modelindex"			"MODELINDEX_ARMORBODY"
}

entityDef item_armor_shard {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"Armor shard"

	"spawnclass"			"idItem"
	"model" 				"models/items/armor/armor_shard.lwo"
	"snd_acquire"			"sound_shard_acquire"
	"size"					"32 32 32"
	"inv_name"				"Armor Shard"
	"inv_armor" 			"5"
	
	"modelindex"			"MODELINDEX_ARMORSHARD"
}


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

	"editor_usage"			"Blue Key"
	"editor_model"			"models/items/keycard/keycard3.lwo"

	"spawnclass"			"idItem"
	"model" 				"models/items/keycard/keycard3.lwo"
	"size"					"32 32 32"
	"inv_carry"				"1"
	"inv_name"				"Blue Key"
	"inv_id_bluekey"		"1"
	"inv_item"				"1"
	"snd_acquire"			"guisounds_item"
}

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

	"editor_usage"			"Red Key"
	"editor_model"			"models/items/keycard/keycard2.lwo"

	"spawnclass"			"idItem"
	"model" 				"models/items/keycard/keycard2.lwo"
	"size"					"32 32 32"
	"inv_carry"				"1"
	"inv_name"				"Red Key"
	"inv_id_redkey"			"1"
	"inv_item"				"1"
	"snd_acquire"			"guisounds_item"
}

entityDef item_key_yellow {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"Yellow Key"
	"editor_model"			"models/items/keycard/keycard.lwo"

	"spawnclass"			"idItem"
	"model" 				"models/items/keycard/keycard.lwo"
	"size"					"32 32 32"
	"inv_carry"				"1"
	"inv_name"				"Yellow Key"
	"inv_id_redkey"			"1"
	"inv_item"				"1"
	"snd_acquire"			"guisounds_item"
}

entityDef item_keycard_generic {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"Keycard"
	"editor_model"			"models/items/keycard/keycard.lwo"

	"spawnclass"			"idItem"
	"model" 				"models/items/keycard/keycard.lwo"
	"size"					"32 32 32"
	"inv_carry"				"1"
	"inv_name"				"Keycard"
	"inv_id_redkey"			"1"
	"inv_item"				"1"
	"snd_acquire"			"guisounds_item"
}

entityDef item_keycard_aco {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"ACO Keycard"
	"editor_model"			"models/items/keycard/keycard3.lwo"

	"spawnclass"			"idItem"
	"model" 				"models/items/keycard/keycard3.lwo"
	"size"					"32 32 32"
	"inv_carry"				"1"
	"inv_name"				"ACO Keycard"
	"inv_id_bluekey"		"1"
	"inv_item"				"1"
	"snd_acquire"			"guisounds_item"
}


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

	"editor_usage"			"Data Linker"

	"spawnclass"			"idItem"
	"model" 				"models/items/data_linker/data_linker.ase"
	"size"					"32 32 32"
	"inv_carry"				"1"
	"inv_name"				"Data Linker"
	"inv_id_datalinker"		"1"
	"inv_item"				"1"
	"snd_acquire"			"guisounds_item"
}

entityDef item_health {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"Large Med Kit"

	"spawnclass"			"idItem"
	"model" 				"models/items/health/large_cross.mdr"
	"size"					"32 32 32"
	"inv_name"				"Med Kit"
	"inv_health"			"25"
	"inv_item"				"2"
	"snd_acquire"			"guisounds_health"
	
	"modelindex"			"MODELINDEX_HEALTHLARGE"
}

entityDef item_health_small {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"Small Med Kit"

	"spawnclass"			"idItem"
	"model" 				"models/items/health/small_cross.mdr"
	"size"					"32 32 32"
	"inv_name"				"Med Kit"
	"inv_health"			"15"
	"inv_item"				"2"
	"snd_acquire"			"guisounds_health"
	
	"modelindex"			"MODELINDEX_HEALTH"
}

// The proper spelling is with 1 n, but a lot of the assets have it spelled with 2 so be aware when looking for media.
entityDef item_aircannister {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"Air Canister"

	"spawnclass"			"idItem"
	"model"					"models/items/aircannister/aircannister.lwo"
	"size"					"32 32 32"
	"inv_name"				"Air Canister"
	"inv_air"				"50"
	"inv_item"				"6"
	"snd_acquire"			"air_cannister_pickup"
}

entityDef item_battery {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"

	"editor_usage"			"Battery"

	"spawnclass"			"idItem"
	"model"					"models/items/battery/battery.ase"
	"size"					"32 32 32"
	"inv_name"				"Batteries"
	"inv_battery"			"100"
	"inv_item"				"7"
	"snd_acquire"			"guisounds_item"
}


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

	"editor_usage"			"Video Disk"
	"editor_var video"		"name of the .video file to give to the player"

	"spawnclass"			"idVideoCDItem"
	"model" 				"models/items/videocd/videocd_world.lwo"
	"size"					"32 32 32"
	"inv_name"				"Video Disk"
	"video"					"pdas/video/testmap.video"
	"inv_carry"				"1"
	"inv_item"				"1"
	"snd_acquire"			"videocd_pickup"
	"editor_copy101"		"video"
}	

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

	"editor_usage"					"Backpack.  Gives player multiple items at once.  Empty by default, so designer must choose amounts."
	
	"editor_var inv_ammo_bullets"	"gives pistol ammo"
	"editor_var inv_ammo_shells"	"gives shotgun ammo"
	"editor_var inv_ammo_clip"		"gives machine gun ammo"
	"editor_var inv_ammo_grenades"	"gives grenade ammo"
	"editor_var inv_ammo_rockets"	"gives rocket launcher ammo"
	"editor_var inv_ammo_cells"		"gives plasmagun ammo"
	"editor_var inv_ammo_belt"		"gives chaingun ammo"
	"editor_var inv_ammo_bfg"		"gives bfg ammo"
	"editor_var inv_health"			"gives health"
	"editor_var inv_armor" 			"gives armor"
	"editor_var inv_air"			"gives air"

	"spawnclass"					"idItem"
	"model" 						"models/items/powerups/backpack.lwo"
	"size"							"32 32 32"
	"inv_name"						"Backpack"
	"inv_item"						"4"
	"snd_acquire"					"pack_pickup"

	"editor_copy3"					""
	"editor_copy4"					""
	"editor_copy5"					""
	"editor_copy6"					""

	"inv_ammo_bullets"				"0"
	"inv_ammo_shells"				"0"
	"inv_ammo_clip"					"0"
	"inv_ammo_grenades"				"0"
	"inv_ammo_rockets"				"0"
	"inv_ammo_cells"				"0"
	"inv_ammo_belt"					"0"
	"inv_ammo_bfg"					"0"
	"inv_health"					"0"
	"inv_armor" 					"0"
	"inv_air"						"0"
	
	"editor_copy201"				"inv_ammo_bullets"
	"editor_copy202"				"inv_ammo_shells"
	"editor_copy203"				"inv_ammo_clip"
	"editor_copy204"				"inv_ammo_grenades"
	"editor_copy205"				"inv_ammo_rockets"
	"editor_copy206"				"inv_ammo_cells"
	"editor_copy207"				"inv_ammo_belt"
	"editor_copy208"				"inv_ammo_bfg"
	"editor_copy209"				"inv_health"
	"editor_copy210"				"inv_armor"
	"editor_copy211"				"inv_air"
}

// move to misc
entityDef item_objective {
	"inherit"				"item_default"
	"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."

	"editor_bool inv_objective"	"1 means show objective window"
	"editor_var camShot"		"name of the entity to take the screen shot from"
	"editor_var screenShot"		"image name to save shot to"
	"editor_var objectivetext"	"objective description"
	"editor_var objectivetitle" "objective title"
	"editor_var inv_name"		"name of inventory/objective item used for requirements"

	"spawnclass"			"idObjective"
	"inv_objective"   		"1"
}

// move to misc
entityDef item_objectivecomplete {
	"inherit"				"item_default"
	"editor_color"			".3 .3 1"
	"editor_mins"			"-4 -4 -4"
	"editor_maxs"			"4 4 4"

	"editor_usage"			"Completes a named objective, trigger it to complete the objective."

	"editor_bool inv_objective"	"1 means show objective window"
	"editor_var camShot"		"name of the entity to take the screen shot from"
	"editor_var screenShot"		"image name to save shot to"
	"editor_var objectivetext"	"objective description"
	"editor_var objectivetitle" "objective title"
	"editor_var remove"			"inventory object to remove if one was required"
	"editor_var inv_name"		"name of inventory/objective item to be completed"

	"spawnclass"			"idObjectiveComplete"
	"inv_objective"   		"1"
}

entityDef item_pda {
	"inherit"				"item_default"
	"model" 				"models/items/pda/pda_world.lwo"
	"size"					"32 32 32"

	"editor_usage"			"PDA"
	"editor_usage1"			"PDA's contain vidoes, audio, e-mail, and security clearances."
	"editor_var inv_name"	"This name is used on trigger requires. It does not need to match the name as defined in the .pda file"
	"editor_var	pda_name"	"name of pda as defined in the .pda file"

	"inv_name"				"PDA"
	"inv_carry"				"1"
	"inv_pda"				"1"
	"inv_item"				"1"
	"snd_acquire"			"guisounds_compup"

	"editor_color"			".0 .3 1"
	"editor_mins"			"-16 -16 0"
	"editor_maxs"			"16 16 32"
	"spawnclass"			"idPDAItem"

	"dropToFloor"			"1"
}
