// Freak Fortress 2
// ================
//
// Terezi Pyrope
// Class: Pyro
// Script: Koishi
// Model: Pohwelly
// Concept Artist: Mavern, Vento (SBURBFORTRESS)
// 
//
// Attack: Crossing Guard
// Rage: Stun
// Rage HP trigger: 2300HP
 
// Dependencies:
// Dynamic Defaults: https://forums.alliedmods.net/showthread.php?t=258090

// BGM:
// Terezi's theme: https://www.youtube.com/watch?v=70j-g4aPmVY

"character"
{
	"name"					"Terezi Pyrope"
	"class"					"7"	
	"model"					"models/freak_fortress_2/pyrope/pyrope.mdl"
	"ragedist"				"800.0"
	"health_formula"		"(((600+n)*(n-1))^1.04)+2000"
	"maxspeed"				"350"
	"ragedamage"			"2300"							//Boss must get this amout of damage to fill ragemeter
	"sound_block_vo"		"1"
	"description_en" "Terezi Pyrope:\nOne of the trolls from the web comic Homestuck\nSuper Jump: Alt-fire (or ctrl), look up & release.\nWeigh-down: in midair, look down and crouch.\nRage (Stun): Call for medic when Rage Meter is full."
	
	"weapon1"
	{
		"name"				"tf_weapon_fireaxe"
		"index"				"1127"
		"show"				"1"
		"attributes"		"15 ; 1 ; 138 ; 0.4 ; 149 ; 5 ; 205 ; 0.7 ; 339 ; 1 ; 340 ; 1 ; 360 ; 1 ; 407 ; 1 ; 437 ; 1 ; 2025 ; 2 ; 2014 ; 2"
		// 15: No random critical hits
		// 138: -60% Damage vs Players
		// 149: 5 second bleed
		// 205: -30% damage from ranged sources while active
		// 339: Reveal cloaked spy
		// 340: Reveal disguised spy
		// 360: All players connected to medigun beams affected
		// 407: Crits vs disguised players
		// 437: Crits vs stunned players
		// 2025: Killstreak
		// 2014: Sheen
	}	
	"ability1"
	{
		"name" "dynamic_jump"

		// slot is ignored.
		"arg1"	"0.9" // charge time, same as charge_bravejump
		"arg2"	"5.0" // cooldown, same as charge_bravejump
		"arg3"	"0" // 1 = disabled by default (can only be re-enabled in code)
		"arg4"	"0" // number of uses. set to 0 to be infinite.
		"arg5"	"3.0" // cooldown before first use
		"arg6"	"100.0" // minimum damage before super duper jump
		"arg7"	"0" // use new jump
		"arg8"	"1.0" // jump intensity multiplier. unlike charge_bravejump, this works for oldjump too
		"arg9"	"0" // 1 = use RELOAD instead of ALT-FIRE
		"arg10"	"1" // don't affect weighdown's cooldown
		
		// HUD strings
		"arg17"	"Super DUPER Jump ready! Look up, press and release ALT-FIRE." // super duper jump message
		"arg18"	"Super Jump is not ready. %.1f seconds remaining." // cooldown message
		"arg19"	"Super Jump is ready. %.0f percent charged.\nLook up, press and release ALT-FIRE." // charge message

		"plugin_name"	"ff2_dynamic_defaults"
	}
	"ability2"
	{
		"name" "dynamic_weighdown"
		
		// slot is ignored
		"arg1"	"0" // 1 = disabled by default (can only be re-enabled in code)
		"arg2"	"0" // number of uses. set to 0 to be infinite.
		"arg3"	"1.0" // the hale's normal gravity. this will practically always be 1.0
		
		// strings
		"arg19"	"You have used weighdown!"
		
		"plugin_name"	"ff2_dynamic_defaults"
	}
	"ability3"
	{
		"name"	"rage_stun"
		"arg1"	"5" // Duration
		"plugin_name"		"default_abilities"
	}
	"ability4"
	{
		"name" "dynamic_stunsg"
		
		"arg1"	"8.0" // duration
		"arg2"	"1000.0" // distance :D isn't progress grand?
		
		"plugin_name"	"ff2_dynamic_defaults"
	}
	"sound_precache"
	{
		"1"	"freak_fortress_2/pyrope/bgm.mp3"
	}
	"sound_bgm"
	{
		"path1"	"freak_fortress_2/pyrope/bgm.mp3"
		"time1"	"107"
	}
	"mod_download"
	{
		"1"	"models/freak_fortress_2/pyrope/pyrope"
	}
	"mat_download"
	{
		"1" "materials/models/player/pyro/face"
		"2" "materials/models/player/pyro/face_blue"
		"3" "materials/models/player/pyro/face_blue_invuln"
		"4" "materials/models/player/pyro/face_invuln"
		"5" "materials/models/player/pyro/lense"
		"6" "materials/models/player/pyro/lense_blue"
		"7" "materials/models/player/pyro/lense_blue_invuln"
		"8" "materials/models/player/pyro/lense_invuln"
		"9" "materials/models/player/pyro/terezi_body"
		"10" "materials/models/player/pyro/terezi_body_blue"
		"11" "materials/models/player/pyro/vento_terezi"
		"12" "materials/models/player/pyro/vento_terezi_blue"
		"13" "materials/models/player/pyro/vento_terezi_blue_invuln"
		"14" "materials/models/player/pyro/vento_terezi_invuln"
		"15" "materials/models/player/pyro/body_misc"
		"16" "materials/models/player/pyro/body_misc_blue_invuln"
		"17" "materials/models/player/pyro/body_misc_invuln"
	}
	"download"
	{
		"1"	"sound/freak_fortress_2/pyrope/bgm.mp3"
		"2" "materials/models/player/pyro/eyeball_blue.vmt"
		"3" "materials/models/player/pyro/eyeball_invun.vmt"
		"4" "materials/models/player/pyro/eye-cornea.vtf"
		"5" "materials/models/player/pyro/eye-extra.vtf"
		"6" "materials/models/player/pyro/eye-iris-blue.vtf"
		"7" "materials/models/player/pyro/face_bump.vtf"
		"8" "materials/models/player/pyro/terezi_body_blue_invuln.vtf"
		"9" "materials/models/player/pyro/terezi_body_bump.vtf"
		"10" "materials/models/player/pyro/terezi_body_invuln.vtf"
		"11" "materials/models/player/pyro/vento_terezi_bump.vtf"
		"12" "materials/models/player/pyro/vento_terezi_red_invuln.vmt"
		"13" "materials/models/player/pyro/body_blue_misc_invuln.vtf"
		"14" "materials/models/player/pyro/body_misc_blue_invuln'.vtf"
		"15" "materials/models/player/pyro/eye_lightwarp.vtf"
		"16" "materials/models/player/pyro/eyeball.vmt"
		"17" "materials/models/player/pyro/invulnfx_blue.vmt"
		"18" "materials/models/player/pyro/invulnfx_red.vmt"
		"19" "models/freak_fortress_2/pyrope/pyrope.phy"
	}
}