;------------------
;Fix: buffing the white items
;------------------
modify:
{
	match:
	{
		"targetname" "Item_macon_filter"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "Item_macon_particle_sfera,Start,,5,-1"
		"OnPass" "Item_macon_button,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "Item_macon_particle_sfera,Start,,1.5,-1"
		"OnPass" "Item_macon_button,Unlock,,2,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_filter1"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "Item_macon_particle_sfera1,Start,,5,-1"
		"OnPass" "Item_macon_button1,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "Item_macon_particle_sfera1,Start,,1.5,-1"
		"OnPass" "Item_macon_button1,Unlock,,2,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_filter2"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "Item_macon_particle_sfera2,Start,,5,-1"
		"OnPass" "Item_macon_button2,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "Item_macon_particle_sfera2,Start,,1.5,-1"
		"OnPass" "Item_macon_button2,Unlock,,2,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_filter3"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "Item_macon_particle_sfera3,Start,,5,-1"
		"OnPass" "Item_macon_button3,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "Item_macon_particle_sfera3,Start,,1.5,-1"
		"OnPass" "Item_macon_button3,Unlock,,2,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_filter4"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "Item_macon_particle_sfera4,Start,,5,-1"
		"OnPass" "Item_macon_button4,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "Item_macon_particle_sfera4,Start,,1.5,-1"
		"OnPass" "Item_macon_button4,Unlock,,2,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_filter5"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "Item_macon_particle_sfera5,Start,,5,-1"
		"OnPass" "Item_macon_button5,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "Item_macon_particle_sfera5,Start,,1.5,-1"
		"OnPass" "Item_macon_button5,Unlock,,2,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_filter6"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "Item_macon_particle_sfera6,Start,,5,-1"
		"OnPass" "Item_macon_button6,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "Item_macon_particle_sfera6,Start,,1.5,-1"
		"OnPass" "Item_macon_button6,Unlock,,2,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_filter7"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "Item_macon_particle_sfera7,Start,,5,-1"
		"OnPass" "Item_macon_button7,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "Item_macon_particle_sfera7,Start,,1.5,-1"
		"OnPass" "Item_macon_button7,Unlock,,2,-1"
	}
}
;------------------
;Fix: decreasing the first infection to avoid the items users being infected
;------------------
modify:
{
	match:
	{
		"targetname" "tp_spawn_t"
		"origin" "1536 4128 1120"
		"hammerid" "550"
	}
	replace:
	{
		"StartDisabled" "0"
	}
}
modify:
{
	match:
	{
		"classname" "logic_auto"
		"origin" "3932 4184 1112"
		"hammerid" "1207"
	}
	delete:
	{
		"OnMapSpawn" "cmd,Command,zr_infect_spawntime_max 20,0,-1"
		"OnMapSpawn" "cmd,Command,zr_infect_spawntime_min 20,0,-1"
	}
	insert:
	{
		"OnMapSpawn" "cmd,Command,zr_infect_spawntime_max 1,0,-1"
		"OnMapSpawn" "cmd,Command,zr_infect_spawntime_min 1,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "1536 4128 896"
		"hammerid" "145"
	}
	delete:
	{
		"OnTrigger" "tp_spawn,Enable,,16,-1"
		"OnTrigger" "cmd,Command,say ** 15s **,1,-1"
	}
	insert:
	{
		"OnTrigger" "tp_spawn,Enable,,8,-1"
	}
}
;------------------
;Fix: adding countdown on the yellow plateforme before it goes up
;------------------
modify:
{
	match:
	{
		"targetname" "relay_charpentier1"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnSpawn" "text2_sec_wall,SetTextureIndex,1,0,-1"
		"OnSpawn" "tex_sec_wall,SetTextureIndex,5,0,-1"
	}
	insert:
	{
		"OnSpawn" "text2_sec_wall,SetTextureIndex,0,0,-1"
		"OnSpawn" "tex_sec_wall,SetTextureIndex,3,0,-1"
		"OnSpawn" "timer_wall_count,Enable,,0,1"
		"OnSpawn" "timer_wall_count,disable,,3,1"
		"OnSpawn" "text2_sec_wall,SetTextureIndex,1,3.01,-1"
		"OnSpawn" "tex_sec_wall,SetTextureIndex,5,3.01,-1"
		"OnSpawn" "count_sec_wall,SetValue,3,0,-1"
		"OnSpawn" "count_sec_wall,SetValue,5,3,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "relay_charpentier2"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnSpawn" "text2_sec_wall1,SetTextureIndex,1,0,-1"
		"OnSpawn" "tex_sec_wall1,SetTextureIndex,5,0,-1"
	}
	insert:
	{
		"OnSpawn" "text2_sec_wall1,SetTextureIndex,0,0,-1"
		"OnSpawn" "tex_sec_wall1,SetTextureIndex,3,0,-1"
		"OnSpawn" "timer_wall_count1,Enable,,0,1"
		"OnSpawn" "timer_wall_count1,disable,,3,1"
		"OnSpawn" "text2_sec_wall1,SetTextureIndex,1,3.01,-1"
		"OnSpawn" "tex_sec_wall1,SetTextureIndex,5,3.01,-1"
		"OnSpawn" "count_sec_wall1,SetValue,3,0,-1"
		"OnSpawn" "count_sec_wall1,SetValue,5,3,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "relay_charpentier3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnSpawn" "text2_sec_wall2,SetTextureIndex,1,0,-1"
		"OnSpawn" "tex_sec_wall2,SetTextureIndex,5,0,-1"
	}
	insert:
	{
		"OnSpawn" "text2_sec_wall2,SetTextureIndex,0,0,-1"
		"OnSpawn" "tex_sec_wall2,SetTextureIndex,3,0,-1"
		"OnSpawn" "timer_wall_count2,Enable,,0,1"
		"OnSpawn" "timer_wall_count2,disable,,3,1"
		"OnSpawn" "text2_sec_wall2,SetTextureIndex,1,3.01,-1"
		"OnSpawn" "tex_sec_wall2,SetTextureIndex,5,3.01,-1"
		"OnSpawn" "count_sec_wall2,SetValue,3,0,-1"
		"OnSpawn" "count_sec_wall2,SetValue,5,3,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "relay_charpentier4"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnSpawn" "text2_sec_wall3,SetTextureIndex,1,0,-1"
		"OnSpawn" "tex_sec_wall3,SetTextureIndex,5,0,-1"
	}
	insert:
	{
		"OnSpawn" "text2_sec_wall3,SetTextureIndex,0,0,-1"
		"OnSpawn" "tex_sec_wall3,SetTextureIndex,3,0,-1"
		"OnSpawn" "timer_wall_count3,Enable,,0,1"
		"OnSpawn" "timer_wall_count3,disable,,3,1"
		"OnSpawn" "text2_sec_wall3,SetTextureIndex,1,3.01,-1"
		"OnSpawn" "tex_sec_wall3,SetTextureIndex,5,3.01,-1"
		"OnSpawn" "count_sec_wall3,SetValue,3,0,-1"
		"OnSpawn" "count_sec_wall3,SetValue,5,3,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "relay_charpentier5"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnSpawn" "text2_sec_wall4,SetTextureIndex,1,0,-1"
		"OnSpawn" "tex_sec_wall4,SetTextureIndex,5,0,-1"
	}
	insert:
	{
		"OnSpawn" "text2_sec_wall4,SetTextureIndex,0,0,-1"
		"OnSpawn" "tex_sec_wall4,SetTextureIndex,3,0,-1"
		"OnSpawn" "timer_wall_count4,Enable,,0,1"
		"OnSpawn" "timer_wall_count4,disable,,3,1"
		"OnSpawn" "text2_sec_wall4,SetTextureIndex,1,3.01,-1"
		"OnSpawn" "tex_sec_wall4,SetTextureIndex,5,3.01,-1"
		"OnSpawn" "count_sec_wall4,SetValue,3,0,-1"
		"OnSpawn" "count_sec_wall4,SetValue,5,3,-1"
	}
}
