Search found 7 matches

by TeXiCiTy
Fri Oct 24, 2025 9:41 pm
Forum: Modding help
Topic: Function to evaluate ItemWithQualityCount with ItemFilter
Replies: 1
Views: 85

Re: Function to evaluate ItemWithQualityCount with ItemFilter

A possible solution if no default function is available below.
Performance-wise a native function would still be preferred.

local quality_levels = {
["normal"] = 1,
["uncommon"] = 2,
["rare"] = 3,
["epic"] = 4,
["legendary"] = 5
}

function item_matches_filter(item, filter)
-- Check name ...
by TeXiCiTy
Fri Oct 24, 2025 9:25 pm
Forum: Modding help
Topic: Function to evaluate ItemWithQualityCount with ItemFilter
Replies: 1
Views: 85

Function to evaluate ItemWithQualityCount with ItemFilter

Does a standard function exist to check if an Item satisfies a Filter?

Given for example an item:
{name = "automation-science-pack", quality = "normal"}
and a filter:
{name = "automation-science-pack", quality = "uncommon", comparator = "<"}

I want to check if the item satisfies the filter and don ...
by TeXiCiTy
Mon Jul 31, 2023 5:12 pm
Forum: Modding help
Topic: Overflow Splitter Mod
Replies: 3
Views: 1528

Re: Overflow Splitter Mod

If you want to mod a splitter, you can mod it this way for me :lol:
by TeXiCiTy
Fri Feb 04, 2022 3:40 pm
Forum: Modding interface requests
Topic: Rocket silo: allow landing rockets
Replies: 9
Views: 3716

Re: Rocket silo: allow landing rockets

SpaceXing the rockets back to a landing pad would be so insanely cool :o
by TeXiCiTy
Fri Feb 04, 2022 3:30 pm
Forum: Ideas and Requests For Mods
Topic: Filtering Splitter - Full output behavior
Replies: 3
Views: 2197

Re: Filtering Splitter - Full output behavior

Searching for a solution once again, but there just isn't an option to change splitter behaviour, is there?
TransportBeltConnectable Prototype / Splitter Prototype


Wouldn't that be enough ? splitfilter.png

Doesn't work with a 'rainbow' belt containing mixed contents.

Edits, thinking out loud ...
by TeXiCiTy
Sat Aug 01, 2020 9:31 am
Forum: Ideas and Requests For Mods
Topic: Filtering Splitter - Full output behavior
Replies: 3
Views: 2197

Re: Filtering Splitter - Full output behavior

Here's a more sophisticated application. I have a 'rainbow' belt on which I put a lot of different items.
Upstream I only put items on the belt if they are needed downstream.
I create a 'request signal' based on chest inventory downstream.
factorio3.png
The 'Belt sorter' mod has some features to ...
by TeXiCiTy
Sat Jul 25, 2020 3:19 pm
Forum: Ideas and Requests For Mods
Topic: Filtering Splitter - Full output behavior
Replies: 3
Views: 2197

Filtering Splitter - Full output behavior

Hello fellow Factorians,

I was wondering if a small addition to the splitter is possible. I use the splitter filter function a lot to get specific items from mixed belts but it takes quite a lot of tiles to put them back on. A toggle option like the one in the attached screenshot would make my ...

Go to advanced search