# planet killer
opinion_plnmg_absorbed_a_world = {
	opinion = {
		base = -40
	}

	accumulative = yes

	min = -300

	decay = {
		base = 1.5
	}
}

opinion_plnmg_absorbed_a_world_sustainable = {
	opinion = {
		base = -20
	}

	accumulative = yes

	min = -200

	decay = {
		base = 2
	}
}

opinion_plnmg_absorbed_my_world = {
	opinion = {
		base = -200
	}

	accumulative = yes

	min = -2000

	decay = {
		base = 1.5
	}
}

opinion_plnmg_absorbed_my_world_sustainable = {
	opinion = {
		base = -100
	}

	accumulative = yes

	min = -1500

	decay = {
		base = 2
	}
}

opinion_plnmg_absorbed_a_primitive_world = {
	opinion = {
		base = -20
	}

	accumulative = yes

	min = -100

	decay = {
		base = 2
	}
}

opinion_plnmg_absorbed_a_primitive_world_phile = {
	opinion = {
		base = -30
	}

	accumulative = yes

	min = -200

	decay = {
		base = 2
	}
}

opinion_plnmg_raided_pop = {
	opinion = {
		base = -1
		modifier = {
			mult = 2
			is_xenophobe = yes
			owner_main_species = { is_same_value = from.owner_main_species }
		}
		modifier = {
			mult = 3
			or = {
				is_authoritarian = yes
				is_militarist = yes
				and = {
					is_xenophobe = yes
					owner_main_species = { not = { is_same_value = from.owner_main_species } }
				}
			}
		}
		modifier = {
			mult = 10
			is_gestalt = yes
		}
	}

	accumulative = yes
	min = -500

	decay = {
		base = 2
		modifier = {
			mult = 5
			is_improving_relations_with = from
			from = { is_improving_relations_with = prev }
			opinion_level = { who = from level > neutral }
		}
		modifier = {
			mult = 0.5
			or = {
				is_harming_relations_with = from
				from = { is_harming_relations_with = prev }
			}
		}
		modifier = {
			mult = 0.5
			opinion_level = { who = from level < neutral }
		}
	}
}

# expedition inside galaxy
opinion_plnmg_fuss = {
	opinion = {
		base = -10
	}
	accumulative = yes
	min = -100
	decay = {
		base = 5
	}
}
opinion_plnmg_ruler_raided = {
	opinion = {
		base = -150
	}
	accumulative = yes
	min = -500
	decay = {
		base = 1
	}
}
opinion_plnmg_ruler_raided_long = {
	opinion = {
		base = -350
	}
	accumulative = yes
	min = -1000
	#decay = {
	#	base = 1
	#}
}

opinion_plnmg_sabotage_deficit = {
	opinion = { base = -180 }
	accumulative = yes
	decay = { base = 1 }
}

opinion_plnmg_tms_cap = {
    opinion = { base = 100 }
    unique = yes
    accumulative = no
    decay = {
        base = 33.34
        modifier = { factor = value:positive_opinion_decay_rate }
    }
}
opinion_plnmg_tms_sec_cap = {
    opinion = { base = 25 }
    unique = no
    accumulative = yes
    decay = {
        base = 4.17
        modifier = { factor = value:positive_opinion_decay_rate }
    }
}
opinion_plnmg_tms_reg_plnt = {
    opinion = { base = 5 }
    unique = no
    accumulative = yes
    decay = {
        base = 0.42
        modifier = { factor = value:positive_opinion_decay_rate }
    }
}

opinion_plnmg_ca_excavator = {
	opinion = { base = -100 }
	accumulative = yes
	min = -1000
	decay = {
		base = 2
		modifier = { factor = value:negative_opinion_decay_rate }
	}
}
