namespace = est_commerce

### COMMERCE ###

#Commerce 1, bonus if positive energy gain.
country_event = {
	id = est_commerce.1
	hide_window = yes
	is_triggered_only = yes
	
	trigger = {
		has_active_tradition = tr_est_commerce_1
	}

	immediate = {
		if = {
			limit = {
				running_balance > 0				
			}
			if = {
				limit = {
					Not = {
						has_modifier = mod_est_commerce_1
					}
				}
				add_modifier = {
					modifier = "mod_est_commerce_1"
					days = -1
				}
			}
		}
		else = {
			if = {
				limit = {
					has_modifier = mod_est_commerce_1
				}
				remove_modifier = "mod_est_commerce_1"
			}		
		}
	}
}

