game_manager
{
	spawn
	{
		// Map settings
		wm_set_round_timelimit	10
		wm_axis_respawntime	10
		wm_allied_respawntime	15

		wm_number_of_objectives 1
		wm_objective_status	1 1 0
		wm_objective_status	1 0 0

		// Stopwatch mode defending team (0=Axis, 1=Allies)
		wm_set_defending_team	0

		// Winner on expiration of round timer (0=Axis, 1=Allies)
		wm_setwinner	0
	}

	trigger allies_win
	{
		wm_announce "The Allies have destroyed the generator!"
		wm_setwinner 1
		wm_objective_status	1 1 1
		wm_objective_status	1 0 2

		wait 5000
		wm_endround
	}
}

generator
{
	spawn
	{
		wait 100

		// Mark as dynamitable only
		constructible_class 3
		constructible_destructxpbonus 10
	}

	death
	{
		trigger game_manager allies_win
	}
}