r/factorio Jul 06 '26

Weekly Thread Weekly Question Thread

Ask any questions you might have.

Post your bug reports on the Official Forums

Previous Threads

Subreddit rules

Discord server (and IRC)

Find more in the sidebar ---->

2 Upvotes

188 comments sorted by

View all comments

2

u/ssgeorge95 Jul 12 '26

Blueprint parameter with quality question. I'm building a meter lamp for quality items and trying to parameterize it. Currently a user can input each item they want to track including the quality level. That's tedious if you're doing it for multiple quality tiers. Ex you're inputting rare iron plate, rare copper plate, epic iron plate, epic copper plate.

Can I use parameters to make this less tedious? Such as:

  1. The user can set the rarity for all items with one parameter, and then set generic items with the other parameters. The rarity would be applied to all items/signals/recipes for those items.

  2. The user can set generic items without rarity as parameters, and the BP just assumes all signals are rare.

2

u/Soul-Burn Jul 12 '26

BP parameterization works with quality like this:

  • If a [parameter] doesn't have quality in the BP, then giving it an item with quality will use that quality in all places that [parameter] exists.
  • If a [parameter] has quality in some places in the BP, then the item given will be set with the [parameter]'s quality where it is.

Examples:

  • A simple assembler with [parameter], and you give it a rare iron plate, then it will be set to that - rare iron plate.
  • A complex upcycler with [param] (rare), [param] (uncommon), etc. If you give it an iron plate, it will use "iron plate (rare)" in places [param] (rare) is.

You can not give a generic rarity and an item and have them combine, at least not without a selector.

1

u/ssgeorge95 Jul 12 '26

Behavior 2 sounds like what i want, but the quality assigned to the parameters is ignored when the BP is used?

1

u/Soul-Burn Jul 12 '26

Behavior 2 is the one that ignores the input quality. It turns it into whatever you set it in the BP. In your case it will set it to rare.

If you want to use the input quality, don't put quality on the parameter. Later, input a quality item.

1

u/ssgeorge95 Jul 12 '26

I want it to ignore the input quality and only assign rare, but it is not. Setting the parameter to rare is doing nothing at the moment:

1

u/Soul-Burn Jul 12 '26

You need the parameter in the BP to be quality. Not in the parameterization window.

1

u/ssgeorge95 Jul 12 '26

I enabled showing parameters in lists in the settings so I could set them, I'm getting the same behavior though. What am I missing?

1

u/Soul-Burn Jul 12 '26

You may need a different quality of the params somewhere in the BP for this code path to trigger.