Glory Devices, when set off, do damage to all ships and planets at the same location.

Damage_done_to_ship =
   Trunc(Trunc(100 * MineHitDamageFor100KT / Hull_mass) / DF)
   ...with
      DF = 10  for GloryDeviceLowDamage (the advanced version),
      DF = 5   for GloryDeviceHighDamage (the simple version)

Supplies_added_to_planet =
   Trunc(Native_clans / 10)
                     ...if natives are Amorphous
   0                 ...otherwise

Native_clans_survived =
   0                 ...if natives are Amorphous
   Native_clans      ...if natives are Bovinoid or Reptilian
   Trunc(0.6 * Native_clans)
                     ...otherwise

Colonist_clans_survived =
   Colonist_clans    ...if colonists are Lizard or Crystal
   Trunc(0.6 * Colonist_clans)
                     ...otherwise

Mines_remaining =
   Trunc(0.75 * Mines)

Factories_remaining =
   Trunc(0.75 * Factories)

Defense_posts_remaining =
   Trunc(0.75 * Defense_posts)
This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.