• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ShadowDragon868

Captain
61 Badges
Jun 11, 2012
395
431
  • Crusader Kings II
  • A Game of Dwarves
  • Stellaris: Synthetic Dawn
  • Stellaris: Lithoids
  • Age of Wonders III
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Steel Division: Normandy 44 -  Back to Hell
  • BATTLETECH - Digital Deluxe Edition
  • BATTLETECH - Beta Backer
  • BATTLETECH - Backer
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Surviving Mars: First Colony Edition
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Knights of Pen and Paper 2
  • Battle for Bosporus
  • Stellaris: Federations
  • Hearts of Iron 4: Arms Against Tyranny
  • Stellaris: Nemesis
  • Crusader Kings III
  • Hearts of Iron IV: La Resistance
  • Knights of Pen and Paper +1 Edition
  • Hearts of Iron IV: By Blood Alone
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Stellaris: Necroids
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • BATTLETECH
Stellar Energy on Steam.


Did you ever find it annoying how stars and gas giants give you a pittance of energy, if that?

I did. Stars are giant balls of fusion, and gas giants are humongous sources of energy in their own right. That's why I made this mod (with a lot of help from AlphaAsh - thanks for kicking some knowledge into my brainsocket!)


This mod makes stars and gas giants HUMONGOUS sources of energy! Stars will range from 5 energy (common drop for a Red Dwarf) to 14 (Rarest drop for a B-type.) Gas giants (which the game does not give me sufficient granularity to seperate into Sub-Jovian, Jovian, and Superjovian,) will yield between 2 and 6 energy, heavily weighted towards 4.

This mod does not replace any files; as such, it should be fully compatible with anything else. However, because it does not replace 00_deposits.txt, there is a chance that the original deposits will come up instead of a Stellar Energy deposit. I can't really change this without an override, however, so I felt it better to err on the case of compatibility.

The way I see it if an original draw comes up: just assume in such cases that environmental factors unique to the star in question either prevented energy harvesting, greatly cut down on energy harvesting, or made the science too good to pass up for mere energy harvesting.



Do beware: especially in the early game, it will be very easy to ignore ground-based energy collectors in favor of entirely relying on stellar energy. This is perfectly valid, right up until some mean old mother-hubbard sails into your space with a raiding fleet and starts blowing your massive solar panel networks out of stars' orbits. I leave it to you to decide how (or if) to protect your stellar energy resources. Maybe it would be a good reason to invest early in defense platforms, if only to protect your power platforms from pi-rats.
 
  • 2
  • 1
Reactions:
I like the thought behind it, but does it mean a single mining station will potentially provide 14 energy? It sounds rather unbalanced.

Do you think it'd be possible to have some sort of upgradeable stations where to reach the optimal energy production you need both new techs and several upgrades to the stations?
 
I like the thought behind it, but does it mean a single mining station will potentially provide 14 energy? It sounds rather unbalanced.

Do you think it'd be possible to have some sort of upgradeable stations where to reach the optimal energy production you need both new techs and several upgrades to the stations?

I don't know. Honestly, I would prefer that, but in the further interest of honesty?

Given the choice between brain-draining verisimilitude-violating situations where the most powerful star in the galaxy only generates 4 energy, and a fully-upgraded power station next to an empire capital, an energy adjacency building and with a fully-upgraded energy hub can be generating 14...

I went with imbalanced but verisimilitudinal, and I do not regret it. Besides, EC are like, the least useful currency in this game, it's not like you can spend energy to rush-build things like you can spend credits to rush-build in most 4x games.

Plus, while having metric gigatons of cheap energy is really handy, if you get complacent and base your entire energy economy in the stars, you're one raiding party away from facing an energy crisis.
 
True enough I suppose, but their name is "Energy Credits" the latter part, Credits, signify that it is in fact a type of money. That also fits that slaves are bad at collecting them which wouldn't make sense if it was indeed just a bunch of power plants.

So I view it as a mix of commerce and energy. I'd still enjoy the opportunity to build up industry around collecting solar energy however.

Without upgradeable stations I'd prefer it was just a guaranteed 2-6 energy for every star.
 
  • 2
Reactions:
True enough I suppose, but their name is "Energy Credits" the latter part, Credits, signify that it is in fact a type of money. That also fits that slaves are bad at collecting them which wouldn't make sense if it was indeed just a bunch of power plants.

So I view it as a mix of commerce and energy. I'd still enjoy the opportunity to build up industry around collecting solar energy however.

Without upgradeable stations I'd prefer it was just a guaranteed 2-6 energy for every star.

Personally, I'd just view that as slave labor being a really bad choice for running freaking power plants. I mean, really, you can make slaves do dumb labor like work mines by hand easily enough, but power plants are immensely technical things that respond very poorly to sabotage. So if you have slaves running it, that means you need to be constantly vigilant for sabotage, because the consequences of not watching them like hawks involve reactor meltdowns/containment breaches and the like.

And yeah, see, the thing is... Energy is currency. Which means that the more of it you produce, the richer you are, in any kind of space-based society. On the levels of energy we're talking about in Stellaris, frankly, being financially wealthy is unimportant, because what matters is what you can actually buy with that wealth: and you can't really buy minerals internally, because your empire is already going all-out on exploiting what minerals it can.
 
Well I mostly agree, but it just doesn't make much sense to me that a huge region of a planet is just densely populated with powerplants, I guess I just prefer to view it as commerce backed up by energy, so a sort of mix. Basically cities.

Also robots/droids also do poorly at making energy credits and that doesn't signal any safety issues. Maybe the robots are too stupid to do it well but the droids should be able to do it flawlessly.
 
Energy credits strike me as not being about raw amounts of energy but how usable that energy is. For instance in 2016, a joule of energy from oil is worth a lot more then a joule of energy from coal.
 
Energy credits strike me as not being about raw amounts of energy but how usable that energy is. For instance in 2016, a joule of energy from oil is worth a lot more then a joule of energy from coal.

This is true, but Stellaris starts in 2200, not 2016. I'm presuming that to be capable of running an interstellar empire, they absolutely must have some easy portability of energy. In-system, that would take the form of massive microwave energy transmission networks, while between systems, they either use some kind of hyperdense power accumulators, or just outsource the actual manufacturing to where the energy is. So that "Mining" station orbiting a star may not just be a power station, it might be a gigantic xbox-huge factory/refinery taking raw ores/processed materials and turning them into finished goods.
 
I'm presuming that to be capable of running an interstellar empire, they absolutely must have some easy portability of energy..

Interplanetary energy might be transmittable but what about interstellar. If you have uranium you can put that on a spaceship and use it anywhere.
 
Interplanetary energy might be transmittable but what about interstellar. If you have uranium you can put that on a spaceship and use it anywhere.

I already answered those questions above: They certainly could be using supercapacitors on freighters as one way of transporting energy, or they could be shipping materials to the places with energy to be manufactured there and sent on to their final destination. Of course, energy coming out of a ground planet certainly could be in the form of fissile materials, just as I'm presuming that energy coming out of a gas giant is in the form of He3 and hydrogen, both of which are pretty portable, especially if they're compressing those to metallic forms. (The only real way for "Chemical thrusters" to be able to push a ship across a solar system as fast as these ships do, without needing to refuel, would be metallic hydrogen rockets.)
 
I already answered those questions above: They certainly could be using supercapacitors on freighters as one way of transporting energy, or they could be shipping materials to the places with energy to be manufactured there and sent on to their final destination.


Sure they can but then you have the expense of making those super capacitors. I'm not saying anything is impossible, I'm saying that they might not be economically ideal.
 
Last edited:
Then why are some stars, chosen at random, economically viable?

No, I don't buy it. Stars are monumental energy sources.
I agree, they have massive amounts of energy, which translates to money. They don't translate at a good ratio though, if it's to feel right then you should have to invest loads of resources into harnessing that power.

I wouldn't be opposed to making the suns have a guaranteed energy value, if it's somewhat lowish though. Like 2-6. That by itself is quite the difference considering how many systems you can build the stations in.
 
Eh, I might make a toned-down version, but frankly, I feel that you should be able to get a good Betharian power plant's worth out of a freaking star. Sadly, there's no way to require advancing the power station and building it up/teching it up.
 
So, I had a goof. When I first made this mod, I didn't take into account the fact that strategic and terraforming resources spawned on gas giants and stars, and as a consequence, made some of them astonishingly rare in the galaxy.

That has been corrected, the mod has been updated, unfortunately, you're going to have to generate a new map by starting a new game to see the changes.
1: Every gas giant now spawns with Terraforming gasses.
2: Gas Giants with Lythuric gasses are 1/2 as likely to spawn as a normal gas giant, if in the Lythuric cluster.
3: Gas Giants with Satramene are 1/10th as likely to spawn as a normal gas giant if in a system with a G-, K- or F-Type Star; else, they are 1/40th as likely.
4: Zro is 1/2 as likely as a non-Zro gas giant, if you're in a nebula Otherwise it does not spawn.
5: Pulsars and Neutron Stars will now always yield Neutronium.
6: Black Holes now always yield Dark Matter.
 
One thing I found when playing around with a similar concept is that increased availability of stellar resources works really well with decreased frequency of habitable worlds. Basically is changes the game from planet focused to system focused and, as you mentioned, makes you very vulnerable to raiding (which is one thing the AI is actually half-way decent at). It also significantly increases your demand for influence to support more outposts which will be needed since you have fewer planets to expand your borders.

And the way you did this works great for compatibility so thanks for that, plugged right in on-top of my mod that makes all asteroids have resources (IMO, what else is the point of a few big rocks in a field of little rocks if the big rocks aren't always useful?)
 
Can someone who's a better code monkey than I give me a hand?

I changed Stellar Energy when it was pointed out that no terraforming gasses or gas-giant related strategic resources were spawning. Now, though, no energy deposits are spawning on stars. The thing is, I didn't actually touch the entry for the stars. I'm stumped: can someone look over this mess with a fresh set of eyes and see if I've done goofed the formatting and FUBAR'd it somewhere?

Code:
# Possible Deposit Variables
# modifier - weight, will replace the weight value
# modifier - factor, will multiply the weight value
# resources, resource and amount
# station = station class in orbit to gather
# if you mix resources that are not supposed to be collected by an orbital station remember to put is_orbital_slot = no


##################################
######### Stellar Energy #########
##################################
# The idea behind this is that ALL Stars and Gas Giants should be good energy sources.
# Seriously, those things are like, humongous energy sources!
## They should (mostly) outstrip even the largest planet-bound conventional reactors by a goodly margin!
# Yes, I know that Saturnine is a narrow word meaning "Of or relating to the gas giant Saturn"
## I was unable to find a more broad term; arguably Jovian, but that's really as narrow and refers to Jupiter.
## So I decided that I liked the planet Saturn more than the planet Jupiter.

################
## Gas Giants ##
################
## I would separate these if I could, separating them by Jovian/Superjovian/Subjovian, but since I can't...
## I took the simple way out: EVERY gas giant now yields terraforming gasses.

sd_saturnine_energy_two = {
  resources = {
  energy = 2
  sr_terraform_gases = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {   is_planet_class = pc_gas_giant   }
  }
  }
}

sd_saturnine_energy_three = {
  resources = {
  energy = 3
  sr_terraform_gases = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {   is_planet_class = pc_gas_giant   }
  }
  }
}

sd_saturnine_energy_four = {
  resources = {
  energy = 4
  sr_terraform_gases = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 10000
  planet = {   is_planet_class = pc_gas_giant   }
  }
  }
}

sd_saturnine_energy_five = {
  resources = {
  energy = 5
  sr_terraform_gases = 1}
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {   is_planet_class = pc_gas_giant   }
  }
  }
}

sd_saturnine_energy_six = {
  resources = {
  energy = 6
  sr_terraform_gases = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {   is_planet_class = pc_gas_giant   }
  }
  }
}

##############
## LYTHURIC ##
##############
# Lythuric is 1/2 as likely as a normal gas giant, if in the Lythuric gas cluster.

sd_saturnine_energy_two_lythuric = {
  resources = {
  energy = 2
  sr_terraform_gases = 1
  sr_lythuric = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
       factor = 2
       planet = {
         is_inside_nebula = yes
       }
     }
   modifier = {
       factor = 0
       planet = {
         NOT = { is_in_cluster = resource_cluster_1 }
       }
     }
  }
}

sd_saturnine_energy_three_lythuric = {
  resources = {
  energy = 3
  sr_terraform_gases = 1
  sr_lythuric = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
       factor = 2
       planet = {
         is_inside_nebula = yes
       }
     }
   modifier = {
       factor = 0
       planet = {
         NOT = { is_in_cluster = resource_cluster_1 }
       }
     }
  }
}

sd_saturnine_energy_four_lythuric = {
  resources = {
  energy = 4
  sr_terraform_gases = 1
  sr_lythuric = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
       factor = 2
       planet = {
         is_inside_nebula = yes
       }
     }
   modifier = {
       factor = 0
       planet = {
         NOT = { is_in_cluster = resource_cluster_1 }
       }
     }
  }
}

sd_saturnine_energy_five_lythuric = {
  resources = {
  energy = 5
  sr_terraform_gases = 1
  sr_lythuric = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
       factor = 2
       planet = {
         is_inside_nebula = yes
       }
     }
   modifier = {
       factor = 0
       planet = {
         NOT = { is_in_cluster = resource_cluster_1 }
       }
     }
  }
}

sd_saturnine_energy_six_lythuric = {
  resources = {
  energy = 6
  sr_terraform_gases = 1
  sr_lythuric = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 625
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
       factor = 2
       planet = {
         is_inside_nebula = yes
       }
     }
   modifier = {
       factor = 0
       planet = {
         NOT = { is_in_cluster = resource_cluster_1 }
       }
     }
  }
}

###############
## SATRAMENE ##
###############
# Satramene deposits are 1/10th as likely as a normal gas giant with a g, k or f-class star, but only
# 1/40th as likely elsewhere.

sd_saturnine_energy_two_satramene = {
  resources = {
  energy = 2
  sr_terraform_gases = 1
  sr_satramene = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 250
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
     factor = 0.25
     solar_system = {
       NOT =  {
         OR = {
           is_star_class = sc_g
           is_star_class = sc_k
           is_star_class = sc_f
         }
       }
     }
   }
  }
}

sd_saturnine_energy_three_satramene = {
  resources = {
  energy = 3
  sr_terraform_gases = 1
  sr_satramene = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 500
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
     factor = 0.25
     solar_system = {
       NOT =  {
         OR = {
           is_star_class = sc_g
           is_star_class = sc_k
           is_star_class = sc_f
         }
       }
     }
   }
  }
}

sd_saturnine_energy_four_satramene = {
  resources = {
  energy = 4
  sr_terraform_gases = 1
  sr_satramene = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1000
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
     factor = 0.25
     solar_system = {
       NOT =  {
         OR = {
           is_star_class = sc_g
           is_star_class = sc_k
           is_star_class = sc_f
         }
       }
     }
   }
  }
}

sd_saturnine_energy_five_satramene = {
  resources = {
  energy = 5
  sr_terraform_gases = 1
  sr_satramene = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 250
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
     factor = 0.25
     solar_system = {
       NOT =  {
         OR = {
           is_star_class = sc_g
           is_star_class = sc_k
           is_star_class = sc_f
         }
       }
     }
   }
  }
}

sd_saturnine_energy_six_satramene = {
  resources = {
  energy = 6
  sr_terraform_gases = 1
  sr_satramene = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 125
  planet = {   is_planet_class = pc_gas_giant   }
  }
    modifier = {
     factor = 0.25
     solar_system = {
       NOT =  {
         OR = {
           is_star_class = sc_g
           is_star_class = sc_k
           is_star_class = sc_f
         }
       }
     }
   }
  }
}

#########
## ZRO ##
#########
# Zro deposits are 1/2 as likely as a non-Zro deposit, but require a nebula.

sd_saturnine_energy_two_zro = {
  resources = {
  energy = 2
  sr_terraform_gases = 1
  sr_zro = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
       planet = {
         AND = {
           is_planet_class = pc_gas_giant
           is_inside_nebula = yes
         }
  }
  }
}

sd_saturnine_energy_three_zro = {
  resources = {
  energy = 3
  sr_terraform_gases = 1
  sr_zro = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
       planet = {
         AND = {
           is_planet_class = pc_gas_giant
           is_inside_nebula = yes
         }
  }
  }
}

sd_saturnine_energy_four_zro = {
  resources = {
  energy = 4
  sr_terraform_gases = 1
  sr_zro = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
       planet = {
         AND = {
           is_planet_class = pc_gas_giant
           is_inside_nebula = yes
         }
  }
  }
}

sd_saturnine_energy_five_zro = {
  resources = {
  energy = 5
  sr_terraform_gases = 1
  sr_zro = 1   
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
       planet = {
         AND = {
           is_planet_class = pc_gas_giant
           is_inside_nebula = yes
         }
  }
  }
}

sd_saturnine_energy_six_zro = {
  resources = {
  energy = 6
  sr_terraform_gases = 1
  sr_zro = 1
  }
  station = shipclass_mining_station
  orbital_weight = {   weight = 100   }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 625
       planet = {
         AND = {
           is_planet_class = pc_gas_giant
           is_inside_nebula = yes
         }
  }
  }
}


###################
## Class A Stars ##
###################
# "Young," hot and full of power; Class A stars are really very good power sources.
# Power levels of a Betharian II, III, and IV power plant.

sd_solar_energy_a1 = {
  resources = { energy = 8 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_a_star
  }
  }
  }
}

sd_solar_energy_a2 = {
  resources = { energy = 10 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_a_star
  }
  }
  }
}

sd_solar_energy_a3 = {
  resources = { energy = 12 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_a_star
  }
  }
  }
}

###################
## Class B Stars ##
###################
# Intense balls of fusion (even as stars go,) Class B stars are =exceptional= power sources.
# Power levels of a Betharian III, IV, and surpassing a IV.

sd_solar_energy_b1 = {
  resources = { energy = 10 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_b_star
  }
  }
  }
}

sd_solar_energy_b2 = {
  resources = { energy = 12 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_b_star
  }
  }
  }
}

sd_solar_energy_b3 = {
  resources = { energy = 14 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_b_star
  }
  }
  }
}
###################
## Class F Stars ##
###################
# Compact and dense, F-class stars are really good power sources.
# Equavilent to a Betharian II, III, and IV power station.

sd_solar_energy_f1 = {
  resources = { energy = 8 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_f_star
  }
  }
  }
}

sd_solar_energy_f2 = {
  resources = { energy = 10 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_f_star
  }
  }
  }
}

sd_solar_energy_f3 = {
  resources = { energy = 12 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_f_star
  }
  }
  }
}
###################
## Class G Stars ##
###################
# Just like Sol! Good for supporting life and sucking power out of.
# Smaller and cooler than other stars, but still a freaking star, good for generating a lotta juice!

sd_solar_energy_g1 = {
  resources = { energy = 7 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_g_star
  }
  }
  }
}

sd_solar_energy_g2 = {
  resources = { energy = 9 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_g_star
  }
  }
  }
}

sd_solar_energy_g3 = {
  resources = { energy = 11 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_g_star
  }
  }
  }
}
###################
## Class K Stars ##
###################
# Cooler than the sun, on the galactic scale, a K-type star is the pacer, not the sprinter.
# Unfortunately, on the scale of a few hundred years, a stellar sprinter is what a civilization wants.
## For harvesting energy from, anyway.

sd_solar_energy_k1 = {
  resources = { energy = 6 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_k_star
  }
  }
  }
}

sd_solar_energy_k2 = {
  resources = { energy = 8 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_k_star
  }
  }
  }
}

sd_solar_energy_k3 = {
  resources = { energy = 10 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_k_star
  }
  }
  }
}

###################
## Class M Stars ##
###################
# A stellar 'slouch,' an M-class star is hardly worthless in terms of harvesting energy...
## But it just doesn't have the same kick as a brighter, more intense ball of fusion.

sd_solar_energy_m1 = {
  resources = { energy = 5 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_k_star
  }
  }
  }
}

sd_solar_energy_m2 = {
  resources = { energy = 7 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_k_star
  }
  }
  }
}

sd_solar_energy_m3 = {
  resources = { energy = 9 }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_k_star
  }
  }
  }
}
#################
# Neutron Stars #
#################
## You can collect a lot of energy from a neutron star's intense radiation...
## But you'd probably rather collect the science.
## Still, I threw in some energy collection chances, representing the chances the star is thoroughly ordinary.
# You will always get neutronium from a Neutron Star.

sd_solar_energy_n1 = {
  resources = {
  energy = 10
  sr_neutronium = 1
  }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_neutron_star
  }
  }
  }
}

sd_solar_energy_n2 = {
  resources = {
  energy = 12
  sr_neutronium = 1
  }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_neutron_star
  }
  }
  }
}

###########
# Pulsars #
###########
# Pulsars: Far more likely to give you research than an ordinary Neutron Star, with correspondingly less energy chance.
# You will always get Neutronium from a Pulsar.


sd_solar_energy_pulsar_1 = {
  resources = {
  energy = 10
  sr_neutronium = 1
  }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 500
  planet = {
  is_planet_class = pc_pulsar
  }
  }
  }
}

sd_solar_energy_pulsar_2 = {
  resources = {
  energy = 12
  sr_neutronium = 1
  }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 500
  planet = {
  is_planet_class = pc_pulsar
  }
  }
  }
}
##################################################
## Neutron and Pulsar Combined Science Entries. ##
##################################################
# Physics Research #
# You will always get Neutronium from a Neutron or Pulsar.

sd_solar_science_neutron_pulsar_1 = {
  resources = {
  physics_research = 2
  sr_neutronium = 1
  }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

sd_solar_science_neutron_pulsar_2 = {
  resources = {
  physics_research = 3
  sr_neutronium = 1
  }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

sd_solar_science_neutron_pulsar_3 = {
  resources = {
  physics_research = 4
  sr_neutronium = 1
  }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

# Physics + Engineering Research #

sd_solar_science_neutron_pulsar_1a = {
  resources = {   physics_research = 2
           engineering_research = 2   
           sr_neutronium = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

sd_solar_science_neutron_pulsar_2a = {
  resources = {   physics_research = 3
           engineering_research = 3   
           sr_neutronium = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

sd_solar_science_neutron_pulsar_3a = {
  resources = {   physics_research = 4
           engineering_research = 4   
           sr_neutronium = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

sd_solar_science_neutron_pulsar_1b = {
  resources = {   physics_research = 2
           engineering_research = 1   
           sr_neutronium = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

sd_solar_science_neutron_pulsar_2b = {
  resources = {   physics_research = 3
           engineering_research = 2   
           sr_neutronium = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

sd_solar_science_neutron_pulsar_3b = {
  resources = {   physics_research = 4
           engineering_research = 3   
           sr_neutronium = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {
  is_planet_class = pc_neutron_star
      is_planet_class = pc_pulsar
  }
  }
  }
}

###############
# Black Holes #
###############
# You're not getting energy out of a black hole.
# You will, however, get Dark Matter.

# Physics Alone #

sd_solar_science_black_hole_1 = {
  resources = {
         physics_research = 3
         sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}

sd_solar_science_black_hole_2 = {
  resources = {
         physics_research = 4
         sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}

sd_solar_science_black_hole_3 = {
  resources = {
         physics_research = 5
         sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}

# Physics + Engineering

sd_solar_science_black_hole_1a = {
  resources = {   physics_research = 2
           engineering_research = 2   
           sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}

sd_solar_science_black_hole_2a = {
  resources = {   physics_research = 3
           engineering_research = 3   
           sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}

sd_solar_science_black_hole_3a = {
  resources = {   physics_research = 4
           engineering_research = 4   
           sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}

sd_solar_science_black_hole_1b = {
  resources = {   physics_research = 2
           engineering_research = 1   
           sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 1250
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}

sd_solar_science_black_hole_2b = {
  resources = {   physics_research = 3
           engineering_research = 2   
           sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 5000
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}

sd_solar_science_black_hole_3b = {
  resources = {   physics_research = 4
           engineering_research = 3   
           sr_dark_matter = 1
         }
  station = shipclass_mining_station
  orbital_weight = { weight = 1000 }
   
  drop_weight = {
  weight = 0
  modifier = {
  weight = 2500
  planet = {   is_planet_class = pc_black_hole   }
  }
  }
}
I must have done something stupid, I just don't know what. I'm going to keep cracking on this, but if someone else spots it before me, I'd be much obliged for the help.
 
'Lore' wise, it might just be very difficult to build a mining station capable of (safely) mining the star's energy for it to be worth it compared to other more easily attainable (planet based) energy. It'd be nice if it would be possible to create different types of stations, so a star mining station or something that we could make a little more expensive than a regular mining station to compensate for the increase in energy.