Game can not tell you if a fluid with the same name as an item is missing.

Place to post guides, observations, things related to modding that are not mods themselves.
User avatar
CPU_BlackHeart
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Jul 20, 2024 5:05 am
Contact:

Game can not tell you if a fluid with the same name as an item is missing.

Post by CPU_BlackHeart »

Pretty much what it says on the title. If you're modding and you create a fluid and an item with the same name, if you have a type=item of myNewItem, but forget to make the type=fluid which shares the same name as myNewItem, Factorio can not tell what exactly the issue is and will instead output an error with the "Quality" mod. This can make it difficult to determine what the issue is when you're making a lot of items/fluids and don't test every 2-5 minutes.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15828
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Game can not tell you if a fluid with the same name as an item is missing.

Post by Rseding91 »

What? There are tons of items that don't have a matching fluid of the same name. It's not a requirement of anything.
If you want to get ahold of me I'm almost always on Discord.
robot256
Smart Inserter
Smart Inserter
Posts: 1226
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Game can not tell you if a fluid with the same name as an item is missing.

Post by robot256 »

The title is incomprehensible. The only way to explain what you mean is break down what you did step by step and where your expectations did not match what you observed. Are you talking about item/fluid prototype definitions, or item/fluid ingredients listed in a recipe prototype? Do you mean the fluid definition is missing, or is it there but with incorrectly-set type="item"?
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Post Reply

Return to “Modding discussion”