##################################################################
### Terrain Categories
###
### Terrain types: plains, mountains, hills, desert, artic, forest, jungle, marsh, pti
### Types are used by the game to apply certain bonuses/maluses on movement/combat etc.
###
### Sound types: plains, forest, desert, sea, jungle, mountains

categories =  {
	pti = {
		type = pti
	}

	ocean = {
		color = { 255 255 255 }

		sound_type = sea
		is_water = yes

		movement_cost = 1.0
	}

	inland_ocean = {
		color = { 0 0 200 }

		sound_type = sea
		is_water = yes
		inland_sea = yes

		movement_cost = 1.0
	}	

	glacier = {
		color = { 235 235 235 }

		sound_type = desert

		defence = 1
		movement_cost = 1.25
		supply_limit = 2		
		cs_only_local_development_cost = 0.5
		nation_designer_cost_multiplier = 0.75		
		
		terrain_override = {		
			1034 1035 1104 1105 2074 2128 2129 2025 2440 2574
		}
	}

	farmlands = {
		color = { 179 255 64 }

		type = plains
		sound_type = plains

		movement_cost = 1.10
		local_development_cost = -0.05
		supply_limit = 10
		allowed_num_of_buildings = 1
		nation_designer_cost_multiplier = 1.05
		
		terrain_override = {
			104 109 108 1744 1865
			
			45 44 1874 113 172 
			
			161 2998 160 125
			
			506 507 510 522 523 524 532 540 555 556 558 561 563 2026 2044 2045 2047 2060 2063 2075 2095
			
			115 117 118 121 1862
			
			
			916 925 930 
			
			584 600 
			
			153 1772 361 2316
			
			613 2380
			
			169 177 180 1879 167 183 192 191 1877 200 2753 
			
			1868 68 77 70 65 78 1841 266 
			255 254 258 259 260 134 151 152 1767 1954 150 268 280 1876
			
			98
			234 235 238 243 245 248 
			410 415 2310 408
			
			236 186 90 92 88 182 12 14 6 289 2407 290 279 
			362
			
			695 696 1816 2137 690 691 2138 2139 2140 685 1821 1822 2141 2142 2145 1838 2143 2144  
			684 2148 2149 2150 687 688 692 1836 2175 2176 671 672 682 683 2151 2172 679
			665 667 2156 2157 2159 2163 700
			
			363 2312 257 2033 148 358 359
			64 2955 2957 43 267 2979 2980 2981
			
			#Sorted from here:
			
			358 359 361 363 2316 4316 #Egypt
			
			264 4126 4173 4240 #Central Europe
			
			4194 4195 4196 4197 4212 4213 #Greater China
			1020 1021 1028 1030 #Japan
			735 2745 #Korea
			
			#AtE

			2547 2533 2516 2540 4739 2529 4673 921 4668 902 
			2514 2669 2520 2535 4753 2622 2651 4649 2530 
			895 4669 4574 4738 2532 4595 2526 4883 4597 4678 4672 
			4664 846 843 4659 2523 918 2437 4665 2539 2534 
			4573 2014 4676  897 4707 4756 
			2620 4885 893 4670 4666 
			4718 940 4650 923 917 4885 4502 929 4598 
			2659 4662 2513 4658 871 4585 4575 2528 928  
			4719 852  939 920 4705  
			4738 2479 2624

			
			
		}		
	}
	
	forest = {
		color = { 31 116 16 }

		type = forest
		sound_type = forest
		
		movement_cost = 1.25
		defence = 1
		supply_limit = 4
		cs_only_local_development_cost = 0.2
		nation_designer_cost_multiplier = 0.9
		
		terrain_override = { 
			2 4 8 9 11 18 29 30 31 315 4123 4124 # Sweden
			309 1955 #Russia
			2611 996 997 998 2575 #n am
			
			1054 1046 10
			993 1011 2572 2583 2671
			
			978 980 2022 2517 2573 2582 2593
			960
			1085 1246
			1026 4187 #Japan
			312 #Eastern Europe
		}                                      
	}
	
	hills = {
		color = { 113 176 151 }

		type = hills
		sound_type = mountain

		movement_cost = 1.40
		defence = 1
		local_defensiveness = 0.1
		cs_only_local_development_cost = 0.25
		nation_designer_cost_multiplier = 0.85
		supply_limit = 5
		
		terrain_override = {
			508 509 511 515 525 527 529 530 531 538 545 550 554 557 559 740 1947 1949 2027 2030 2032 2036 
			2037 2040 2043 2056 2058 2069 2070 2071 2080 2089 2090 2092 2097
			
			105 106 107 111 1774 1844 1746 
			
			1827 63
			
			488 489 837 839 841 844 847 849 851 854 855 899 911 959 966 981 992 994 995 2023 2515 
			2518 2557 2558 2562 2565 2567 2571 2577 2579 2627 2638 2640 2642 2648 2653 2657 2660
			
			931 935 949 951 961 964 969 972 986 2580 2011 2012 2509 2527 2531 2548 2552 2553 2555 2556 2559 2563 2607 2608
			1117 1121
			
			1016 2373 1022 1823 604 609 615 611 2382 608 2379 
			2299 318
			2606 2658
			
			193 201 102 198 176 196 203 325
			101
			242 
			140 1828
			123 1934 116 119 1848
			
			669 670 681 686 1824 1829 1833 1840
			2146 2147 2152 2153 2158 2171 2173 2174 
			652 657 658 2697 2698 2702 2701 
			
			2965 2976 2977 2978 2983 2984 2991 3002
			1792 4023 #Madagascar
			4046 4050 4063 4066 4068 4069 4070 4072 4098 4102 #Central Africa
			156 1951 #Carpathians
			4144 4145 4164 #Scandinavia
			232 #Iberia
			733 2694 2742 2744 4229 4231 #Korea
			1018 1025 1029 1820 1830 1832 1843 1852 4180 4183 4185 4188 4191 4192 #Japan
			4239 #Balkans
			1856 4311 4312 4315 #Caucasus & Anatolia
			
			#LAtE
			4834 #Central Viscaya
		}
	}

	
	woods = {
		color = { 41 155 22 }

		type = forest
		sound_type = forest

		movement_cost = 1.10
		defence = 1
		cs_only_local_development_cost = 0.15
		nation_designer_cost_multiplier = 0.9
		supply_limit = 6
		
		terrain_override = {
			206 1851 # Spain
			374 375 376 4118 4119 4120 4121 #Ireland
			237 240 # England
			129  # Balkans
			968 970
			62 58
			1826 130 1861
			4148 #Russia
			
			141
			859 919 944 946 947 948 963 987 988 2560 2586 2639
			
			1765 2750

			914 933 934 937 941 943 954 955 958 956 965 967 989 2010 2524 2525 2541 2544 2545 2549 2584 2670
			
			2665 1937 269
			
			99 95
			1834 37 273 271 272 770 275 771 311 1960 274 34 310 1752 1959 
			
			40 41 1938 256 261 2424 316 317 175 173 174 194 195 190 178 184 187 
			181 1866 94 93 188 189 1880 72 69 1761 67 66 63 80 1760 83 81 1762 1742 1878 85 84 86
			56 1758 82 
			53 1857 46 52 51 50 1759 47 1858 48 49 1763 60 61 59 
			57 38 296 297 1945 298 239 372 247 1863 3 2 1985 2749 1753 307 1956 1754 
			2423 306 1957 1083 1079 1972 2427 1074 2428 2433 2429 1068 1064 480 1065 
			2432 2443 1062 1063 1060 2442 2435 1056 2446 
			2551 2013 971 2566 2570 985 984 2569 2568 945 2521 2522 2587 912 2487 973 874 873 2482 
			276 2304 4176
		 
			767
			
			727 731 1033 1049 1050 1053 2102 2106
			2964 2969 2970 2971 2972 2973 2974 2975 2993 2995 2996 2997 3000 4112 4115 4116 4117
			1084 1093 1094 1107 2730 2733 #Australia
			1982 4165 4166 #Scandinavia
			1014 1027 1819 1835 4181 4182 4184 4186 4189 #Japan
			4127 4241 4242 4243 4251 4252 4253 4254 4260 4266 #Eastern Europe
			
			#Ontario
			4529 4527 4530 4531 989 4538
			
			
		}
	}
	
	mountain = {
		color = { 105 24 4 }

		type = mountains
		sound_type = mountain

		movement_cost = 1.5
		defence = 2
		local_defensiveness = 0.25
		cs_only_local_development_cost = 0.5
		nation_designer_cost_multiplier = 0.75
		supply_limit = 4
		
		terrain_override = {
			210	226 # Spain
			139 1831 143 138 4175  #Balkans
			158 1952 #Hungary
			4236 #Slovakia
			974 975 976 977 2003 2020 2480 2481 2486 2609 2610 2612 2613 936  #North America
			2154 2155 #East Asia
			808 814 2825 #South America
			452 2073 #Tibet
			1078
			4198 4201 4205 4206 4210 4214 4215 4216 4217 4211 4222 #Greater China
			
			1787 1788
			
			120
			783 794 802 824 856 857 860 875 878 879 880 2477 2484 2485 2491 2493 2494 2495 2605 2617 2618 2813 2817 2824 2826 2871
			2874 2395 2396 583 587 872 2505 2604 2877 2873
			1180
			
			2371 2381 330 
			785 
			2564
			204 199 
			1856
			1853 144
			124
			2305 331 2306 
			
			2327 380 383

			680 689 693 694 697 702 2136 2169 2177 2178 2179 2180 2181 
			716 718 719 1066 2117 2189 2190 739 2125 2127 
			565 676 677 2074 2128 2129 2130
			
			2103 1048 2104 2105 729 2186 1850 2107 2108 2111 2112 222 223
			732 734 2743 4232 #Korea
			4131 #Japan
			1109 #New Zeeland
			1273 #Mount Kilimanjaro
			4128 #Carpathians
			20 22 #Norway
			422 2201 2198 4301 4306 #Caucasus
			384 385 386 390 2332 2345 4280 4281 4282 #Hejaz Range
			435 436 #Khorasan
			4348
		}
	}

	impassable_mountains = {
		color = { 128 128 128 }

		sound_type = desert

		movement_cost = 8.0
		defence = 6
		cs_only_local_development_cost = 10		
	}

	grasslands = {
		color = { 130 255 47 }

		type = plains
		sound_type = plains

		movement_cost = 1.0
		supply_limit = 8
		allowed_num_of_buildings = 1
		nation_designer_cost_multiplier = 1
		
		terrain_override = {
			2666 # North America
			213 218 219 #Spain
			526 #India
			2386 593 2376 2391 2394  #Sout East Asia
			
			136 137 4174  # Balkans	

			373 # Ireland			
					
			149 1747 229
			1943 1942 131
			
			516 517 539 543 552 548 549 562 572 1948 2046 2055 2057 2059 2061 2062 2081 
			2082 2083 2084 2094 2101
			
			114
			
			772 773 778 898 905 2632 2848
			2851 2852 
			328
			581 2399 585 586 2390 
			2405 1953 155
			
			896
			890 891 901 903 2016 2511 2598 2602 
			1177 2850
			
			71 79 96
			2728 1086
			1859
			1967
			2739
			2296 318
			1170 2949 798 2948
			
			703 704 726 730 2110 2113
			42 457 458
			4150 #Iberia
			1017 1012 1019 1023 1024 1818 1825 1837 1839 1847 4359 4360 #Japan
			737 1013 1845 4227 4230 #Korea
			
			#AtE
			4865 4867 4868 4869 4870 4858 4871 4872 4874 2856 4726 4876 #Africa
		}
	}

	jungle = {
		color = { 98 163 18 }

		type = jungle
		sound_type = jungle

		movement_cost = 1.5
		defence = 1
		cs_only_local_development_cost = 0.35
		nation_designer_cost_multiplier = 0.8
		supply_limit = 5
		
		terrain_override = {
			1237 1245 2703 #South East Asia
			746 838 #South America
			534 535 537 546 547 551 553 560 564 566 567 568 570 571 573 1946 1950 2028 2029 2034 2038 2042
			2048 2049 2050 2091 2098 2096 2099 2100
			2039
			486 490 743 745 748 826 835 840 848 2630 2637 2641 2647 2654 2655 2664 2819 2927
			
			582 2397 2398 579 2402 1815 590 2403 2400 589 602 1817 2389 2388 592 591 2404 
			789 1151 1181 1182 1183 2952
			
			616 2372 610 2377
			756 759 757 765 2894 2896 2914 2929 
			1125 1138 1139 1162 1249
			1118
			
			660 663 664 666 2160 2161 2162 2164 2166 
			2731 2732 #Australia
			4021 4024 4025 4026 #Madagascar
			4090 4105 4109 #Central Africa
		}
	}	
	
	marsh = {
		color = { 13 189 130 }

		type = marsh
		sound_type = forest

		movement_cost = 1.3
		defence = 1
		cs_only_local_development_cost = 0.25
		nation_designer_cost_multiplier = 0.85
		supply_limit = 5

		terrain_override = {
			1860 #England
			97 100 #Netherlands
			1769 #Austria
			
			950 #n am
			2857 2890 #South America
			927 2536 2537 
			749 758 775 777 999 1000 1003 1004 1005 1006 2592 2599 2600
			1217 2259 2261 2286 2287 2759
			277 4111 4141
			1031 #Japan
			408 2311 4288 4290 #Middle East
			462 #Caucasus
			362 #Egypt
			
			#Northern Ontario
			4828 4795 4780
		}
	}
	
	desert = {
		color = { 242 242 111 }

		type = desert
		sound_type = desert

		movement_cost = 1.05
		supply_limit = 4
		cs_only_local_development_cost = 0.35
		nation_designer_cost_multiplier = 0.8
		
		terrain_override = {
			503 2078 2088 #India
			
			4204 4207 4208 4221 4223 #Greater China
			
			512 513 514 2064 2066 2086
			867 2844
			2490
			350 355 1115 2244 2271 2272 2767 2773
			
			
			715 2119 2120 710 711 712 2121 2123 2191 2192 706 707 708 698 701 709 720 2193 2747 
		}
	}
	
	coastal_desert = {
		color = { 255 211 110 }

		type = desert
		sound_type = desert

		movement_cost = 1.0
		cs_only_local_development_cost = 0.25
		nation_designer_cost_multiplier = 0.9		
		supply_limit = 4

		terrain_override = {
			792 793 796 805 806 2821 2822 2840 2841
			
			1212 1215 1230 1232 2315 2320 2321 2765 2786 2788 2789
			1174 #Angra Pequena
			865 866 
			1206 1209 2024 2790 2793
			782 
			389 394 395 396 397 398 399 400 401 402 1099 2329 2331 2333 2340 2341 2342 2347 4269 4278 4283 4284 #Arabia
			4286
		}	
	}
	
	coastline = {
		color = { 49 175 191 }

		sound_type = sea

		movement_cost = 1.0
		cs_only_local_development_cost = 0.25
		nation_designer_cost_multiplier = 0.85		
		supply_limit = 6 
		
		terrain_override = {
			957 962 2554 2561 2578 #n am
			
			112
			487 492 497 498 499 500 501 502
			982 
			
			788 1186 1192 1195 1196 1197 1198 1199 1200 1202 1203 1204 2796  
			
			938 2547 
			368 1098 1095 1103 1102 1100 1101 1999 1998 2679 2678 
			647 634 645 2741 1994 1992 1986 1242 1989 1988 979 1240 491
			
			333 3003 4049
			653 655 656 2699 2700 654 4349 4350 4351 4352 4353 4354 4355 4356 #Philippines
			642 643 644 648 649 650 2713 2714 2716 2717 2718 2725 #Moluccas & Sulawesi
			1015 4193 #Japan
			387 4279 #Tihama al yemen
		}
	}	
	
	drylands = {
		color = { 232 172 102 }		

		type = plains
		sound_type = plains

		movement_cost = 1.00
		cs_only_local_development_cost = 0.05
		nation_designer_cost_multiplier = 0.95
		supply_limit = 7
		allowed_num_of_buildings = 1

		terrain_override = {
			1749 224
			221 1750 220 214 
			1748 2754
			225
			2297 327 2313 411 425 2199 2208 464 #Turkey and Caucasus
			454 442 441 1973 444 446 453 2227 #Transoxiana & Balkh
			504 505 518 519 528 533 541 569 2031 2051 2052 2053 2054 2065 2067 2072
			521 2999
			751 752 753 790 799 858 882 2476 2498 2614 2643 2668 2842 2854 2865 
			2868 2878 2883 2885 2915 2917 2922 
			750 2863
			2764 2768 2797 2798 2801 2864
			323
			754 755 786 862 868 876 1809 2492 2507 2619 2667 2846 2861 2912 2913 2921 
			1172 2682 2503 2068
			
			322 2300
			2308 407 337 1849 2309 377
			2356 2364
			2209 412 430 2219 431 
			2203 421 2202 420
			
			699 713 2122 2124 2182 2184 2302
			
			4209 #Greater China
			2324 #Africa
			334 338 341 342 345 1110 2453 2455 2461 2466 2469 2473 #Maghreb
			1089 1091 #Australia
			379 381 382 1854 #Levant
			1222 4040 #Central Africa
			
			#AtE
			2856 4726 4728 4860 4877 4876 2880 4878 #Africa
		}		
	}

	highlands = {
		color = { 176 129 21 }

		type = hills
		sound_type = mountain
		
		supply_limit = 6
		movement_cost = 1.40
		defence = 1
		local_defensiveness = 0.1
		cs_only_local_development_cost = 0.2
		nation_designer_cost_multiplier = 0.9	

		terrain_override = {
			520 536 542 544 578 2035 2076 2077 2079 2085 2087 2093
			850 853 2018 2621 2623 2626 2628 2629 2644 2646 2645 
			588 2401 2301 324 1224 
			
			
			869 2006 2019 2483 2488 2496 2501 
			
			335 336 339 340 346 348 349 351 1171 1184 1185 1188 1207 1208 1211 1218 1219 1227 1751 1882 2274 2454 2458 2459 2462 2463 
			2464 2465 2756 2757 2758 2762 2763 2766 2770 2771 2772 2778 2779 2781 2787 2792 2950 2951
			326 329 332 418 1846 
			2303
			2478 2489 2504 
			
			262 
			252 784 2946 823
			
			460  
			2755
			1773 127 1247
			251 145 370
			1766
			319 2298 
			371 163 321
			661 662 673 674 675 678 705
			2131 2132 2133 2134 2135 2165 2167 2168 2170 2748 2183 
			2235 
			3001 2992 2986 2989 4176
			4199 #Greater China
			365 #Sinai
			1108 1090 2734 2738 #Australia & New Zeeland
			1968 #Central Asia
			4027 4029 4030 #Madagascar
			798 4053 4055 4056 4057 4059 4067 4073 4077 4084 4100 4101 4103 #Africa
			4110 #Highlands (Scotland)
			23 24 2752 #Norway
			154 162 263 1318 1770 2960 2968 2970 4238 #Central Europe
			216 228 #Iberia
			736 1047 4228  #Korea & Manchuria
		}
	}

	savannah = {
		color = { 248 199 23  }

		sound_type = plains

		supply_limit = 6
		movement_cost = 1.00
		cs_only_local_development_cost = 0.15
		nation_designer_cost_multiplier = 0.95	
		
		terrain_override = {
			768 776 1800 2805 2809 2810 2812 2814 2815 2855 2859 2879 2884 2887 
			2893 2895 2897 2908 2909 2910 2918 2923 2925 2926 2939 

			1113 1116 1123 1131 1134 1135 1140 1142 1148 1146 1149 1144 1155 1159 2237 2239 2245 2250 2263 2265 2270 2278 
			2279 2280 2283 2291 
			
			607 2374 606 605 2378 614 2386 603 612
			484 485 870 883 884 887 888 894 900 915 924 926 932 942 1008 1010 2017 2021 2520
		    2533 2538 2542 2543 2546 2596 2853 2888 2891 2892 2906 2907 2911 2919 2920 
			
			1114 1120 1122 1124 1136 1137 1143 1145 1150 1152 1154 1160 1161
			2238 2240 2241 2248 2249 2252 2254 2253 2256 2267 2281 2285 2292 2293 2295
			1167 1168 1190 1191 1193 1194 2774 2775 2794
			913 1153 2266 2519 2597 2656 2886 2924 1187 1189
			1088 2736 2726 2729 #Australia
			1925 #Kenya
			4022 4028 4031 4032 #Madagascar
			2948 4034 4035 4036 4037 4038 4039 4041 4042 4043 4044 4045 4047 4048 4058 4061 4062 4064 4065 4071 4074 4075 4076 4082 4083 4091
			4092 4093 4094 4095 4096 4097 4099 4104 4105 4106 4107 4108 #Central Africa
			
			#AtE
			4882 4881 4879 4880 4866 #Zambezi
			
			
		}		
	}
	
	steppe = {
		color = { 147 200 83  }

		type = plains
		sound_type = plains

		movement_cost = 1.00
		cs_only_local_development_cost = 0.20
		nation_designer_cost_multiplier = 0.9	
		supply_limit = 6
		
		terrain_override = {
			2195 463 2197 2201 2417 466 2367 470 472 2353 2369 2358 476 2354 479 2357 1966 2420

			284 1974 2412 2413 286 2414 287 2447 283 2406 282 1756 
			
			301 300 1778 304 303 2415 302 2408 299 2409 285 291 2411 467 
			1081 473 2421 1971 288 468 2418 2419 474 2366 1965 1082 475 2441 2359
			2360 478 2355 2422
			
			2416
			1057 
			
			2434 1076 1075 1071
			889 2004 2009 2625 2672 
			4033
			
			885 886 892 906 1226 2500
			
			774 1132 1133 1156 1157 1158 1205 1216 1221 1225 2243 2246 2260 2262 2264 2268 2269 2273 2276 2282 2284 2288 2776 2777 2799 2780 2784 2783 2785 2795 
			2800 2802 2932
			
			779 780 781 2008 2497 2499 2510 2502 2666 2860 2866 2869 2870 2875 2876
			833 1175 1179
			 
			4255 4264 4265 4267 # Russia
			
			459 461 714 2118 2126 2368 
			717 721 722 723 724 725 728 1058 2109 2114 2115 2116 2185 2187 2188
			2727 #Australia
			
			4200 4202 4203 4218 4219 4220 #Greater China
			
			#AtE
			1176 1178 2864 4861 
			
		}	
	}	
}
	
##################################################################
### Graphical terrain
###		type	=	refers to the terrain defined above, "terrain category"'s 
### 	color 	= 	index in bitmap color table (see terrain.bmp)
###

terrain = {
	grasslands			= { type = grasslands		color = { 	0	 } }
	hills				= { type = hills			color = { 	1	 } }
	desert_mountain		= { type = mountain			color = { 	2	 } }
	desert				= { type = desert			color = { 	3	 } }

	plains				= { type = grasslands		color = { 	4	 } }
	terrain_5			= { type = grasslands		color = { 	5	 } }
	mountain			= { type = mountain			color = { 	6	 } }
	desert_mountain_low	= { type = desert			color = { 	7	 } }

	terrain_8			= { type = hills			color = { 	8	 } }
	marsh				= { type = marsh			color = { 	9	 } }
	terrain_10			= { type = farmlands		color = { 	10	 } }
	terrain_11			= { type = farmlands		color = { 	11	 } }

	forest_12			= { type = forest			color = { 	12	 } }
	forest_13			= { type = forest			color = { 	13	 } }
	forest_14			= { type = forest			color = { 	14	 } }
	ocean				= { type = ocean			color = { 	15	 } }

	snow				= { type = mountain 		color = { 	16	 } } # (SPECIAL CASE) Used to identify permanent snow
	inland_ocean_17 	= { type = inland_ocean		color = {	17	 } }

	coastal_desert_18	= { type = coastal_desert	color = { 	19	 } }
	coastline			= { type = coastline		color = { 	35	 } }
	
	savannah			= { type = savannah 		color = {	20	 } }
	drylands			= { type = drylands			color = {	22	 } }
	highlands			= { type = highlands		color = {	23	 } }
	dry_highlands		= { type = highlands		color = {	24	 } }
	
	woods				= { type = woods			color = { 	255	 } }
	jungle				= { type = jungle			color = { 	254	 } }
	
	terrain_21			= { type = farmlands		color = { 	21	 } }	
}

##################################################################
### Tree terrain
###		terrain	=	refers to the terrain tag defined above
### 	color 	= 	index in bitmap color table (see tree.bmp)
###

tree = {
	forest				= { terrain = forest 			color = { 	3 4 6 7 19 20	} }
	woods				= { terrain = woods 			color = { 	2 5 8 18	} }
	jungle				= { terrain = jungle 			color = { 	13 14 15	} }
	palms				= { terrain = desert 			color = { 	12	} }
	savana				= { terrain = grasslands 		color = { 	27 28 29 30	} }
}