Custom entities with heat buffer

Place to get help with not working mods / modding interface.
Post Reply
memcallen
Inserter
Inserter
Posts: 34
Joined: Sat Mar 28, 2015 1:22 am
Contact:

Custom entities with heat buffer

Post by memcallen »

I'm re-making my caves mod, and I'm trying to make a proper heat exchanger using the heat pipe system.

Previously, I had a storage tank which just incremented or decremented the heat of whatever fluidbox it was in front of, but that didn't account for heat capacities. Now, I'm trying to add a heat_buffer to a simple tank prototype and it doesn't work. The heat icons don't show up, and heat pipes won't connect to the connection points.

I'm guessing heat_buffers are hardcoded, so has anyone figured out a way to get around this, or add a heat_buffer to a custom entity?

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Custom entities with heat buffer

Post by eradicator »

memcallen wrote:I'm guessing heat_buffers are hardcoded, so has anyone figured out a way to get around this, or add a heat_buffer to a custom entity?
Everything is hardcoded in that respect. You can never add arbitrary fields to a prototype if that prototype doesn't already have that property. There's no way around that. If you want something with heat_buffer you'll have to use something that already has one.

Post Reply

Return to “Modding help”