[Schematic] ResourcesBarv1

Views: 916
schematic preview
1

Simple bar chart display for the 16 storable Serpulo resources.

Should be linked to: memoryCell, display, core.
In code for Logic Processor, update lines 2-4 with names of the three linked elements.

Bars will display split in two as a function of the percentage of your max storage - the left half of each bar is a straight percentage bar, the right half of each bar is in exponential form for more detail as you approach totally full for the resource.

Micro Processor iss there to set the colors for the bars into the memory cell and isn't strictly necessary. If you want to change the colors make sure the M. Processor is linked to the memory cell and that the cell name is correct in lines 112-127

copper90lead570metaglass100graphite90thorium50silicon310phase-fabric75