Nuke it from orbit?

Looking for a mod? Have a review on a mod you'd like to share?
zuben42
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Dec 11, 2024 5:23 pm
Contact:

Nuke it from orbit?

Post by zuben42 »

Is there such a mod that allows me to annihilate my factory from my space platform, stocked with nuclear rockets?

I ask because the idea came to me that it would be faster to just nuke my old Nauvis base than it would to deconstruct it and rebuild it, now that I've conquered the solar system and find my original design to be lacking in efficiency. I was hoping perhaps someone else had already had this thought and perhaps taken the initiative to make it so.

Thank you for your time, either way.
eugenekay
Fast Inserter
Fast Inserter
Posts: 165
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: Nuke it from orbit?

Post by eugenekay »

I don't know of a Mod that will do this exactly.... the closest I can think of is Orbital Ion Cannon; but even this would not let you auto-target Friendly forces.

Because I like chaos, here is a LUA snippet to try (no mods required!):

Code: Select all

/c local nauvis=game.get_surface("nauvis")
for chunk in nauvis.get_chunks() do
   if math.random() > 0.99 then
     nauvis.create_entity({name="atomic-rocket", position={chunk.x*32, chunk.y*32}, target={chunk.x*32,chunk.y*32}})
   end
end
You can copy-paste this into the Console to run. It will instantly deliver an Atomic Rocket to 1% of the "Chunks" which have been generated, which is fairly destructive to a factory. This will cause a LOT of lag for about a minute in my testing; you may need to run it several times to get the desired effect.

Or, try a Deconstruction planner set to exempt Roboports, Power Poles, and Logistic Storage Chests.

Good luck! :twisted:
zuben42
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Dec 11, 2024 5:23 pm
Contact:

Re: Nuke it from orbit?

Post by zuben42 »

Thank you!

I'll tinker around with this. Luckily it didn't lag quite so much as I thought, but unluckily my factory is a tad bit too expansive already for this and I'll need to cluster it somehow or just detonate every chunk if my computer can handle it.
{7A8B6151-44D7-4B0E-83B4-F44861E5B986}.png
{7A8B6151-44D7-4B0E-83B4-F44861E5B986}.png (758.99 KiB) Viewed 243 times
eugenekay
Fast Inserter
Fast Inserter
Posts: 165
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: Nuke it from orbit?

Post by eugenekay »

Excellent! You can change “0.99” to “0.95” to increase the Hit rate from 1% to 5%, or even lower/higher if you dare.
Post Reply

Return to “Questions, reviews and ratings”