#####################################################
# Hawaii Events
#
# scripted by Johan Andersson
#
# id range = 14000-
#
#####################################################

event = {
	id = 14000
	random = no
	country = HAW

	name = "EVT_14000_NAME" # Declaration of rights, both of the people and chiefs.
	desc = "EVT_14000_DESC" #
	style = 0

	date = { month = april year = 1840 }
	offset = 100


	action_a = {
        	name = "OK"
		command = {type = prestige value = 5 }

		command = { type = constitution  which = constitutional_monarchy }
		command = { type = national_value  which = order }
		command = { type = party_system  which = multi_party }
		command = { type = executive_designation which = hms_government }
		command = { type = add_pop which = yankee value = 1 where = 1134 }
	}

}


event = {
	id = 14001
	random = no
	country = HAW

	name = "EVT_14001_NAME" # Japanese Labor
	desc = "EVT_14001_DESC" #
	style = 0

	date = { year = 1885 }
	offset = 300

	action_a = {
        	name = "ACTIONNAME14001A"
		command = { type = add_pop which = japanese value = 1 where = 1134 }
	}
	action_b = {
        	name = "ACTIONNAME14001B"
		command = { type = add_pop which = japanese value = 3 where = 1134 }
		command = { type = pop_militancy which = yankee value = 2 }
		command = { type = local_setflag which = JAPANESE_OK value = 3 }
	}
}


event = {
	id = 14002
	random = no
	country = HAW

	trigger = { NOT = { local_flag = { name = JAPANESE_OK value = 1 } } }

	name = "EVT_14002_NAME" #  Queen Liliuokalani  surrenders to foreign intereests
	desc = "EVT_14002_DESC" #
	style = 0

	date = { year = 1893 }
	offset = 300


	action_a = {
        	name = "ACTIONNAME14002A"
		command = { type = trigger which = 14004 }
	}
	action_b = {
        	name = "ACTIONNAME14002B"
		command = { type = trigger which = 14005 }
	}
	action_c = {
        	name = "ACTIONNAME14003C"
		command = { type = trigger which = 14006 }
	}
	action_d = {
        	name = "ACTIONNAME14004D"
		command = { type = pop_militancy which = yankee value = 3 }
		command = { type = pop_militancy which = japanese value = 3 }
		command = { type = pop_consciousness which = yankee value = 3 }
		command = { type = pop_consciousness which = japanese value = 3 }
	}

}


event = {
	id = 14003
	random = no
	country = HAW

	name = "EVT_14002_NAME" #  Queen Liliuokalani  surrenders to foreign intereests (v2)
	desc = "EVT_14002_DESC" #

	trigger = {  local_flag = { name = JAPANESE_OK value = 1 } }


	date = {year = 1893 }
	offset = 300


	action_a = {
        	name = "ACTIONNAME14003C"
		command = { type = trigger which = 14006 }
	}
	action_b = {
        	name = "ACTIONNAME14004D"
		command = { type = pop_militancy which = yankee value = 3 }
		command = { type = pop_militancy which = japanese value = 3 }
		command = { type = pop_consciousness which = yankee value = 3 }
		command = { type = pop_consciousness which = japanese value = 3 }
	}

}


event = {
	id = 14004
	random = no
	country = USA

	name = "EVT_14004_NAME" # Take Control of Hawaii
	desc = "EVT_14002_DESC" #
	style = 0



	action_a = {
        	name = "ACTIONNAME14004A"
		command = {type = inherit which = HAW }
	}
}

event = {
	id = 14005
	random = no
	country = ENG

	name = "EVT_14004_NAME" # Take Control of Hawaii
	desc = "EVT_14002_DESC" #
	style = 0



	action_a = {
        	name = "ACTIONNAME14005A"
		command = {type = inherit which = HAW }
	}
}

event = {
	id = 14006
	random = no
	country = NIP

	name = "EVT_14004_NAME" # Take Control of Hawaii
	desc = "EVT_14002_DESC" #
	style = 0



	action_a = {
        	name = "ACTIONNAME14006A"
		command = {type = inherit which = HAW }
	}
}



event = {
	id = 14007
	random = no
	province = 1134

	picture = fire

	name = "EVT_14007_NAME" # Great Chinatown fire.
	desc = "EVT_14007_DESC" #
	style = 0

	date = { year = 1899 }
	offset = 1000


	action_a = {
        	name = "ACTIONNAME14007A"
		command = {type = remove_building which = -1 }
		command = {type = remove_building which = -1 }
	}
}



