##########################################
### Scripted Localisations for Russian ###
###		 Русские локализации		###
###		 By ViolentBeetle			###
##########################################

#Дательный падеж: Ей/Ему
defined_text = {
	name = GetEjEmu
	text = {
		trigger = { loc_leader_masc = yes }
		localization_key = RULOC_ej
	}
	text = {
		trigger = { loc_leader_fem = yes }
		localization_key = RULOC_emu
	}
}

defined_text = {
	name = GetEjEmuCap
	text = {
		trigger = { loc_leader_masc = yes }
		localization_key = RULOC_ej_cap
	}
	text = {
		trigger = { loc_leader_fem = yes }
		localization_key = RULOC_emu_cap
	}
}

#Творительный
defined_text = {
	name = GetEyuIm
	text = {
		trigger = { loc_leader_masc = yes }
		localization_key = RULOC_eyu
	}
	text = {
		trigger = { loc_leader_fem = yes }
		localization_key = RULOC_im
	}
}

defined_text = {
	name = GetEyuImCap
	text = {
		trigger = { loc_leader_masc = yes }
		localization_key = RULOC_eyu_cap
	}
	text = {
		trigger = { loc_leader_fem = yes }
		localization_key = RULOC_im_cap
	}
}

#Предложный
defined_text = {
	name = GetNejNem
	text = {
		trigger = { loc_leader_masc = yes }
		localization_key = RULOC_nej
	}
	text = {
		trigger = { loc_leader_fem = yes }
		localization_key = RULOC_nem
	}
}

defined_text = {
	name = GetNejNemCap
	text = {
		trigger = { loc_leader_masc = yes }
		localization_key = RULOC_nej_cap
	}
	text = {
		trigger = { loc_leader_fem = yes }
		localization_key = RULOC_nem_cap
	}
}

#А-Я для окончаний глаголов
defined_text = {
	name = GetAXX
	text = {
		trigger = { loc_leader_masc = yes }
		localization_key = RULOC_null
	}
	text = {
		trigger = { loc_leader_fem = yes }
		localization_key = RULOC_a
	}
}

define_text = {
	name = GetBuildGrow_RULOC_Nom
	text = {
		trigger = {
			owner = {
				country_uses_bio_ships = no
			}
		}
		localization_key = get_build_RULOC_Nom
	}
	text = {
		trigger = {
			owner = {
				country_uses_bio_ships = yes
			}
		}
		localization_key = get_grow_RULOC_Nom
	}
}

defined_text = { # country scope
	name = WildernessGladeProvides_RULOC_ACC
	text = {
		trigger = {
			country_uses_food = yes
			overlord = { is_lithoid = no }
		}
		localization_key = r_food_RULOC_ACC
	}
	text = {
		trigger = {
			country_uses_food = yes
			overlord = { is_lithoid = yes }
		}
		localization_key = r_minerals_RULOC_ACC
	}
	text = {
		trigger = {
			country_uses_food = no
		}
		localization_key = r_energy_RULOC_ACC
	}
}

defined_text = {
	name = SubjectResearcherUpkeep_RULOC_ACC
	text = {
		trigger = {
			exists = owner
			owner = { is_hive_empire = yes }
		}
		localization_key = r_minerals_RULOC_ACC
	}
	text = {
		trigger = {
			exists = owner
			owner = { is_machine_empire = yes }
		}
		localization_key = r_energy_RULOC_ACC
	}
	text = {
		trigger = {
			exists = owner
			owner = {
				is_hive_empire = no
				is_machine_empire = no
			}
		}
		localization_key = r_consumer_goods_RULOC_ACC
	}
}

defined_text = {
	name = GetPlanetHabitat_RULOC_GEN
	text = {
		trigger = { is_planet_class = pc_habitat }
		localization_key = habitat_lowercase_RULOC_GEN
	}
	text = {
		trigger = {
			OR = {
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = ringworld_lowercase_RULOC_GEN
	}
	text = {
		trigger = {
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = planetmoon_RULOC_GEN
	}
}

defined_text = {
	name = GetPlanetHabitat_RULOC_DAT
	text = {
		trigger = { is_planet_class = pc_habitat }
		localization_key = habitat_lowercase_RULOC_DAT
	}
	text = {
		trigger = {
			OR = {
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = ringworld_lowercase_RULOC_DAT
	}
	text = {
		trigger = {
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = planetmoon_RULOC_DAT
	}
}

defined_text = {
	name = GetPlanetHabitat_RULOC_ACC
	text = {
		trigger = { is_planet_class = pc_habitat }
		localization_key = habitat_lowercase_RULOC_ACC
	}
	text = {
		trigger = {
			OR = {
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = ringworld_lowercase_RULOC_ACC
	}
	text = {
		trigger = {
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = planetmoon_RULOC_ACC
	}
}

defined_text = {
	name = GetPlanetHabitat_RULOC_INST
	text = {
		trigger = { is_planet_class = pc_habitat }
		localization_key = habitat_lowercase_RULOC_INST
	}
	text = {
		trigger = {
			OR = {
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = ringworld_lowercase_RULOC_INST
	}
	text = {
		trigger = {
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = planetmoon_RULOC_INST
	}
}

defined_text = {
	name = GetPlanetHabitat_RULOC_PREP
	text = {
		trigger = { is_planet_class = pc_habitat }
		localization_key = habitat_lowercase_RULOC_PREP
	}
	text = {
		trigger = {
			OR = {
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = ringworld_lowercase_RULOC_PREP
	}
	text = {
		trigger = {
			NOR = {
				is_planet_class = pc_habitat
				is_planet_class = pc_ringworld_habitable
				is_planet_class = pc_ringworld_habitable_damaged
				is_planet_class = pc_cybrex
			}
		}
		localization_key = planetmoon_RULOC_PREP
	}
}

defined_text = {
	name = GetGalCommunityOrGalImperium_RULOC_GEN
	text = {
		trigger = { has_galactic_emperor = no }
		localization_key = GALACTIC_COMMUNITY_RULOC_GEN
	}
	text = {
		trigger = { has_galactic_emperor = yes }
		localization_key = GALACTIC_EMPIRE_RULOC_GEN
	}
	default = GALACTIC_COMMUNITY_RULOC_PREP #Fallback
}

defined_text = {
	name = GetGalCommunityOrGalImperium_RULOC_PREP
	text = {
		trigger = { has_galactic_emperor = no }
		localization_key = GALACTIC_COMMUNITY_RULOC_PREP
	}
	text = {
		trigger = { has_galactic_emperor = yes }
		localization_key = GALACTIC_EMPIRE_RULOC_PREP
	}
	default = GALACTIC_COMMUNITY_RULOC_PREP #Fallback
}

defined_text = {
	name = GetResearcherPlural_RULOC_Nom_lower
	text = {
		trigger = {
			is_scope_valid = yes
			is_regular_empire = yes
		}
		localization_key = job_researcher_plural_RULOC_Nom_lower
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_hive_empire = yes
			is_wilderness_empire = no
		}
		localization_key = job_brain_drone_plural_RULOC_Nom_lower
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_wilderness_empire = yes
		}
		localization_key = job_evosymbiont_plural_RULOC_Nom_lower
	}
	text = {
		trigger = {
			is_scope_valid = yes
			is_machine_empire = yes
		}
		localization_key = job_calculator_plural_RULOC_Nom_lower
	}
	default = job_researcher_plural_RULOC_Nom_lower
}

defined_text = {
	name = GetPlanetArkship_RULOC
	text = {
		trigger = {
			is_nomadic = no
		}
		localization_key = "concept_planet_RULOC"
	}
	text = {
		trigger = {
			is_nomadic = yes
		}
		localization_key = "arkship_RULOC"
	}
	default = "concept_planet_RULOC"
}

