TheLimePixel / GregicAdditions

An addon for GregTech Community Edition with the goal of making it much more complicated and realistic through the use of GregTech 5 Unofficial and GregTech 6 features.
17 stars 49 forks source link

Make drum fullness measurable via comparator. #34

Closed fluffle closed 5 years ago

fluffle commented 5 years ago

Hi there,

I'm really enjoying gregblock, but not being able to tell how full any tanks were was really irritating me. So, here's a patch! I've tested it for all of 2 minutes, and Java is not a language I'm super-familiar with, so please be lenient :-)

Cheers, --fluffle

fluffle commented 5 years ago

Ignore this for a sec, I need to change the maths to only return 0 when empty and use 1+(14*amount/capacity) for the signal :-)

fluffle commented 5 years ago

Done, PTAL!