Project Red - Fabrication

Project Red - Fabrication

19M Downloads

Regex Sorting pipe

Morketh opened this issue ยท 4 comments

commented

essentially it would be able to take a string value and compare it against the item/block name and sort it accordingly this would be extremely helpful when there are several ore types. as it is i have 5 diamond pipes set up to sort out ores and send them to a processing facility this addition would be able to eliminate 4 of them and sore out anything matching "ore" into a side pipe/inventory

commented

i have no ideas of yet as to what the recipe should be but i would think maybe some sort of logic gate (comparator?? ) + a diamond pipe
for an inverted Regex maybe a Not + diamond pipe + comparator

you know on second thought i dont think you would need an inverted regex

commented

I would advise against going full regex, but support for '.', '*', and '+' would be nice.

commented

Not sure about this. Unless it has changed, from what i remember, the server doesn't have access the the actual names of items, only the unlocalized ones.

commented

This may be added as a responder feature in the future if there is an easy way to let a server know which language you are using, and the true names for each item for those given languages.