Page 1 of 1

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

Posted: Fri May 26, 2017 8:19 am
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.

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

Posted: Fri May 26, 2017 9:48 am
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.

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

Posted: Fri May 26, 2017 11:50 am
by bobingabout
Thank you. I'll find out next update.