Item Processor Basics - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
The Item Processor code was a highly customizable system to create machines (Buildings) that can take from 1 to 3 inputs and produce a given output. Unfortunately, it's code was also a REAL MESS, as it grew uncontrollably and bits and pieces of code were added over the years as they were needed, making it a hell to maintain.
We have removed Item Processor from the VE Framework, and swapped it for the Pipe System! The new code is much prettier, and the new system works much better for the players, which is the important part (example, you can now copy and paste processes!)
- Buildings no longer need a custom class. You can remove this, as the code isn't even there anymore:
<thingClass>ItemProcessor.Building_ItemProcessor</thingClass>
- Buildings need a comp. This was the case before, it's just a new comp now, PipeSystem.CompProperties_AdvancedResourceProcessor
- ItemAcceptedDef and CombinationDef are now gone, and instead there is a ProcessDef that links everything together. Processes are linked through the aforementioned comp
- The building needs:
<inspectorTabs>
<li>PipeSystem.ITab_Processor</li>
</inspectorTabs>
To show a tab to choose the active process