scripted_gui = {
	uncoring_button_powers = {
	
		context_type = selected_state_context
		
		window_name = "uncoring_button_powers_container"
		
		visible = {
			is_core_of = ROOT
			is_fully_controlled_by = ROOT
		}
		
		effects = {
			uncreate_core_click = {	
				remove_core_of = FROM
				}
		}
		
		triggers = {
			uncreate_core_click_enabled = {
				is_fully_controlled_by = ROOT
				is_core_of = ROOT
			}
		}
		        
		ai_check = {
			always = no
		}
		
		ai_weights = {
			uncreate_core_click = {
				ai_will_do = {
					factor = 0
				}
			}
		}
	}
}

