流体品质配方 Quality Fluid Recipe


灵感来源于Kil'Jaeden的quality-fluids,不过有bug不能运行,就自制了类似的mod。给纯流体原料的配方,增加把流体变成装桶的配方

Content
3 months ago
2.0
82
Fluids Cheats

b incompatibility with casting mods

3 months ago

There seems to be some incompatibility issues with casting mods, is there a way to disable the casting of (for exaple train wagons) and just cast plates, steel and other intermediats?

3 months ago

Hi , I have tried the casting mod with my mod and haven't found any compatibility issues so far. Both the recipes generated and modified by the casting mod can be selected and used normally. Could you provide a more detailed description of the problem?

3 months ago

The exact error I'm getting is
Failed to load mods: Error while loading recipe prototype "casting-vehicle-wagon-quality" (recipe): value (37937732456721048) outside of range. the data type allows values from 0 to 65535 in property tree at ROOT.recipe.casting-vehicle-wagon-quality.ingredients[0].amount
Modifications: Quality Fluid Recipe (this mod)

All the casting mods I have installed are: casting without calcite, casting with calcite, more casting, OCs stone casting, lithium casting
Atleast all that I know of.
Maybe this will help.

3 months ago

The exact error I'm getting is
Failed to load mods: Error while loading recipe prototype "casting-vehicle-wagon-quality" (recipe): value (37937732456721048) outside of range. the data type allows values from 0 to 65535 in property tree at ROOT.recipe.casting-vehicle-wagon-quality.ingredients[0].amount
Modifications: Quality Fluid Recipe (this mod)

All the casting mods I have installed are: casting without calcite, casting with calcite, more casting, OCs stone casting, lithium casting
Atleast all that I know of.
Maybe this will help.

Well, I've got a rough idea of what the issue is. The fluid capacity multiplier in the mod settings was set too high. This issue arises from a conflict between the result.amount of new recipe outputs generated by my mod and the hard-coded upper limits in the game engine for recipe result.amount. Unfortunately, I don't have an immediate solution. For now, the only workaround is to reset the mod settings and avoid setting the fluid capacity multiplier to excessively high values.

3 months ago

Updated to a new version. Add a check to recipe result.amount to verify if the quantity exceeds 65535. If it does, prevent the generation of the new recipe. This approach should resolve the recurring issues, although I personally do not endorse this solution.

3 months ago

I feel like I'm bothering you at this point, found another issue.
Failed to load mods: Error while running setup for recipe prototype "casting-light-armor-quality" (recipe): Recipe item-product "light-armor" is not stackable but has a max count of 5.

issue with light-armor I assume

3 months ago

I feel like I'm bothering you at this point, found another issue.
Failed to load mods: Error while running setup for recipe prototype "casting-light-armor-quality" (recipe): Recipe item-product "light-armor" is not stackable but has a max count of 5.

issue with light-armor I assume

That's strange. The mod has already deleted the recipes whose result.flags are marked with "not-stackable", so this error shouldn't be triggered. When I tested the "casting-light-armor-quality" recipe, it could generate normally. Could you send me the error-reporting save file to check?

3 months ago

I would, but how do you do that?

3 months ago

The game save file or factorio-current.log file can both provide all mod information. I can check whether there are other mods not mentioned that modify item attributes, or whether my mod has omitted any judgment conditions, resulting in the failure to detect the "not-stackable" attribute of items. If convenient, please send the archive or factorio-current.log file to the email: clh13662271031@gmail.com.

3 months ago

thank you for your help, I've send the file to your email.

3 months ago

thank you for your help, I've send the file to your email.

Preliminary judgment suggests that the issue is caused by lignumis. When removing lignumis, an issue of "image file not found" occurs in RenaiTransportation. After removing these two mods, the game can be launched normally. It may take me some time to analyze which part of lignumis' code triggered the problem.

3 months ago

The issue was found to be caused by the equipment grid of the armor, which should be related to the game engine having strict restrictions on the stacking number of modular armor, not allowing any form of stacking.

After all mod generation data is processed, the game forcibly adds the "not-stackable" flag to the modular armor's flags, and this flag attribute cannot be recognized during the data generation phase, leading to a series of subsequent problems.

Now, a check has been added: if the armor has an equipment grid, the recipe will not be generated, thus avoiding error reports.

Thank you for providing the bug information, which helped me improve the mod.

3 months ago

you are very much welcome, let's hope there won't be any further issues

New response