
warrior_lodge_amazonian = {
	primary_attribute = martial
	opinion_to_other_members = +20
	opinion_per_rank_above = +10
	society_rank_up_decision = request_to_rank_up_within_society
	sound = assassins_interface
	society_ranks_gfx = warriors_ranks
	is_religious = no
	society_influence = no
	
	non_interference = {
		always = yes
	}
    
	active = {
		has_dlc = "Holy Fury"
		has_global_flag = flag_started_warrior_lodge_amazonian
	}
	
	indestructible = yes
	
	can_join_society = {
		hidden_trigger = {
			OR = {
				NAND = {			# players can join even if society full
					ai = yes
					is_society_rank_full = { 	
						society = warrior_lodge_amazonian
						rank = 1
					}
				}
				OR = {				# anyone can join society if 
					NOT = {			# not at membership limit
						is_society_rank_full = { 
							society = warrior_lodge_amazonian
							rank = 1
						}
					}
					any_close_relative = {		# nepotism
						society_member_of = warrior_lodge_amazonian
					}
					any_dynasty_member_even_if_dead = {		# more nepotism
						society_member_of = warrior_lodge_amazonian
					}
					any_friend = {		# even more nepotism
						society_member_of = warrior_lodge_amazonian
					}
					guardian = {		# even more nepotism yet again
						society_member_of = warrior_lodge_amazonian
					}
					martial = 24		# exceptional skill 
				}
			}
			NOR = { 
				any_liege = {
					trait = giant_king 
				}
				has_character_modifier = gallu_warrior_modifier
				has_character_modifier = gallu_withdrawal_modifier
				religion = anunnaki
			}
			OR = {
				NOT = { has_global_flag = ishtarian_hall_of_heroines_flag }
				AND = {
					religion = ishtarian 
					has_global_flag = ishtarian_hall_of_heroines_flag 
				}
			}
		}
		hidden_trigger = {
			NOT = { has_character_flag = society_join_block }
			NOT = { has_character_flag = warrior_lodge_amazonian_exile }
		}
		trigger_if = {
			limit = { prisoner = yes }
			prisoner = no
		}
		is_female = yes
		martial = 16
		age = 13
		OR = {			# shieldmaiden qualities
			trait = brave
			trait = proud
			trait = ambitious
			trait = honest
			trait = diligent 
			trait = just
			trait = gregarious
			trait = amazonian_leader	# Heroine	
		}
		NOR = { 
			trait = incapable 
			trait = imbecile
			trait = inbred
		}
	}

	show_society = {
		is_female = yes
		NOT = { has_character_flag = warrior_lodge_amazonian_exile }
		NOR = { 
			any_liege = {
				trait = giant_king 
			}
			has_character_modifier = gallu_warrior_modifier
			has_character_modifier = gallu_withdrawal_modifier
			religion = anunnaki
		}
		OR = {
			NOT = { has_global_flag = ishtarian_hall_of_heroines_flag }
			AND = {
				religion = ishtarian 
				has_global_flag = ishtarian_hall_of_heroines_flag 
			}
		}
	}

	potential = {
		is_female = yes
		NOT = { religion = anunnaki }		# not a hard religious society (yet) but they draw the line here
		OR = {
			NOT = { has_global_flag = ishtarian_hall_of_heroines_flag }
			AND = {
				religion = ishtarian 
				has_global_flag = ishtarian_hall_of_heroines_flag 
			}
		}
	}

	society_rank = { #Initiate
		level = 1
		limit = 32 
		startup_limit = 10
		modifier = {
			monthly_character_prestige = 0.25
		}
		decisions = {
			amazonian_shieldmaiden_oath
		}
	}
	
	society_rank = { #Shield-Sister
		level = 2
		limit = 20
		startup_limit = 6
		modifier = {
			monthly_character_prestige = 0.5
			combat_rating = 5
			martial = 1
		}
		decisions = {
			amazonian_unit_specialisation
			summon_lodge_shieldmaiden
		}
	}
	
	society_rank = { #Warmaiden
		level = 3
		limit = 12 
		startup_limit = 4
		modifier = {
			monthly_character_prestige = 0.75
			combat_rating = 10
			martial = 2
		}
		decisions = {
			take_lodge_trait
			study_martial_education
			summon_amazonian_horde
		}
	}

	society_rank = { #Heroine
		level = 4
		limit = 8
		startup_limit = 1
		modifier = { 
			monthly_character_prestige = 1
			combat_rating = 15
			martial = 3
		}
		decisions = {
			take_amazonian_leadership_trait
			commission_heroine_gear
			begin_legendary_quest
		}
	}

	plots = {
	
	}

	monthly_currency_gain = {
		name = currency_name_warrior_lodge_amazonian
    	
		per_attribute = {
			name = martial
			value = 0.25
		}
		has_trait = {
			trait = hunter
			value = 1
		}
		has_trait = {
			trait = strategist
			value = 1
		}
		has_trait = {
			trait = duelist
			value = 1
		}
		has_trait = {
			trait = scarred
			value = 1
		}
		has_trait = {
			trait = scarred_mid
			value = 2
		}
		has_trait = {
			trait = scarred_high
			value = 3
		}
		has_trait = {
			trait = genius
			value = 1
		}
		has_trait = {
			trait = quick
			value = 1
		}
		has_trait = {
			trait = shrewd
			value = 1
		}
		has_trait = {
			trait = strong
			value = 3
		}
		has_trait = {
			trait = robust
			value = 2
		}
		has_trait = {
			trait = giant
			value = 2
		}
		has_trait = {
			trait = impaler
			value = 1
		}
		has_trait = {
			trait = falconer
			value = 1
		}
		has_trait = {
			trait = wroth
			value = 1
		}
		has_trait = {
			trait = proud
			value = 2
		}
		has_trait = {
			trait = patient
			value = 1
		}
		has_trait = {
			trait = diligent
			value = 2
		}
		has_trait = {
			trait = just
			value = 2
		}
		has_trait = {
			trait = gregarious
			value = 2
		}
		has_trait = {
			trait = humble
			value = 1
		}
		has_trait = {
			trait = brave
			value = 2
		}
		has_trait = {
			trait = ambitious
			value = 2
		}
		has_trait = {
			trait = cruel
			value = 1
		}
		has_trait = {
			trait = adventurer
			value = 1
		}
		has_trait = {
			trait = viking
			value = 1
		}
		has_trait = {
			trait = pirate
			value = 1
		}
		has_trait = {
			trait = ravager
			value = 2
		}
		has_trait = {
			trait = sea_queen
			value = 3
		}
		has_trait = {
			trait = shieldmaiden
			value = 1
		}
		has_trait = {
			trait = is_amazonian
			value = 2
		}
		has_trait = {
			trait = is_amazonian_immortal
			value = 3
		}
		has_trait = {
			trait = amazonian_leader
			value = 3
		}
		has_trait = {
			trait = berserker
			value = 1
		}
		has_trait = {
			trait = varangian
			value = 1
		}
		has_trait = {
			trait = valhalla_bound
			value = 1
		}
		has_trait = {
			trait = eagle_warrior
			value = 1
		}
		has_trait = {
			trait = sun_warrior
			value = 1
		}
		has_trait = {
			trait = ukkos_shield
			value = 1
		}
		has_trait = {
			trait = nyames_shield
			value = 1
		}
		has_trait = {
			trait = peruns_chosen
			value = 1
		}
		has_trait = {
			trait = romuvas_own
			value = 1
		}
		has_trait = {
			trait = ares_own
			value = 1
		}
		has_trait = {
			trait = tengri_warrior
			value = 1
		}
		#NEGATIVE modifiers
		has_trait = {
			trait = craven
			value = -2
		}
		has_trait = {
			trait = weak
			value = -2
		}
		has_trait = {
			trait = feeble
			value = -1
		}
		has_trait = {
			trait = slothful
			value = -2
		}
		has_trait = {
			trait = content
			value = -2
		}
		has_trait = {
			trait = shy
			value = -1
		}
	}
	
	member_score_per_attribute = 3
	member_score_per_rank = 100

	member_score = {
		value = 10

		#POSITIVE modifiers
		modifier = {
			trait = hunter
			factor = 1.3
		}
		modifier = {
			trait = strategist
			factor = 1.5
		}
		modifier = {
			trait = duelist
			factor = 1.5
		}
		modifier = {
			trait = misguided_warrior
			factor = 1.1
		}	
		modifier = {
			trait = tough_soldier
			factor = 1.2
		}
    	modifier = {
			trait = skilled_tactician
			factor = 1.4
		}
    	modifier = {
			trait = brilliant_strategist
			factor = 1.6
		}
    	modifier = {
			trait = scarred
			factor = 1.1
		}
		modifier = {
			trait = one_eyed
			factor = 1.1
		}
		modifier = {
			trait = genius
			factor = 1.2
		}
		modifier = {
			trait = quick
			factor = 1.1
		}
		modifier = {
			trait = shrewd
			factor = 1.1
		}
		modifier = {
			trait = strong
			factor = 1.2
		}
		modifier = {
			trait = robust
			factor = 1.1
		}
		modifier = {
			trait = giant
			factor = 1.1
		}
		modifier = {
			trait = impaler
			factor = 1.1
		}
		modifier = {
			trait = falconer
			factor = 1.1
		}
		modifier = {
			trait = wroth
			factor = 1.1
		}
		modifier = {
			trait = proud
			factor = 1.1
		}
		modifier = {
			trait = patient
			factor = 1.1
		}
		modifier = {
			trait = diligent
			factor = 1.1
		}
		modifier = {
			trait = humble
			factor = 1.1
		}
		modifier = {
			trait = brave
			factor = 1.2
		}
		modifier = {
			trait = ambitious
			factor = 1.1
		}
		modifier = {
			trait = cruel
			factor = 1.1
		}
		modifier = {
			trait = stubborn
			factor = 1.1
		}
		modifier = {
			trait = adventurer
			factor = 1.1
		}
		modifier = {
			trait = viking
			factor = 1.1
		}
		modifier = {
			trait = pirate
			factor = 1.1
		}
		modifier = {
			trait = ravager
			factor = 1.1
		}
		modifier = {
			trait = seaking
			factor = 1.1
		}
		modifier = {
			trait = sea_queen
			factor = 1.1
		}
		modifier = {
			trait = shieldmaiden
			factor = 1.1
		}
		modifier = {
			trait = is_amazonian
			factor = 1.2
		}
		modifier = {
			trait = is_amazonian_immortal
			factor = 1.5
		}
		modifier = {
			trait = berserker
			factor = 1.1
		}
		modifier = {
			trait = varangian
			factor = 1.1
		}
		modifier = {
			trait = ares_own
			factor = 1.1
		}
		#NEGATIVE modifiers
		modifier = {
			trait = craven
			factor = 0.8
		}
		modifier = {
			trait = weak
			factor = 0.8
		}
		modifier = {
			trait = feeble
			factor = 0.8
		}
		modifier = {
			trait = slothful
			factor = 0.9
		}
		modifier = {
			trait = content
			factor = 0.9
		}
	}	

#	startup_populate = {
#	    trigger = {
#			ai = yes
#	    	controls_religion = no
#			is_adult = yes
#			is_female = yes
#			is_in_society = no
#			AND = {
#				martial = 16
#				duelist_skill_is_medium_group_trigger = yes
#			}
#		}
#	}
}