Created a prefab that both pipe and tank extend so they share the same
network code. This should decrease issues with errors that arise between
the two. As well i reworked a few things in the network fluid tile class
to prevent issues.
Both tank and sink now use FluidHelper methods to handle FluidContainer
items. As well this should solve the sink not being able to accept
fluids. Unsure at this moment if it solved issues with tank draining.
More testing will be conducted. However, error correction will show up
in CoreMachine due to it containing the helper methods.
I think it simple came down to i need to clean up the network before
doing anything to the network. As well i think the fluid container
network was not clearing the save stack data when it was empty.
Not sure what i did in the last few commits, and in this one but the
tanks don't work much at all now. They have rendering, saving, loading,
merging, and other issues now. Not much has really changed to cause this
bad of a reaction from the code.
Forgot i renamed the core package for tile networks a while back. Since
when building the core this package is actually copied into it best i
make sure it is done right.
Too start with i original was avoiding making such a system since it
boils down to an object crafting system. Though with my future and
current plans i decided to start working on it.
The system, when finish, will be able to handle mixing of fluids, Items,
Blocks, and anything to form a result of some kind. The idea is to used
it in the pipes, tanks, brewing stand, boilers, and other machines to
automated the process of mixing fluids. For pipes it will either create
a new fluid, or prevent the pipe from working. Tanks will do the same
but can become filled with blocks or items. Brewing stand will use the
system to create new fluids, gases, potions, foods, drinks, items, and
so on. Boiler will use the simple version of it to convert a fluid to
another fluid without any other processing.