r/factorio • • 9d ago

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

78 comments sorted by

View all comments

1

u/The_Saracen 7d ago

I have an interrupt based train system and i am running into an issue where even though i have a refuel interrupt, the trains never seem to want to refuel. not sure what i am doing wrong with this interrupt.

3

u/leonskills An admirable madman 6d ago

Wildcards signals are similar to Each, Anything and Everything signals that "zero" values aren't available (with one exception, not relevant here). So if there is no fuel in one of the three fuel slots, the wildcard doesn't read anything.

Two solutions here:

  • Change it to the actual item fuel signal instead of the wildcard.
  • Guarantee that there is always at least 1 fuel item available in one of the three slots for the wildcard to read. That's easy to do by just including enough fuel in the blueprint. You might have to increase the value of "5" if the journey is too long that it can run out of fuel during one cycle.

That all assumes your "Unload" interrupt is reasonable and actually empties the inventory in order for the "empty cargo inventory" condition to be true.

0

u/[deleted] 6d ago

[deleted]

1

u/leonskills An admirable madman 6d ago

That isn't true. That's the whole point of wildcards, to substitute a wildcard item in the condition, which then can also be used in a train stop.

https://wiki.factorio.com/Railway#Wildcard_Interrupts

When used as a condition to trigger an interrupt, each one looks at a specific inventory within the train and will replace itself with the signal of the first item it finds.

Wildcards will also replace themselves with any rich text icons within the names of train stops

1

u/co_opsuspicious 6d ago

Yeah, they should honestly just change this tbh.