; permanent update 
;(define "common_set_wp_vehicles"
;	{common
;		{unitset "^man|alter|inf"}
;;		{commandPoints "pz6b=9;elef_jagdt=8;nash_jagdp=7;hummel=4;sdkfz4=5;sfh18=4;is2=18;isu152=16;bm13=5;d1=8;m7=4;m26=18;tortez=80;m4a3c=5;m114=4;bl6=4;stormtroopers=10"}
;		{commandPoints "art=26;heavy_art=27;heavy_spa=55;long_range=25;infan_squad=48;stormtroopers=21"}
;		{chargeFactors "moto=1;use_charge=1;*=0"}
;		{budgets
;			{vehicle 
;				{resource 
;					{start 		%tick}
;					{finish 	200}
;					{speed 		16}
;					{limitmin	8}
;					{limitmax	32}
;					{speedset 	"12 14 16 18 20"}
;				} 
;				{buttons "squad1 squad2 squad3 squad4 squad5 vh_cn vh_cn1 lt ht asu"} 
;				{growFactors %grow}
;			}
;		} 
;	}
;)

; more units - less money grow
;(define "common_set_pu_vehicles"
;	{common
;		{unitset "^man|alter"}
;;		{commandPoints "pz6b=9;elef_jagdt=8;nash_jagdp=7;hummel=4;sdkfz4=5;sfh18=4;is2=18;isu152=16;bm13=5;d1=8;m7=4;m26=18;tortez=80;m4a3c=5;m114=4;bl6=4;stormtroopers=10"}
;		{chargeFactors "moto=1;use_charge=1;*=0"}
;		{budgets
;			{vehicle {resource %tick 200 0 0 %tick 180} {buttons "squad1 squad2 squad3 squad4 squad5 vh_cn vh_cn1 lt ht asu"} {growFactors "0/1.5;10/1.47;20/1.425;30/1.35;40/1.125;50/0.75;60/0.45;70/0.27;80/0.15;100/0.075;130/0"}}
;			{vehicle 
;				{resource 
;					{start 		%tick}
;					{finish 	200}
;					{speed 		45}
;					{limitmin	20}
;					{limitmax	90}
;					{period 	180}
;				} 
;				{buttons "squad1 squad2 squad3 squad4 squad5 vh_cn vh_cn1 lt ht asu"} 
;				{growFactors %grow}
;			}
;
;		} 
;	}
;)

; resources with no limit
;(define "zeroFactors"
;	{common
;		{unitset "^man|alter|inf|d1|sfh18|bl6|m114"}
;		{commandPoints "*=160"}
;		{chargeFactors "*=0.05"}
;		{budgets
;			{vehicle
;				{mode "without_update"}
;				{resource 
;					{start 		9999}
;					{finish 	9999}
;					{speed 		0}
;					{limitmin	100}
;					{limitmax	9999}
;				} 
;				{buttons "squad1 squad2  squad3 squad4 squad5 auto vh_cn lt ht asu"}
;			}
;		} 
;	}
;)

; without update
(define "instant_vehicles"
	{common
		{unitset "^man|alter|inf|d1|sfh18|bl6|m114"}
		{commandPoints "kv2=15;sturmtiger=15;*=%cp_total"}
		{chargeFactors "*=1"}
		{budgets
			{vehicle
				{mode "without_update"}
				{resource 
					{start 		%start}
					{finish 	800}
					{speed 		0}
					{limitmin	100}
					{limitmax	500}
					{speedset 	"200 250 300 350 400"}
				} 
				{buttons "squad1 squad2 squad3 squad4 squad5 auto vh_cn lt ht asu"}
			}

		} 
	}
)

; with payback
(define "payback_vehicles"
	{common
		{unitset "^man|alter|inf|d1|sfh18|bl6|m114"}
		{chargeFactors "moto=1;use_charge=1;*=0"}
		{commandPoints %cp}
		{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 squad3 squad4  squad5 auto vh_cn lt ht asu"}
			}

		} 
	}
)

; without payback
(define "without_payback_vehicles"
	{common
		{unitset "^man|alter|inf|d1|sfh18|bl6|m114"}
		{chargeFactors "moto=1;use_charge=1;*=0"}
		{commandPoints %cp}
		{budgets
			{vehicle
				{mode "without_payback"}
				{resource 
					{start 		%start}
					{finish 	%finish}
					{growTime	%growTime}				; round time when money growing
					{growTable 	"%growTable"}
					{limitmin	150}
					{limitmax	600}
					{speedset 	"200 250 300 350 400"}
				} 
				{buttons "squad1 squad2 squad3 squad4   squad5 auto vh_cn lt ht asu"}
			}

		} 
	}
)

{presets
	{"p:no_payback_100"	
		{gameMode "without_payback"}
		{unitMode "vehicles"}
		{specMode "company_100"}
		("without_payback_vehicles" start(16) finish(350) 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) cp("kv2=15;sturmtiger=15;*=100"))
		{ranked}
	}
	{"p:no_payback_80"	
		{gameMode "without_payback"}
		{unitMode "vehicles"}
		{specMode "platoon_80"}
		("without_payback_vehicles" start(16) finish(300) 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) cp("kv2=15;sturmtiger=15;*=80"))
	}		
	{"p:no_payback_120"	
		{gameMode "without_payback"}
		{unitMode "vehicles"}
		{specMode "battalion_120"}
		("without_payback_vehicles" start(16) finish(350) 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) cp("kv2=15;sturmtiger=15;*=120"))
	}
	{"p:no_payback_140"	
		{gameMode "without_payback"}
		{unitMode "vehicles"}
		{specMode "regiment_140"}
		("without_payback_vehicles" start(16) finish(400) 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) cp("kv2=15;sturmtiger=15;*=140"))
	}
	{"p:no_payback_160"	
		{gameMode "without_payback"}
		{unitMode "vehicles"}
		{specMode "division_160"}
		("without_payback_vehicles" start(16) finish(400) 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) cp("kv2=15;sturmtiger=15;*=160"))
	}
;------------------------------------------------------------------------------------------------------------
	{"p:payback_120"	
		{gameMode "with_payback"}
		{unitMode "vehicles"}
		{specMode "battalion_120"}
		("payback_vehicles" restoreBegin(0.14) restoreEnd(0.3) start(12) finish(120) growTime(0.7) growTable(1) cp("kv2=15;sturmtiger=15;*=80"))
	}
	{"p:payback_80"	
		{gameMode "with_payback"}
		{unitMode "vehicles"}
		{specMode "platoon_80"}
		("payback_vehicles" restoreBegin(0.14) restoreEnd(0.3) start(12) finish(120) growTime(0.7) growTable(1) cp("kv2=15;sturmtiger=15;*=80"))
	}	
	{"p:payback_100"	
		{gameMode "with_payback"}
		{unitMode "vehicles"}
		{specMode "company_100"}
		("payback_vehicles" restoreBegin(0.14) restoreEnd(0.3) start(12) finish(120) growTime(0.7) growTable(1) cp("kv2=15;sturmtiger=15;*=80"))
	}	
	{"p:payback_140"	
		{gameMode "with_payback"}
		{unitMode "vehicles"}
		{specMode "regiment_140"}
		("payback_vehicles" restoreBegin(0.16) restoreEnd(0.34) start(12) finish(140) growTime(0.8) growTable(1) cp("kv2=15;sturmtiger=15;*=100"))
	}	
	{"p:payback_160"	
		{gameMode "with_payback"}
		{unitMode "vehicles"}
		{specMode "division_160"}
		("payback_vehicles" restoreBegin(0.2) restoreEnd(0.4) start(12) finish(160) growTime(0.8) growTable(1) cp("kv2=15;sturmtiger=15;*=120"))
	}
;------------------------------------------------------------------------------------------------------------
	{"wu:without_update_100"
		{gameMode "without_update"}
		{unitMode "vehicles"}
		{specMode "company_100"}
		("instant_vehicles" cp_total(100) start(300))
		{ranked}
	}
	{"wu:without_update_80"
		{gameMode "without_update"}
		{unitMode "vehicles"}
		{specMode "platoon_80"}
		("instant_vehicles" cp_total(80) start(250))
	}
	{"wu:without_update_120"
		{gameMode "without_update"}
		{unitMode "vehicles"}
		{specMode "battalion_120"}
		("instant_vehicles" cp_total(120) start(350))
	}
	{"wu:without_update_140"
		{gameMode "without_update"}
		{unitMode "vehicles"}
		{specMode "regiment_140"}
		("instant_vehicles" cp_total(140) start(400))
	}
	{"wu:without_update_160"
		{gameMode "without_update"}
		{unitMode "vehicles"}
		{specMode "division_160"}
		("instant_vehicles" cp_total(160) start(400))
	}
;more units - less money grow ----------------------------------------------------------------------------------------------------
;	{"wp:curve_normal"	
;		{gameMode "without_payback"}
;		{unitMode "vehicles"}
;		{specMode "normal_reinforcement"}
;		("common_set_wp_vehicles" grow("0/1;10/0.98;20/0.95;30/0.89;40/0.77;50/0.59;60/0.4;70/0.27;80/0.22;100/0.2;130/0.2;200/0.18") tick(20))
;		{ranked}
;	}
}
