; FIX BROKEN SAY MESSAGES

modify:
{
	match:
	{
		"targetname" "KillHumansIfTooLong"
	}
	delete:
	{
		"OnUser1" "Console,Command,say ** Sadly,0,2"
	}
	insert:
	{
		"OnUser1" "Console,Command,say ** Sadly we shall never know -- for time is the only resource truly long gone! **,2,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "RPSFails"
	}
	delete:
	{
		"OnHitMax" "Console,Command,say ** Tough luck,0,1"
	}
	insert:
	{
		"OnHitMax" "Console,Command,say ** Tough luck lads! Come back when you learn to read computer minds! **,1,1"
	}
}

modify:
{
	match:
	{
		"targetname" "RPSHp"
	}
	delete:
	{
		"OnHitMin" "Console,Command,say ** Oh! And all those efforts so vain,0,0"
	}
	insert:
	{
		"OnHitMin" "Console,Command,say ** Oh! And all those efforts so vain -- wasted -- just to reach further and then be slain! **,10,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Burger_Fed"
	}
	delete:
	{
		"OnHitMax" "Console,Command,say ** And so it awakes,0,0"
	}
	insert:
	{
		"OnHitMax" "Console,Command,say ** And so it awakes -- hamboighed! Will only a piece of stardust -- a clump of meat -- save us? **,0,-1"
	}
}

modify:
{
	match:
	{
		"model" "*93"
		"origin" "0 -13120 -544"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "Console,Command,say ** In the endless halls of time rests the shade of Ahuramazda,0,0"
	}
	insert:
	{
		"OnStartTouch" "Console,Command,say ** In the endless halls of time rests the shade of Ahuramazda -- erased by a crescent moon... **,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Boss_Mini_Elevator_Movement"
	}
	delete:
	{
		"OnFalse" "Console,Command,say ** Lasciate ogne speranza,0,0"
	}
	insert:
	{
		"OnFalse" "Console,Command,say ** Lasciate ogne speranza -- o voi ch'intrate. **,0,1"
	}
}

modify:
{
	match:
	{
		"model" "*117"
		"origin" "-15152 -5236 -1432"
		"classname" "func_door_rotating"
	}
	delete:
	{
		"OnOpen" "Console,Command,say ** The king dreams he is king,0,0"
	}
	insert:
	{
		"OnOpen" "Console,Command,say ** The king dreams he is king -- and he lives in the deceit of a king... **,0,1"
	}
}

modify:
{
	match:
	{
		"model" "*120"
		"origin" "-7712 -2560 -352"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "Console,Command,say ** Down,0,0"
	}
	insert:
	{
		"OnStartTouch" "Console,Command,say ** Down down and sliding -- If sad don't forget smiling... **,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "FinalPlatformTrigger"
	}
	delete:
	{
		"OnStartTouch" "Console,Command,say ** ...these words that lie forever,0,10"
	}
	insert:
	{
		"OnStartTouch" "Console,Command,say ** ...these words that lie forever never turned to strokes by hand... **,10,1"
	}
}

modify:
{
	match:
	{
		"model" "*189"
		"origin" "-7712 -5056 -1792"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "Console,Command,say ** If I were you,0,5"
		"OnStartTouch" "Console,Command,say ** But as finding keys and levers that open mouths and brains is more important,0,10"
	}
	insert:
	{
		"OnStartTouch" "Console,Command,say ** If I were you I'd look up some 70's Canterbury bands to go with the Bucholics of this land... **,5,1"
		"OnStartTouch" "Console,Command,say ** But as finding keys and levers that open mouths and brains is more important -- I'd diversify as well. **,10,1"
	}
}

modify:
{
	match:
	{
		"targetname" "TotalTrigger"
	}
	delete:
	{
		"OnUser2" "Console,Command,say ** Move it! Only of bar stools,0,-1"
	}
	insert:
	{
		"OnUser2" "Console,Command,say ** Move it! Only of bar stools ephebes and nonsense may the future be made of! **,20,1"
	}
}

modify:
{
	match:
	{
		"model" "*266"
		"origin" "-384.01 15712 4620"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "Console,Command,say ** C??line probably rides along with us to the end of the night,0,0"
		"OnPressed" "Console,Command,say ** That cadence that beating in you is nothing but a feverish dream,0,12"
	}
	insert:
	{
		"OnPressed" "Console,Command,say ** Celine probably rides along with us to the end of the night -- making offhand remarks. **,0,1"
		"OnPressed" "Console,Command,say ** That cadence that beating in you is nothing but a feverish dream -- a selfish attack against the One State. **,12.5,1"
	}
}

modify:
{
	match:
	{
		"model" "*271"
		"origin" "1280 10560 4526.18"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "Console,Command,say ** [...] The hand that feeds you,0,0"
	}
	insert:
	{
		"OnStartTouch" "Console,Command,say ** [...] The hand that feeds you -- that knows you -- that helps you -- that hand you will bite. **,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "TopHeight"
	}
	delete:
	{
		"OnPressed" "Console,Command,say ** At some point in the journey,0,0"
	}
	insert:
	{
		"OnPressed" "Console,Command,say ** At some point in the journey the traveller is given a hand. **,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "SecretUnveil"
	}
	delete:
	{
		"OnBreak" "Console,Command,say ** And as time is but a rambling story,0,0"
	}
	insert:
	{
		"OnBreak" "Console,Command,say ** And as time is but a rambling story -- rambling further it shall flow. **,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "BasesDecoder"
	}
	delete:
	{
		"OnCase05" "Console,Command,say ** Fifth base reached. Wisely interpreted,0,0"
	}
	insert:
	{
		"OnCase05" "Console,Command,say ** Fifth base reached. Wisely interpreted -- the still-standing walls will fall. **,0,-1"
	}
}

modify:
{
	match:
	{
		"model" "*318"
		"origin" "-112 3016 -148"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "Console,Command,say ** The spectacle must continue,0,0"
		"OnPressed" "Console,Command,say ** Extras must be part of the action too,0,5"
	}
	insert:
	{
		"OnPressed" "Console,Command,say ** The spectacle must continue -- though at a different place. ** ,0,1"
		"OnPressed" "Console,Command,say ** Extras must be part of the action too -- or were they the protagonists? **,5,1"
	}
}

modify:
{
	match:
	{
		"model" "*324"
		"origin" "1184 3720 -623"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "Console,Command,say ** Something's up,0,0"
	}
	insert:
	{
		"OnPressed" "Console,Command,say ** Something's up -- something's left. The movement comes soon again. **,0,1"
	}
}

; MAKE MUSIC ADJUSTABLE WITH SND_MUSICVOLUME

modify:
{
	match:
	{
		"targetname" "Music7"
	}
	replace:
	{
		"message" "#music/aesthetic/charles mingus - moanin.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music8b"
	}
	replace:
	{
		"message" "#music/aesthetic/cowboy bebop ost 1 - too good too bad.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music0"
	}
	replace:
	{
		"message" "#music/aesthetic/tong-nou main theme - osamu sato.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music1"
	}
	replace:
	{
		"message" "#music/aesthetic/transmigration tong-nou ending theme - osamu sato.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music2"
	}
	replace:
	{
		"message" "#music/aesthetic/tomba 2 ost-town of the fisherman extended.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music3"
	}
	replace:
	{
		"message" "#music/aesthetic/osamu sato - genetic scale goh hotoda mix.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music4"
	}
	replace:
	{
		"message" "#music/aesthetic/osamu sato - retrofit with ryuichi sakamoto.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music5"
	}
	replace:
	{
		"message" "#music/aesthetic/perez prado - moliendo cafe.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music6"
	}
	replace:
	{
		"message" "#music/aesthetic/cowboy bebop ost 4 - yo pumpkin head.mp3"
	}
}

modify:
{
	match:
	{
		"targetname" "Music8"
	}
	replace:
	{
		"message" "#music/aesthetic/cowboy bebop ost 1 - too good too bad.mp3"
	}
}

; FIX FINAL BOSS GATE GAP

add:
{
	"model" "*85"
	"wait" "-1"
	"unlocked_sentence" "0"
	"targetname" "KingGondolaBlocker"
	"speed" "48"
	"spawnpos" "0"
	"spawnflags" "0"
	"shadowdepthnocache" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "0"
	"origin" "10356 1104 -1096"
	"noise2" "doors/door_metal_gate_close1.wav"
	"noise1" "doors/metal_move1.wav"
	"movedir" "0 180 0"
	"loopmovesound" "0"
	"locked_sentence" "0"
	"lip" "32"
	"ignoredebris" "0"
	"health" "0"
	"forceclosed" "0"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"drawinfastreflection" "0"
	"dmg" "0"
	"disableshadows" "1"
	"disableshadowdepth" "0"
	"disablereceiveshadows" "1"
	"disableflashlight" "0"
	"classname" "func_door"
}

modify:
{
	match:
	{
		"targetname" "FinalGateOpener"
	}
	insert:
	{
		"OnHitMax" "KingGondolaBlocker,Kill,,20,1"
	}
}
