Item filter suggestion: allow OR and AND operators for true/false conditions

For more reliability and code shortness allow OR and AND operators for conditions:
HasExplicitMod AnyEnchantment SynthesisedItem FracturedItem HasInfluence
🌞 Designer of SimpleFilter see My Item Filters 🌞
🌞 I treat PoE as an art 🌞
Last edited by koszmarnica#7777 on Dec 24, 2019, 4:40:45 PM
Last bumped on Jan 4, 2020, 4:06:06 PM
This thread has been automatically archived. Replies are disabled.
+1
Settlers master craft service Settlers My IGN TreeOfDead
https://www.pathofexile.com/forum/view-thread/2037371 Vouch
Settlers veiled crafting all service all crafts mods
Settlers SC master craft service Settlers SC craft mod!
Veiled crafting Service Settlers craft PM: TreeOfDead
A or B = not(not(A) and not(B))


Just code your filter carefully, like we all do...
Let's explore new playstyles - Play it your own way, not just like the others.
Quality management is one of the most underrated success factors in every business...
I dont know what You exactly mean but there is no NOT operator and like I understand
A or B = not(not(A) and not(B)) is not equal. Condition as AND is possible in that way:
A = false
B = false
C = false
or any combination false/true
all in that way are equal to A and B and C etc
There is no possibility to catch OR:
A or B or C or D etc, in condition only with false/true arguments like AnyEnchantment etc
🌞 Designer of SimpleFilter see My Item Filters 🌞
🌞 I treat PoE as an art 🌞
You could get OR behavior something like this

Hide
BaseType "Opal Wand"
FracturedItem False
SynthesisedItem False

Show
BaseType "Opal Wand"
FracturedItem True

Show
BaseType "Opal Wand"
SynthesisedItem True
Wish the armchair developers would go back to developing armchairs.

◄[www.moddb.com/mods/balancedux]►
◄[www.moddb.com/mods/one-vision1]►
Last edited by raics#7540 on Dec 2, 2019, 8:14:09 AM
This is not OR. You make unnecessary blocks of code.
🌞 Designer of SimpleFilter see My Item Filters 🌞
🌞 I treat PoE as an art 🌞
Last edited by koszmarnica#7777 on Dec 2, 2019, 11:46:27 AM
Sure it is, it will show the item if it's sythesized, fractured or both, everything else in those groups just has to be the same. Sure, you're doubling it but who cares, maybe it's even better performance-wise than if their algorithm checked for OR. The part that hides it is probably unnecessary if you got something on the bottom that hides everything else.
Wish the armchair developers would go back to developing armchairs.

◄[www.moddb.com/mods/balancedux]►
◄[www.moddb.com/mods/one-vision1]►
All what You suggest is what We want omit.
🌞 Designer of SimpleFilter see My Item Filters 🌞
🌞 I treat PoE as an art 🌞
Right, correct me if I'm wrong but what they currently have is a simple system that does the job. You want them to make it more complicated so your filter code would look nicer?
Wish the armchair developers would go back to developing armchairs.

◄[www.moddb.com/mods/balancedux]►
◄[www.moddb.com/mods/one-vision1]►
I want make it more complicated ?! Did You right understand the problem ? Read it again. I don't know if You know how filter works if You saying:
"
raics wrote:
maybe it's even better performance-wise than if their algorithm checked for OR
because such operator exists already but in hidden form, as I write before about Class arguments...
🌞 Designer of SimpleFilter see My Item Filters 🌞
🌞 I treat PoE as an art 🌞

Report Forum Post

Report Account:

Report Type

Additional Info