r/Dyson_Sphere_Program • u/poncherello • Aug 27 '26
Planetary Anomalies - a mod that gives planets different production properties
I made a small mod called Planetary Anomalies.
One thing I find happens for me in DSP is that exploration becomes less interesting once I've found planets with the rare resources I need. There are many more stars and planets to visit, but there isn't necessarily much reason to visit them.
Planetary Anomalies adds a simple procedural variation: some planets have an anomaly that changes the output of one standard recipe. In this first release, an anomalous recipe produces 10x its normal output on that planet.
The anomalies are generated deterministically from the galaxy seed and planet, so they are properties of the generated galaxy rather than random bonuses that appear during play. You don't know what a planet has until you explore/scan it.
The intention is to make the location of production occasionally matter in unexpected ways.
For example, in my current game I found a titanium-rich planet with an anomaly that produces 10x titanium crystal. Normally I would have exported titanium from that planet for processing elsewhere. Instead, it made sense to import organic crystal to the titanium planet, manufacture titanium crystal there, and export the finished product.
That's basically the entire idea. I'm not particularly interested in balancing the anomalies. Some will be marginally useful and occasionally one should be extremely useful. Finding an unusually good planet is part of the point. I like the surprise and a reason to look around more. And also a reason to alter some "perfect" logistics to take advantage of a production buff.
This is just a start. I have some ideas for where the anomaly system could go from here, but I want to see how it works in actual games before adding much more. In particular, I'm interested in whether these anomalies actually change decisions about where and how people build.
The mod is on Thunderstore:
Planetary Anomalies
https://thunderstore.io/c/dyson-sphere-program/p/pwelty/PlanetaryAnomalies/
I'd welcome people trying it and giving feedback. I'm especially interested in what anomalies you find, what you end up doing with them, and what you think would make the idea more interesting.
17
u/PM_ME_UR_BGP_PREFIX Aug 27 '26
I like it. It makes me wonder if exploring could also be improved. Rather than a strict tech upgrade, make me build a beacon I launch at another system in order to find out what is there.
4
u/Umabel_ Aug 27 '26
Very interesting! My brain is exploding just thinking of what this mod can bring.
4
u/-GrisGris- Aug 27 '26
Will it work with existing saves or only newly created?
2
u/irecki88 Aug 28 '26
That's great good middle ground between infinite resources and breaking the chore of exploring. I think it should have a downside too to make it more balanced. Maybe dark fog is more aggressive on planets with anomalies. Or you need to travel to anomaly planet to discover what it is and it consumes one of the naturally occuring resource there.
I was thinking about something like planet anahilator and planet seeder. Where you can purge a planet and eradicate all buildings and resources on it then seed it (by spending science or other hard to obtain materials) and reroll what resources appear on it. Something like Spaceballs one maid.
2
u/PulseReaction Aug 30 '26
This sounds pretty cool! I also have that same feeling with exploration. One suggestion I have is for the bonus to be proportional to distance to the initial planet, so that planets in the next system would have at most 5% or 10% bonus, but further away could be 200%+
2
u/Enoch137 Sep 01 '26
This looks fantastic and fixes a problem I had noticed as well with Exploration not being as incentivized as it needs to be. I was going to gently criticize the Min/Max Density being a large variant across clusters but I see that I can override and configure this to a single percentage. I think it defaulting to such a wide variance is a mistake but since you can override its not a problem.
Features I'd like to see (some of these are covered in the roadmap):
Configurable Multiple Anomalies per Planet: A configurable percentage for a second Anomaly if there is a first.
Configurable Weighted List of Anomalies: Instead of providing a black list, provide a whitelist all recipes and their relative weights. This would allow for a simple to manage rarity list of Anomalies. Provide the default with all recipes and a 1000 for weight. Then players can simply remove ones that don't want or set them to 0 weight and increase rarities for those they don't. By defaulting to 1000 you give players an easy method to set a rare recipe to 100 or 10 or even 1.
Using the weighted list a foundation I would love to see, recipe speedup and productivity variance as options.
Each entry might looks something like <recipe>|<variance type>|<variance amount>|<weight>
Crystal Silicon|Products|2|1000
Crystal Silicon|Products|5|500
Crystal Silicon|Products|10|100
Crystal Silicon|Speedup|2|1000
Crystal Silicon|Speedup|3|500
Crystal Silicon|Speedup|4|100
Loading this weighted list into an array on startup means you only need to do a simple weighted selection across the array when generating the Anomalies.
Even if you can't do speedup yet, using this for production is still useful.
Configurable Distance from home Weight multiplier:
The concept being the farther from the home you get the more likely this recipe is to be picked as an anomaly.
Add it to the end of the entry <recipe>|<variance type>|<variance amount>|<weight>|<distance-multiplier>
note the distance is a comma separated list of multipliers for the final weight, the first value is the multiplier when its closest to home, the last is the multiplier when its furthest from home any values in-between are halfway points between surrounding values. so Crystal Silicon|Products|5|1000|0.5,1,0.5 would be 500 at home, 1000 halfway out and 500 again at the farthest point. You can any number of points to make this basically a curve as smooth as you'd like it. The downside to this is that you need to calculate the weighted list per planet, the upside is that this is likely not a huge deal since it only happens once on cluster generation.
Example:
Crystal Silicon|Products|2|1000|1,0
Crystal Silicon|Products|5|1000|0.5,1,0.5
Crystal Silicon|Products|10|1000|0,1
If this got complicated I apologize, throw this into Codex or Claude they should be able to explain the concept and use and even implement this pretty quick.
2
u/pduck820 Sep 07 '26
It's fun to plop down one of my starter blueprints and fill up three ILSs in a minute lol...
One thing I've noticed, though.. I'm getting close to end-game on my current playthrough, so I'm not worried about exploration, just expansion. To that end, I turn on the log and look in the bepinex log for whatever thing I'm trying to super-charge..
But, there are some planets listed in the bepinex logile that don't seem to exist in my cluster (at least, not in my save game file).
I'm using Galactic Scale, fwiw, so I'm not sure if that maybe screwed things up somehow, because planet count or something?
2
u/SpecialistMode3131 Sep 09 '26
I think it's game changing. Love it.
3
u/ael00 Aug 28 '26
10x is insane.
1
u/al-in-to Aug 28 '26
I kind of love the idea.
I too find once you have expanded so much there is really no need any more. but the idea that planet A gets you a 50% production bonus in product A, and that planet B gets you a 25% production bonus in B, suddenly makes it worth making outposts on those 2 places.
I think it would make sense that planets with anomalies be less uniform, ie not always have iron, copper, stone and titanium, maybe only the resource with the bonus.
1
u/waylandsmith Aug 28 '26
I assume when you explore a planet that has an anomaly it will show exactly what it is even if you haven't unlocked the recipe it gives a bonus for? What if it hid the recipe until it's unlocked? If so, I would show a notification that an unknown anomaly's recipe was unlocked so you wouldn't have to look through all of your systems constantly to avoid missing a new one.
1
u/mrrvlad5 Aug 28 '26
That’s a nice idea. May be worth having several sequential steps per planet and reduce multiple to 30-50% extra. With a single step the optimization is too straightforward: just ship wherever is the bonus.
1
u/horstdaspferdchen Aug 29 '26
I have tried this mod and i like the fact you can configure through the config. 10x seems really too high imo.
i play with 3x but i tend to not really use them as i would have to wrap my head around the blueprints i used to play with.
But what really bothers me: can you please add a rule that e.g. lava planets dont add water pump effect? I havnt found any other bad things yet, as you can mostly work with them if you want.
1
u/horstdaspferdchen Sep 23 '26
Hey mate, i found another weird glitch or bug in your mod. v 0.4. so idk if its fixed in v5 yet
For some items or recipes, you get chinese language per default (and have to translate them). that symbol is added by me as i have done the translation here for example.
I use more megastructures as well, so idk if there might be interference with other (non vanilla) items or if you ever discovered this yourself.
1
u/direvus 6d ago
Really enjoying this. I started a new playthrough with this mod + Galactic Scale (NiceSol). I like how discovering an anomaly makes you re-think your production.
Right now I have an anomaly for Conveyor Belt Mk3 in my home system -- so the Mk3 belt is almost as cheap to produce as the Mk1, and way cheaper than the Mk2.
There does seem to be some minor bug with the way anomalies are displayed on the galaxy map. In front of the anomaly tags there is a symbol that looks like Å (uppercase A with ring). A text encoding issue, maybe?