;Отсутствуют 9999
(define "vehicles_test"
	{common
		{unitset "^man|alter"}
		{commandPoints "btr=65;helcp=19;heavy_art=19;*=%cp_total"}
		{chargeFactors "*=0"}
		{budgets
			{vehicle
				{mode "without_update"}
				{resource 
					{start 		%start}
					{finish 	9999}
					{speed 		0}
					{limitmin	9999}
					{limitmax	9999}
					{speedset 	"9999"}
				} 
				{buttons "squad1 squad2 auto vh_cn lt ht asu"}
			}

		} 
	}
)
(define "vehicles_test2"
	{common
		{unitset "^man|alter"}
		{commandPoints "btr=60;helcp=19;heavy_art=19;*=%cp_total"}
		{chargeFactors "*=0.75"}
		{budgets
			{vehicle
				{mode "without_update"}
				{resource 
					{start 		%start}
					{finish 	9999}
					{speed 		0}
					{limitmin	9999}
					{limitmax	9999}
					{speedset 	"9999"}
				} 
				{buttons "squad1 squad2 auto vh_cn lt ht asu"}
			}

		} 
	}
)


{presets
	{"wu:without_update_160_vehicles_test"
		{gameMode "without_update"}
		{unitMode "test"}
		{specMode "test_a"}
		("vehicles_test" cp_total(200) start(9999))
	}
	{"wu:without_update_160_vehicles_test2"
		{gameMode "without_update"}
		{unitMode "test"}
		{specMode "test_b"}
		("vehicles_test2" cp_total(200) start(9999))
	}
}

;==================================================================================================================

; C возвратом средств
(define "payback_test"
	{common
		{unitset "^man|alter"}
		{commandPoints "btr=65;helcp=19;heavy_art=19;*=%cp_total"}
		{chargeFactors "*=0"}
		{budgets
			{vehicle
				{mode "with_payback"}
				{resource 
					{start 		%start}
					{finish 	%finish}
					{growTime	%growTime}				; round time when money growing
					{restoreBegin 	%restoreBegin}	; points per sec
					{restoreEnd 	%restoreEnd}	; points per sec
					{growTable 	"%growTable"}
				} 
				{buttons "squad1 squad2 auto vh_cn lt ht asu"}
			}

		} 
	}
)

(define "payback_test2"
	{common
		{unitset "^man|alter"}
		{commandPoints "btr=65;helcp=19;heavy_art=19;*=%cp_total"}
		{chargeFactors "*=0.4"}
		{budgets
			{vehicle
				{mode "with_payback"}
				{resource 
					{start 		%start}
					{finish 	%finish}
					{growTime	%growTime}				; round time when money growing
					{restoreBegin 	%restoreBegin}	; points per sec
					{restoreEnd 	%restoreEnd}	; points per sec
					{growTable 	"%growTable"}
				} 
				{buttons "squad1 squad2 auto vh_cn lt ht asu"}
			}

		} 
	}
)

{presets
	{"p:payback_test_a"	
		{gameMode "with_payback"}
		{unitMode "test"}
		{specMode "test_a"}
		("payback_test" restoreBegin(0.2) restoreEnd(0.4) start(1000) finish(9999) growTime(0.8) growTable(1))
	}
}

; Без возврата средств
(define "without_payback_test"
	{common
		{unitset "^man|alter"}
		{commandPoints "btr=65;helcp=19;heavy_art=19;*=%cp_total"}
		{chargeFactors "*=0"}
		{budgets
			{vehicle
				{mode "without_payback"}
				{resource 
					{start 		%start}
					{finish 	%finish}
					{growTime	%growTime}				; round time when money growing
					{growTable 	"%growTable"}
					{limitmin	9999}
					{limitmax	9999}
					{speedset 	"9999"}
				} 
				{buttons "squad1 squad2 auto vh_cn lt ht asu"}
			}

		} 
	}
)
(define "without_payback_test2"
	{common
		{unitset "^man|alter"}
		{commandPoints "btr=65;helcp=19;heavy_art=19;*=%cp_total"}
		{chargeFactors "*=0.5"}
		{budgets
			{vehicle
				{mode "without_payback"}
				{resource 
					{start 		%start}
					{finish 	%finish}
					{growTime	%growTime}				; round time when money growing
					{growTable 	"%growTable"}
					{limitmin	9999}
					{limitmax	9999}
					{speedset 	"9999"}
				} 
				{buttons "squad1 squad2 auto vh_cn lt ht asu"}
			}

		} 
	}
)


{presets
	{"p:no_payback_test_a"	
		{gameMode "without_payback"}
		{unitMode "test"}
		{specMode "test_a"}
		("without_payback_test" start(1000) finish(9999) growTime(0.6) growTable(0.6 0.7 0.7 0.7 0.8 0.8 0.8 0.9 0.9 1 1 1))
	}
}