Integrated Tunnels

Integrated Tunnels

53M Downloads

Feature: Allow multiple filters on Exporters?

BiatuAutMiahn opened this issue ยท 6 comments

commented

Normally you can only use one, like Export all Items, Export Item(s), etc It would be useful to allow us to set multiple conditions. Like Export All Items, and The use of a list, or an item.

commented

The aspects increase in expressivity, the earlier ones can be expressed in terms of the ones after that, so I see no need for this.

commented

So If i make a condition that is bool, can it still filter out items of a given type?

In an exporter, I have a var that says if an inventory is less than 2 then return true. But would this work: (Inv()<2&&Item=Blank) Would that work?

commented

Yes, you can do that using an operator.

commented

ok, cool. The only problem is that I still don't understand how to use those. I get the concept of a lambda, but I don't know how to use an operator.

commented

I'm writing a manual, in which I will explain operators in detail.

commented

ok, sounds good