
on_pop_bombed_to_death = {
	events = {
		planetmega_pk.110
	}
}

#Scope:
# this/root = planet that have been fired upon
# from = fleet that fired
#on_destroy_planet_with_PLANET_DESTRUCTION_COMPONENT = {
#	events = {
#		planet_destruction.1
#	}
#}

# Note: The _queued on_actions also fire when the command is made even if there is nothing else in the queue
# Similarly, the _unqueued on_actions fire even if you cancel the order while the weapon is on the wind-up to fire
# They use the same scopes as the standard events

#vanillas

on_destroy_planet_with_PLANET_KILLER_CRACKER = {
    events = {
        planetmega_pk.120
    }
}

on_destroy_planet_with_PLANET_KILLER_NEUTRON = {
    events = {
        planetmega_pk.120
    }
}

on_destroy_planet_with_PLANET_KILLER_GODRAY = {
    events = {
        planetmega_pk.120
        planetmega_pk.122
    }
}

on_destroy_planet_with_PLANET_KILLER_NANOBOTS = {
    events = {
        planetmega_pk.120
        planetmega_pk.123
    }
}

on_destroy_planet_with_PLANET_KILLER_STAR_CRACKER = {
    events = {
        planetmega_pk.121
    }
}

on_destroy_planet_with_PLANET_KILLER_DELUGE = {
    events = {
        planetmega_pk.120
    }
}

on_destroy_planet_with_PLANET_KILLER_TOXIFIER = {
    events = {
        planetmega_pk.120
    }
}

on_destroy_planet_with_PLANET_KILLER_DEVOLUTION = {
    events = {
        planetmega_pk.120
        planetmega_pk.124
    }
}

on_destroy_planet_with_PLANET_KILLER_MAW = {
    events = {
        planetmega_pk.120
    }
}

#planetmega multifunctional planet killers

on_destroy_planet_with_PLANET_KILLER_PLNT_MULTIFUNC = {
	events = {
		#planetmega_pk.1
		planetmega_pk.3
	}
}

on_destroy_planet_with_PLANET_KILLER_PLNT_MULTIFUNC_queued = {
	events = {
		fircon.5035 #Solarpunk Planet queued
	}
}

on_destroy_planet_with_PLANET_KILLER_SYS_MULTIFUNC = {
	events = {
		#planetmega_pk.1
		planetmega_pk.4
	}
}

on_destroy_planet_with_PLANET_KILLER_SYS_MULTIFUNC_queued = {
	events = {
		fircon.5035 #Solarpunk Planet queued
	}
}

#planetmega advanced planet killers

on_destroy_planet_with_PLANET_KILLER_PLNMG_MIND_INTEGRATOR = {
	events = {
		planetmega_pk.90
	}
}

on_destroy_planet_with_PLANET_KILLER_PLNMG_MIND_INTEGRATOR_queued = {
	events = {
		fircon.5035
	}
}

on_destroy_planet_with_PLANET_KILLER_PLNMG_MIND_VANILLA = {
	events = {
		planetmega_pk.90
	}
}

on_destroy_planet_with_PLANET_KILLER_PLNMG_MIND_VANILLA_queued = {
	events = {
		fircon.5035
	}
}

on_destroy_planet_with_PLANET_KILLER_PLNMG_BRAIN_MERGER = {
	events = {
		planetmega_pk.90
	}
}

on_destroy_planet_with_PLANET_KILLER_PLNMG_BRAIN_MERGER_queued = {
	events = {
		fircon.5035
	}
}

on_destroy_planet_with_PLANET_KILLER_PLNMG_BRAIN_VANILLA = {
	events = {
		planetmega_pk.90
	}
}

on_destroy_planet_with_PLANET_KILLER_PLNMG_BRAIN_VANILLA_queued = {
	events = {
		fircon.5035
	}
}
