﻿INJECT:law_presidential_republic = {
	ai_enact_weight_modifier = {
		value = 0
		if = {
			limit = {
				has_journal_entry = je_pedro_republic
			}
			add = 100
		}
		if = {
			limit = {
				c:CHI ?= this
				has_variable = china_warlord_explosion
				var:china_warlord_explosion <= 3
				has_law_or_variant = law_type:law_monarchy
			}
			add = 750
		}
		if = {
			limit = { ai_has_enact_weight_modifier_journal_entries = yes }
			add = 750
		}
	}
}

INJECT:law_parliamentary_republic = {
	ai_enact_weight_modifier = { #Petitions
		value = 0

		if = {
			limit = {
				c:CHI ?= this
				has_variable = china_warlord_explosion
				var:china_warlord_explosion <= 3
				has_law_or_variant = law_type:law_monarchy
			}
			add = 750
		}
		if = {
			limit = { ai_has_enact_weight_modifier_journal_entries = yes }
			add = 750
		}
	}
}

INJECT:law_council_republic = {
	ai_enact_weight_modifier = { #Petitions
		value = 0

		if = {
			limit = {
				c:CHI ?= this
				has_variable = china_warlord_explosion
				var:china_warlord_explosion <= 3
				has_law_or_variant = law_type:law_monarchy
			}
			add = 750
		}
		if = {
			limit = { ai_has_enact_weight_modifier_journal_entries = yes }
			add = 750
		}
	}
}

INJECT:law_corporate_state = {
	ai_enact_weight_modifier = { #Petitions
		value = 0

		if = {
			limit = {
				c:CHI ?= this
				has_variable = china_warlord_explosion
				var:china_warlord_explosion <= 3
				has_law_or_variant = law_type:law_monarchy
			}
			add = 750
		}
		if = {
			limit = { ai_has_enact_weight_modifier_journal_entries = yes }
			add = 750
		}
	}
}
