Advanced Fluid Handling


Valves have been removed due to the current engine limitations. *Check out “Configurable Valves” by Stringweasel for a very clever and convenient valve mod* --Adds I, L, T, and Cross underground pipe extensions. --Adds pipes to ground with I, L, T, and Cross shaped underground outputs that are able to be rotated independent of the above ground port. --Adds an Underground pump. CHECK HOTKEYS FOR MOD.

Content
a month ago
0.16 - 2.1
50.7K
Logistics

i Expose pipe rotation/toggle tables, or check mod data

a month ago

The More Quality Scaling mod adds quality effects by making quality-specific copies of entities and substituting them at runtime (for pipes, this includes length scaling and/or quality-specific connection categories for "weaving"). For compatibility, I would need to inform your mod of those copies - you could just read out prototypes.mod_data["entity-clones"].data[original_name] for an array of related copies and adapt the rotation code from that, but if you added an interface allowing access to the rotation table etc., I could manually add rotation entries for the quality variants on my side.

a month ago

The easiest implementation on your side would be changing the interface to the following in your script/rotate-and-toggle.lua:

remote.add_interface(script.mod_name, {get_pipe_table = get_pipe_table, get_ignored_pipes = get_ignored_pipes,get_master_table=function() return advancedPiping end})

This should let me add all the quality-specific entries to the table from my side.

12 hours ago

There's an interface in there now. Does it require the additional parts you added after it?

9 hours ago
(updated 9 hours ago)

Yes, the rotation tables are currently not exposed, and I need to add entries for the quality variants to those so higher quality AFH pipes can still be rotated.

I've had a request to support AFH pipe rotation in 2.0 as well, so ideally the interface would be available in that Factorio too branch as well, so those user(s) don't need to manually modify local mod files.

New response