# Turns an owned, non-colonized, non-gas giant planet into a molten world, and adds +4 minerals
decision_xt_extraction_3 = {
    owned_planets_only = no
	icon = decision_xt_extraction_3
	resources = {
		category = decisions
		cost = {
			energy = 10000
			volatile_motes = 200
			influence = 50

		}
	}
	potential = {
		exists = from
		from = {
			has_tradition = tr_xt_extraction_3
		}
		exists = space_owner
		space_owner = { is_same_value = from }
		is_star = no
		is_astral_scar = no
		is_artificial = no
		is_ringworld = no
		is_asteroid = no
		is_colony = no
		is_a_planet = yes
		nor = {
			is_planet_class = pc_broken
			is_planet_class = pc_gas_giant
			is_planet_class = pc_molten

		}
	}
	
	effect = {
		play_sound = distance_planet_killer_fire_layer_1
		play_sound = distance_planet_killer_hit_layer_1
		change_pc = pc_molten
		clear_deposits = yes
		add_deposit = d_xt_extraction_3
		create_mining_station = {
			owner = space_owner
		}
		set_planet_flag = xt_extraction_3_done
	}
}
decision_xt_consumerism_4 = {
	resources = {
		category = decisions
		cost = {
			unity = 100
		}
	}
	owned_planets_only = yes
	icon = decision_xt_consumerism_4
	potential = {
		has_planet_flag = xt_has_crafting_heritage
	}
	effect = {
		play_sound = event_construction
		custom_tooltip = decision_xt_consumerism_4_effects
		hidden_effect = {
			remove_planet_flag = xt_has_crafting_heritage
			remove_modifier = xt_consumerism_a
			remove_modifier = xt_consumerism_b
			remove_modifier = xt_consumerism_c
			remove_modifier = xt_consumerism_d
			remove_modifier = xt_consumerism_e
			remove_modifier = xt_consumerism_f
			remove_modifier = xt_consumerism_g
			remove_modifier = xt_consumerism_h
			remove_modifier = xt_consumerism_i
			planet_event = { id = xt.27}
		}
	}
}