Glory Devices, when set off, do damage to all ships and planets at the same location. The Glory Device ship itself will explode and thus be destroyed.

Damage_done_to_ship =
   Trunc(Trunc(100 * MineHitDamageFor100KT / Hull_mass) / DF)
   ...with
      DF = 10  ...if it's a GloryDeviceLowDamage (the advanced version),
                  and ship owned by same player as glory device
                      or players are allied, and GD player offers ship and combat level
      DF = 5   ...if it's a GloryDeviceHighDamage (the simple version)
                  and ship owned by same player as glory device
                      or players are allied, and GD player offers ship and combat level
      DF = 1   ...otherwise

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)