[0.15] [kovarex] heat pipes on entities act strange

This subforum contains all the issues which we already resolved.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

[0.15] [kovarex] heat pipes on entities act strange

Post by bobingabout »

In the earlier versions, heat pipes on entities did not rotate with the entity at all. There was a bug fix a version or two ago, but I can't remember which, however, I don't think it is working as intended.

Take an entity like a furnace for example, by default they do not rotate.

Add heat pipes to a furnace(Say, on the south side), your furnace has heat pipes on the south side and they provide power, however, you can't rotate them, the positions are locked, since by default that entity wouldn't be rotatable.

Add a pipe connection, and when you rotate the (fluid) pipe connection and the entity becomes rotatable, the heat pipe location rotates with the fluid pipe connection.


Basically... Either I coded it wrong (that's always a possibility, but I'm fairly sure I just copied the code from the boiler, then adjusted position for 3x3 instead of 2x3), or the more likely option, having a heat pipe doesn't automatically make an entity rotatable.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15] [kovarex] heat pipes on entities act strange

Post by kovarex »

Yes. There is internal piece of code (CraftingMachine::hasDirection), that lets it to be rotatable only with fluid connection. So heat connection wasn't enough.
So I changed that, that heat connection also makes the entity rotatable for the next version, I hope it helps.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [0.15] [kovarex] heat pipes on entities act strange

Post by bobingabout »

Thank you. I'll find out next update.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Post Reply

Return to “Resolved Problems and Bugs”