Ability to add your own variables to the blueprint parameterization

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Sem_Defence
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Nov 22, 2024 11:46 am
Contact:

Ability to add your own variables to the blueprint parameterization

Post by Sem_Defence »

TL;DR
I want to add variables to the blueprint parameterization inside the parameterization menu itself

What?
I like the idea of ​​parameterizing blueprints, as it is quite a powerful tool. However, I have encountered such an inconvenient thing:
Suppose I need to create a railway station for loading resources. And I want to make such a modification in it, so that it sets a limit of trains depending on how many resources are stored in it. Simply put, if the station buffer has enough resources to load one train, then it will limit the number of trains arriving at it to one. If two - then to two, and so on. But the problem arises that you need to somehow know how long the train will arrive at the station. Perhaps a train with 1 car will be enough, or maybe I need a train with 8 cars. And here is how I have implemented the solution to this problem at the moment:
Screenshot 2025-03-14 115615.png
Screenshot 2025-03-14 115615.png (317.47 KiB) Viewed 41 times
As you can see, in addition to the resource parameter, I have two more variables that calculate how many items can fit in one train. This is a constant value, but it needs to be calculated once. And the problem is that to create these two variables, I need to use a constant combinator, and after the constant is calculated, this combinator will no longer be needed. Of course, the number in this example can be calculated by self, and then you do not need to use the combinator, but what if the formula for calculating this constant is more complicated? What if there are several of these constants in the blueprint or the numbers themselves are too large to calculate the constant value by self? My idea is that adding these variables is not directly related to the elements of the blueprint. For example, you can add an "Add variable" button to the parameterization interface, which will create these variables
Why?
Blueprint parametrization is already a flexible tool for customizing blueprints. My idea will help it become even more convenient, especially for those players who play with large mods, or who create amazing blueprints
Post Reply

Return to “Ideas and Suggestions”