﻿##############################################
# 
# Partial adaptation of *some* cultures from the Rajas of Asia mod.
# Not all cultures have been # adapted to reduce potential compatibility issues and save time.
# 
##############################################

# Based off of Rajas of Asia's version
batak = {
	color = { 202 58 58 }

	ethos = ethos_communal
	heritage = heritage_austronesian
	language = language_batak
	martial_custom = martial_custom_male_only
	head_determination = head_determination_domain
	traditions = {
		tradition_stalwart_defenders
		tradition_mystical_ancestors
		tradition_medicinal_plants
	}

	dlc_tradition = {
		trait = tradition_tgp_rice_cultivators
		requires_dlc_flag = all_under_heaven
		fallback = tradition_agrarian
	}
	
	dlc_tradition = {
		trait = tradition_tgp_esoteric_power
		requires_dlc_flag = all_under_heaven
	}

	name_list = name_list_batak

	coa_gfx = { burman_group_coa_gfx }
	building_gfx = { southeast_asian_building_gfx }
	clothing_gfx = { malay_clothing_gfx southeast_asian_clothing_gfx }
	unit_gfx = { austronesian_unit_gfx southeast_asian_unit_gfx indian_unit_gfx }
	house_coa_frame = house_frame_30
	house_coa_mask_offset = { 0.0 0.0 }
	house_coa_mask_scale = { 0.9 0.9 }

	ethnicities = {
		50 = asian_austronesian
		50 = asian_malay
	}
}

# Minangkabau - note to self, hadn't diverged from Malay as a distinct identity until the end of the game timeframe

# Based off of Rajas of Asia's version
sunda = {
	color = { 128 50 8 }

	ethos = ethos_egalitarian
	heritage = heritage_austronesian
	language = language_malay
	martial_custom = martial_custom_male_only
	head_determination = head_determination_domain
	traditions = {
		tradition_equal_inheritance
		#tradition_storytellers
		tradition_culinary_art
		#tradition_family_entrepreneurship
		tradition_artisans
		tradition_maritime_mercantilism
	}

	# dlc_tradition = {
	# 	trait = tradition_maritime_way_of_life
	# 	requires_dlc_flag = all_under_heaven
	# 	fallback = tradition_seafaring
	# }

	dlc_tradition = {
		trait = tradition_tgp_rice_cultivators
		requires_dlc_flag = all_under_heaven
		fallback = tradition_agrarian
	}
	
	dlc_tradition = {
		trait = tradition_tgp_esoteric_power
		requires_dlc_flag = all_under_heaven
	}

	name_list = name_list_malay

	coa_gfx = { burman_group_coa_gfx }
	building_gfx = { southeast_asian_building_gfx }
	clothing_gfx = { malay_clothing_gfx southeast_asian_clothing_gfx }
	unit_gfx = { austronesian_unit_gfx southeast_asian_unit_gfx indian_unit_gfx }
	house_coa_frame = house_frame_30
	house_coa_mask_offset = { 0.0 0.0 }
	house_coa_mask_scale = { 0.9 0.9 }

	ethnicities = {
		100 = asian_austronesian
	}
}

# Based off of Rajas of Asia's version
lampung = {
	color = { 181 69 44 } # Way too bright: 208 164 108 # Too similar to Seletar: 108 69 8 # Too whitish: 169 141 88

	ethos = ethos_communal
	heritage = heritage_austronesian
	language = language_lampung
	martial_custom = martial_custom_male_only
	head_determination = head_determination_domain
	traditions = {
		tradition_hard_working
		tradition_poetry
	}

	dlc_tradition = {
		trait = tradition_maritime_way_of_life
		requires_dlc_flag = all_under_heaven
		fallback = tradition_seafaring
	}
	
	dlc_tradition = {
		trait = tradition_tgp_esoteric_power
		requires_dlc_flag = all_under_heaven
	}

	name_list = name_list_malay

	coa_gfx = { burman_group_coa_gfx }
	building_gfx = { southeast_asian_building_gfx }
	clothing_gfx = { malay_clothing_gfx southeast_asian_clothing_gfx }
	unit_gfx = { austronesian_unit_gfx southeast_asian_unit_gfx indian_unit_gfx }
	house_coa_frame = house_frame_30
	house_coa_mask_offset = { 0.0 0.0 }
	house_coa_mask_scale = { 0.9 0.9 }

	ethnicities = {
		50 = asian_malay
		50 = asian_austronesian
	}
}



# Orang Laut, borrowed from Rajas of Asia
seletar = {
	color = { 80 52 8 }

	ethos = ethos_stoic
	heritage = heritage_austronesian
	language = language_malay
	martial_custom = martial_custom_male_only
	head_determination = head_determination_domain
	traditions = {
		tradition_staunch_traditionalists
		tradition_loyal_soldiers
		tradition_practiced_pirates
	}

	dlc_tradition = {
		trait = tradition_maritime_way_of_life
		requires_dlc_flag = all_under_heaven
		fallback = tradition_seafaring
	}
	
	# dlc_tradition = {
	# 	trait = tradition_tgp_esoteric_power
	# 	requires_dlc_flag = all_under_heaven
	# }

	name_list = name_list_malay

	coa_gfx = { burman_group_coa_gfx }
	building_gfx = { southeast_asian_building_gfx }
	clothing_gfx = { malay_clothing_gfx southeast_asian_clothing_gfx }
	unit_gfx = { austronesian_unit_gfx southeast_asian_unit_gfx indian_unit_gfx }
	house_coa_frame = house_frame_30
	house_coa_mask_offset = { 0.0 0.0 }
	house_coa_mask_scale = { 0.9 0.9 }

	ethnicities = {
		50 = asian_malay
		50 = asian_austronesian
	}
}


# Sama/Bajau, borrowed from Rajas of Asia
sama = {
	color = { 80 52 8 }

	ethos = ethos_egalitarian
	heritage = heritage_austronesian
	language = language_ngaju
	martial_custom = martial_custom_male_only
	head_determination = head_determination_domain

	traditions = {
		tradition_fishermen
		tradition_religion_blending
		tradition_horse_breeder # Cybr: Weirdly enough, some Sama-Bajau groups are renowned for their traditional horse culture
	}

	dlc_tradition = {
		trait = tradition_maritime_way_of_life
		requires_dlc_flag = all_under_heaven
		fallback = tradition_seafaring
	}

	name_list = name_list_malay

	coa_gfx = { burman_group_coa_gfx }
	building_gfx = { southeast_asian_building_gfx }
	clothing_gfx = { malay_clothing_gfx southeast_asian_clothing_gfx }
	unit_gfx = { austronesian_unit_gfx southeast_asian_unit_gfx indian_unit_gfx }
	house_coa_frame = house_frame_30
	house_coa_mask_offset = { 0.0 0.0 }
	house_coa_mask_scale = { 0.9 0.9 }

	ethnicities = {
		50 = asian_malay
		50 = asian_austronesian
	}
}




malagasy = {
	color = { 0.80 0.97 0.97 }

	parents = { dayak east_bantu }
	created = 600.1.1
	history_loc_override = RICE_malagasy_history_loc
	
	ethos = ethos_spiritual
	heritage = heritage_austronesian # heritage_malayic
	language = language_ngaju
	martial_custom = martial_custom_male_only
	head_determination = head_determination_domain
	traditions = {
		#tradition_RICE_swahili_contacts
		tradition_sacred_groves
		tradition_esteemed_hospitality
		tradition_medicinal_plants 		# Cybr: To represent Madagascar's biodiversity
	}
	
	name_list = name_list_malagasy
	
	coa_gfx = { burman_group_coa_gfx }
	building_gfx = { southeast_asian_building_gfx }
	clothing_gfx = { malay_clothing_gfx southeast_asian_clothing_gfx }
	clothing_gfx = { african_clothing_gfx }
	unit_gfx = { austronesian_unit_gfx southeast_asian_unit_gfx indian_unit_gfx }
	house_coa_frame = house_frame_30
	house_coa_mask_offset = { 0.0 0.0 }
	house_coa_mask_scale = { 0.9 0.9 }

	
	ethnicities = {
		17 = african_east_african_1
		17 = african_east_african_2
		17 = african_east_african_3
		25 = asian_malay
		25 = asian_austronesian
	}
}
