Jump to content

Supply teleporter input building absorbs liquids and gasses


Vectrobe
  • Branch: Live Branch Version: Windows Closed

If for any reason, usually by a mod (theres a few that allow this), that a liquid bottle or gas canister, is sent into the teleporter building via logistics rail; the teleporter simply absorbs the items and never teleports them. This can be easilly seen when they absorb polluted water bottles as the building will then show the pollution bubble particles.
The building still teleports regular items without blocking, it just absorbs bottles and canisters indefinitely, without any mention of how much resides inside them in the status view or in tooltips.

The building should handle this better, or at least provide a view in the status UI of any pending items in its buffer inventory, and add the 'empty storage' button that most other buildings have, as a means of recovering the building to normal behavior.


Steps to Reproduce

- use some method to add bottles or canisters to logistic rails, the 'Customize Buildings' and 'Dupes Logistics' mods for example allow this
- run a polluted water bottle down the rail into an activated supply teleporter
- supply teleporter input will emit bubbles but the output building will not, nor will the output building drop the bottle
- you can still send other items down the rail and they will teleport correctly

Screenshot_27.png




User Feedback


Do output teleporter have liquid pipe connected to it? Maybe game tries to send this liquid to liquid port but fail to do so. 

Edited by asurendra

Share this comment


Link to comment
Share on other sites

oh yea forgot to mention that yes, the outputs do indeed have valid gas and liquid destinations, but these internally work completely independant of the conveyor rails, so nothing comes out of them bar what you pipe in normally.
the input buildings simply "hold onto" the bottles and canisters for some reason, which doesnt make a tonne of sense since the buffer inventory should just transport anything that comes in directly to the output, which means theres specific code in there that catches bottles and canisters??

Note; confirmed as well via oni-duplicity's raw editor; the 'WarpConduitSender' as they are called in code, does indeed have the liquid bottles sitting in there. They have two sets of three inventories, one set for input of each pipe and the other set for the buffer sent to the output building. The water and polluted water bottles in my case are just sitting in the first set.

Edited by Vectrobe
more info

Share this comment


Link to comment
Share on other sites

you are trying to use the Supply teleporter in a way that is unexpected for the game.
obviously, you need to contact the authors of the mods so that they patch the Supply teleporter for the output of bottles along the rails.
(the patch is simple, in a pair of lines)

Share this comment


Link to comment
Share on other sites

  

On 5/31/2023 at 2:04 AM, Sanchozz said:

you are trying to use the Supply teleporter in a way that is unexpected for the game.
obviously, you need to contact the authors of the mods so that they patch the Supply teleporter for the output of bottles along the rails.
(the patch is simple, in a pair of lines)

do you mind showing these?

Edited by Vectrobe

Share this comment


Link to comment
Share on other sites

2 hours ago, Vectrobe said:

do you mind showing these?

[HarmonyPatch(typeof(WarpConduitReceiver), nameof(WarpConduitReceiver.SetStorage))]
class Patch
{
  static void Postfix(WarpConduitReceiver.ConduitPort ___solidPort)
  {
    ___solidPort.solidDispenser.solidOnly = false;
  }
}

 

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...