[2.0.72] Item requests not always included in blueprint components list

Bugs that are actually features.
Eylrid
Inserter
Inserter
Posts: 20
Joined: Sat Jul 02, 2016 4:36 pm
Contact:

[2.0.72] Item requests not always included in blueprint components list

Post by Eylrid »

Factorio version: 2.0.72

Mods: None

What I did:
1. Place a furnace ghost
2. Put an item request for coal in the fuel slot
3. Put an item request for iron ore in the input slot
4. Create a blueprint of the furnace
Here is the resulting blueprint:
0eNqNkNEKwjAMRf8lzxXm3MT2V2SMWaMEXSJtJ47Rf7d1D0OY4ONNbs4ld4LTfcCHIw5gJiAr7MEcJ/B05e6eZ9z1CAZ8EMbNZXDcWYSogPiMLzDbqFbcVpJcTGVsFCAHCoQz/yPGlof+hC5R1HqOgof4dCWc4TmuUDCCqTI7YD/D6LwWPa/TllviZwoUN872RaVcHzp7A5O4VoZcQ13EJuavvrDkhDfi8G90+RPd5DYyI2GX+hU80fnPp/W+1JXW9WG707qoYnwDjE6NUw==

5. Open the blueprint to look at the components

What happened:
The coal is included in the component list but the iron ore is not

What I expect to happen:
Both the coal and the iron ore are included in the components list

Does this always happen?
Some items always show up. Some items don't show up.
Attachments
factorio-current.log
(5.92 KiB) Downloaded 11 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16451
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.72] Item requests not always included in blueprint components list

Post by Rseding91 »

Only fuel are included in blueprints by design.
If you want to get ahold of me I'm almost always on Discord.
eugenekay
Filter Inserter
Filter Inserter
Posts: 929
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: [2.0.72] Item requests not always included in blueprint components list

Post by eugenekay »

This Report appears to be about the fact that the Item-Request Iron Ore is not in the Blueprint Preview's "Components" listing; but it is present in the Blueprint String itself and the resulting Ghost that is placed:

Code: Select all

{
    "blueprint": {
        "icons": [
            {
                "signal": {
                    "name": "stone-furnace"
                },
                "index": 1
            },
            {
                "signal": {
                    "name": "coal"
                },
                "index": 2
            }
        ],
        "entities": [
            {
                "entity_number": 1,
                "name": "stone-furnace",
                "position": {
                    "x": 10,
                    "y": 4
                },
                "items": [
                    {
                        "id": {
                            "name": "coal"
                        },
                        "items": {
                            "in_inventory": [
                                {
                                    "inventory": 1,
                                    "stack": 0,
                                    "count": 50
                                }
                            ]
                        }
                    },
                    {
                        "id": {
                            "name": "iron-ore"
                        },
                        "items": {
                            "in_inventory": [
                                {
                                    "inventory": 2,
                                    "stack": 0,
                                    "count": 50
                                }
                            ]
                        }
                    }
                ]
            }
        ],
        "item": "blueprint",
        "version": 562949958139904
    }
}
01-01-2026, 15-18-31.png
01-01-2026, 15-18-31.png (113.65 KiB) Viewed 223 times
01-01-2026, 15-18-49.png
01-01-2026, 15-18-49.png (26.97 KiB) Viewed 223 times
Which seems to be operating contrary to the idea that "only fuel are included in blueprints". I have done this using Edited blueprints by modifying the in_inventory following Inventory IDs from the API docs, but I have never seen it happen with the in-game Blueprint tool.
eugenekay
Filter Inserter
Filter Inserter
Posts: 929
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: [2.0.72] Item requests not always included in blueprint components list

Post by eugenekay »

A-ha! This happens if you Blueprint a Ghost Entity; but not a Real Entity.
01-01-2026, 15-31-08.png
01-01-2026, 15-31-08.png (75.69 KiB) Viewed 206 times
01-01-2026, 15-31-25.png
01-01-2026, 15-31-25.png (289.49 KiB) Viewed 206 times
01-01-2026, 15-31-40.png
01-01-2026, 15-31-40.png (281.33 KiB) Viewed 206 times
The resulting Blueprint has an Item Request iron-ore in the left-side (Ghost) furnace; but not in the right-side (Real) one.

Code: Select all

{
    "blueprint": {
        "icons": [
            {
                "signal": {
                    "name": "stone-furnace"
                },
                "index": 1
            }
        ],
        "entities": [
            {
                "entity_number": 1,
                "name": "stone-furnace",
                "position": {
                    "x": -5,
                    "y": 17
                },
                "items": [
                    {
                        "id": {
                            "name": "coal"
                        },
                        "items": {
                            "in_inventory": [
                                {
                                    "inventory": 1,
                                    "stack": 0,
                                    "count": 50
                                }
                            ]
                        }
                    },
                    {
                        "id": {
                            "name": "iron-ore"
                        },
                        "items": {
                            "in_inventory": [
                                {
                                    "inventory": 2,
                                    "stack": 0,
                                    "count": 50
                                }
                            ]
                        }
                    }
                ]
            },
            {
                "entity_number": 2,
                "name": "stone-furnace",
                "position": {
                    "x": -3,
                    "y": 17
                },
                "items": [
                    {
                        "id": {
                            "name": "coal"
                        },
                        "items": {
                            "in_inventory": [
                                {
                                    "inventory": 1,
                                    "stack": 0,
                                    "count": 50
                                }
                            ]
                        }
                    }
                ]
            }
        ],
        "item": "blueprint",
        "version": 562949958139904
    }
}
This apparently also works with Centrifuges, Turrets, and most other Ghost Entities, which is the behaviour described back in 117046.
Eylrid
Inserter
Inserter
Posts: 20
Joined: Sat Jul 02, 2016 4:36 pm
Contact:

Re: [2.0.72] Item requests not always included in blueprint components list

Post by Eylrid »

Yes, that is correct. The iron ore is part of the blueprint but not listed in the components.

I'm playing a Pyanodon game and I have a number of blueprints that rely on item requests to bootstrap production loops. The item requests are always included in the blueprint if you create the blueprint from ghosts. Usually the item requests I've done have also been included in the components list. Today was the first time I ran into an item request that I noticed wasn't in the components list.

Looking at it closer it looks like the item requests that get included in the components list are fuel items and modules, whether or not they are being used as fuel or modules. It turns out a lot of items in Py are a fuel or a module somewhere.

Here is an example of a vanilla blueprint where module items in an ingredient slot are included in the components list:


Prod 3_a.png
Prod 3_a.png (73.61 KiB) Viewed 147 times
Prod 3_b.png
Prod 3_b.png (45.86 KiB) Viewed 147 times
The red and blue circuits and prod mod 2s are all included in the blueprint, but only the prod mod 2s are in the component list. The prod mod 2s are modules, but they are not being used as modules in this blueprint. They are being used as ingredients.

I really want all item requests to be included in the components list because I use the blueprints to set requester chests. If they aren't in the components list then they aren't included in the requester chest. It's also important to be able to look at the blueprint and know what you need.
Post Reply

Return to “Not a bug”