;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;RICCA CHANGE THE SECRET STUFF
;------------------------------

add:
{
	"origin" "0 0 0"
	"targetname" "Map_Stripper"
	"classname" "player_weaponstrip"
}

; Knife item
; also reduced the 500 hp to 250
; and gravity 0.6 to 0.75
add:
{
	"origin" "6161 -13216 -12222"
	"targetname" "perma_ricca_knife"
	"spawnflags" "1"
	"angles" "0 0 0"
	"classname" "weapon_knife"
	"OnPlayerPickup" "!activator,AddOutput,health 250,0,1"
	"OnPlayerPickup" "!activator,AddOutput,gravity 0.75,0,1"
	"OnPlayerPickup" "perma_monsoon_game_ui,Activate,,0,1"
	"OnPlayerPickup" "!activator,AddOutput,rendermode 6,0,1"
}

; Make the trigger strip the player and keep it enabled 
; to send other people back to spawn
filter:
{
	"model" "*345"
	"targetname" "perma_ricca_trigger"
	"origin" "6160 -13216 -12232"
	"classname" "trigger_once"
}
add:
{
	"model" "*345"
	"targetname" "perma_ricca_trigger"
	"StartDisabled" "0"
	"spawnflags" "1"
	"wait" "1"
	"origin" "6160 -13216 -12232"
	"classname" "trigger_multiple"
	"OnTrigger" "Map_Stripper,StripWeaponsAndSuit,,0,1"
	"OnStartTouch" "PointTeleport_Dest_T,Teleport,,2,-1"
}


; Make the sprite smaller cause too big and annoying
; And parent it to the knife
modify:
{
	match:
	{
		"origin" "6156 -13216 -12204"
		"targetname" "perma_monsoon"
		"classname" "env_sprite"
;		"scale" "0.4"
	}
	replace:
	{
		"origin" "6160 -13216 -12204"
		"scale" "0.15"
	}
	insert:
	{
		"parentname" "perma_ricca_knife"
	}
}

;---------------------------
;SHINO REDUCE FADE DURATION
;---------------------------

modify:
{
	match:
	{
		"targetname" "shino_endfade"
		"classname" "env_fade"
;		"duration" "4"
	}
	replace:
	{
		"duration" "1.5"
	}
}
