# Insult another character... in rhyme!

namespace = insult_poetry


#Base event structure
insult_poetry.0001 = {
	type = character_event
	title = insult_poetry.0001.t
	orphan = yes
	desc = {
		triggered_desc = {
			trigger = {
				scope:actor != scope:recipient
			}
			desc = insult_poetry.0001.from_other
		}
		random_valid = {
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:a }
				desc = insult_poetry_line_1_a_01
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:a }
				desc = insult_poetry_line_1_a_02
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:b }
				desc = insult_poetry_line_1_b_01
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:b }
				desc = insult_poetry_line_1_b_02
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:c }
				desc = insult_poetry_line_1_c_01
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:c }
				desc = insult_poetry_line_1_c_02
			}
		}
		random_valid = {
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:a }
				desc = insult_poetry_line_2_a_01
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:a }
				desc = insult_poetry_line_2_a_02
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:b }
				desc = insult_poetry_line_2_b_01
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:b }
				desc = insult_poetry_line_2_b_02
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:c }
				desc = insult_poetry_line_2_c_01
			}
			triggered_desc = {
				trigger = { scope:rhyme_group = flag:c }
				desc = insult_poetry_line_2_c_02
			}
		}
	}
	theme = learning
	left_portrait = {
		character = scope:actor
		animation = schadenfreude
	}

	immediate = {
		random_list = {
			1 = {
				save_scope_value_as = {
					name = rhyme_group
					value = flag:a
				}
			}
			1 = {
				save_scope_value_as = {
					name = rhyme_group
					value = flag:b
				}
			}
			1 = {
				save_scope_value_as = {
					name = rhyme_group
					value = flag:c
				}
			}
		}
	}

	option = {
		name = insult_poetry.0001.a
		
	}
}
