Page 1 of 1

EnergySource: something like drain for fluid, burner, heat type

Posted: Sun Jan 12, 2020 4:15 pm
by AmatorPhasma
A small shot into the dark because I have no idea how realistic an implementation of this could be:

It would be nice to have something like the drain in the electric energy source for the other types:

Types/EnergySource/Fluid
drain :: Types/Energy or fluid_drain_per_tick :: Types/double

Types/EnergySource/Burner
drain :: Types/Energy

Types/EnergySource/Heat
drain :: Types/Energy

Re: EnergySource: something like drain for fluid, burner, heat type

Posted: Tue Jan 14, 2020 9:38 pm
by Rseding91
That's not likely to ever happen. It would mean that any entity which used those energy source types would never be allowed to sleep because it would have to consume the "drain" every game tick and that would make those entities even slower.