Skip to content

Weight fixes#553

Open
Qatavin wants to merge 95 commits intomodded-factorio:devfrom
Qatavin:weight-fixes
Open

Weight fixes#553
Qatavin wants to merge 95 commits intomodded-factorio:devfrom
Qatavin:weight-fixes

Conversation

@Qatavin
Copy link
Collaborator

@Qatavin Qatavin commented Mar 7, 2026

Adds and updates weight values for what should be absolutely everything that needs them. Took much longer than I expected, because it's such a tedious task. Now every item should be able to be auto-launched in a rocket in (mostly) reasonable quantities that, importantly, are compatible with the item's stack_size - meaning, the rocket capacity is either a factor of the stack_size or a multiple of it, so you'll always end up with nice, clean full stacks on your space platform. This included assigned a specific weight value to some vanilla items that didn't have them, since the recipe-based calculation for weight has a real tendency to go off the rails when a recipe is heavily modified.

I increased the number of inventory slots on a rocket from 20 to 50. This should have negligible impact on gameplay, as it's gonna be pretty rare to both need and be able to fit 50 different items in a rocket, given their limited weight capacity. But there is now at least one item that you can actually fill an entire 50-slot rocket with - titanium bearing balls. Titanium being a light metal lets you fit 2000 plates into a rocket (up from 1000, which in vanilla is the standard for iron, copper, and so on), then dividing one up into 12 pieces means to fill a rocket you need 24000, increased to 25000 so the weight value is a clean 40 instead of 41.666666...

Also includes a few other adjustments like increasing the stack_size of salt and salt-related compounds to 200.

@KiwiHawk
Copy link
Contributor

KiwiHawk commented Mar 7, 2026

Bearing balls don't seem like a good reason to change rocket capacity. I can't imagine why they would ever be shipped. They will be made into bearings first surely?

Are there many other examples? 🤔

@Qatavin
Copy link
Collaborator Author

Qatavin commented Mar 7, 2026

Not that I can think of. Other small items like wafers, electronic components, bullet components, and so on are all significantly larger. If you really want to remove the change to to_be_inserted_to_rocket_inventory_size in Plates' data-updates, then I suppose you can. But like I said, it doesn't really make a difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants