rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Calculate optimal ratios for feeding recipes, search through the research-tree, specialized tools to view game-information.
cellularmitosis
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Nov 02, 2024 8:21 pm
Contact:

rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Post by cellularmitosis »

Hey!

I wrote a little tool which calculates the rocket launches required to build a space platform.

Check it out! https://rocketcal.cc

Let me know what you think, or if you encounter any bugs.
DOSorDIE
Filter Inserter
Filter Inserter
Posts: 254
Joined: Sat Oct 11, 2014 3:43 pm
Contact:

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Post by DOSorDIE »

Works great! ... it will be nice if we can have constant combinator with that what we need for the launches.
Dont know if you remove the 110 platform you have from the starter paket (100 set and 10 in storage) from the blueprint.
Or you have 110 to much in space (thats at least 2 rockets)
EDIT: I see you do calculate it correct!!!
I love it!
cellularmitosis
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Nov 02, 2024 8:21 pm
Contact:

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Post by cellularmitosis »

DOSorDIE wrote: Mon Nov 11, 2024 9:27 am Works great! ... it will be nice if we can have constant combinator with that what we need for the launches.
Hey I was thinking the same thing! Thanks for the suggestion.
https://www.reddit.com/r/factorio/comme ... t/lwj2xnq/
DOSorDIE
Filter Inserter
Filter Inserter
Posts: 254
Joined: Sat Oct 11, 2014 3:43 pm
Contact:

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Post by DOSorDIE »

I found a bug
(1) nuclear-reactor (1.0 kg)
it has 1000kg not 1
cellularmitosis
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Nov 02, 2024 8:21 pm
Contact:

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Post by cellularmitosis »

DOSorDIE wrote: Sun Nov 17, 2024 10:41 pm I found a bug
(1) nuclear-reactor (1.0 kg)
it has 1000kg not 1
Oh thanks so much! I'll take a look
cellularmitosis
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Nov 02, 2024 8:21 pm
Contact:

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Post by cellularmitosis »

DOSorDIE wrote: Sun Nov 17, 2024 10:41 pm I found a bug
(1) nuclear-reactor (1.0 kg)
it has 1000kg not 1
Thanks again, I found and fixed the bug. I've credited you in the changelog!

I had a bug in how I parse the item weight values from the game files data/base/prototypes/item.lua and data/space-age/prototypes/item.lua.

The items which affected spaceship blueprints were probably just nuclear-reactor and fussion-reactor, but in total there were 12 incorrectly parsed weight values, here's the complete diff:

Code: Select all

$ diff /tmp/1.txt /tmp/2.txt
18c18
< 'atomic-bomb': 1.5,
---
> 'atomic-bomb': 1500.0,
20c20
< 'barrel': 1.0,
---
> 'barrel': 5.0,
50c50
< 'cargo-landing-pad': 1.0,
---
> 'cargo-landing-pad': 1000.0,
111c111
< 'fission-reactor-equipment': 0.25,
---
> 'fission-reactor-equipment': 250.0,
121,122c121,122
< 'fusion-reactor': 1.0,
< 'fusion-reactor-equipment': 1.0,
---
> 'fusion-reactor': 1000.0,
> 'fusion-reactor-equipment': 1000.0,
175c175
< 'nuclear-reactor': 1.0,
---
> 'nuclear-reactor': 1000.0,
192c192
< 'plastic-bar': 500.0,
---
> 'plastic-bar': 0.5,
215c215
< 'raw-fish': 1.0,
---
> 'raw-fish': 3.3333333333333335,
226c226
< 'rocket-silo': 10.0,
---
> 'rocket-silo': 10000.0,
228c228
< 'satellite': 1.0,
---
> 'satellite': 1000.0,
249c249
< 'spidertron': 1.0,
---
> 'spidertron': 1000.0,
This affected 33 out of the 159 blueprints which have been uploaded so far.

All of the cached rocket manifests have been regenerated (i.e. corrected).
DOSorDIE
Filter Inserter
Filter Inserter
Posts: 254
Joined: Sat Oct 11, 2014 3:43 pm
Contact:

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Post by DOSorDIE »

Thx for all your hard work!
cellularmitosis
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Nov 02, 2024 8:21 pm
Contact:

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Post by cellularmitosis »

I added support for quality
Screenshot 2024-11-19 at 12.16.19 AM.png
Screenshot 2024-11-19 at 12.16.19 AM.png (218.21 KiB) Viewed 109 times
Example: https://rocketcal.cc/485fe34973e4ce72cd38c29aa70a190c
Post Reply

Return to “Cheatsheets / Calculators / Viewers”