[2.0] How to get filters from asteroid-collector

Place to get help with not working mods / modding interface.
User avatar
gangerM
Burner Inserter
Burner Inserter
Posts: 18
Joined: Thu Nov 28, 2024 5:32 pm
Contact:

[2.0] How to get filters from asteroid-collector

Post by gangerM »

Hello,

I would like to get/set the active filter from an asteroid-collector however I cannot find the function, what I tried:

Code: Select all

Entity.filter_slot_count -- always 0
Entity.get_filter(1) -- nil
Entity.mining_drill_filter_mode -- errors, not a mining drill
Entity.loader_filter_mode -- errors, not a loader
Entity.inserter_filter_mode -- errors, not an inserter
Entity.get_requester_point() -- nil
Can you help me with the call I need for this? I am probably looking over it, but I really can't find it.

Kind regards,
Maarten
User avatar
gangerM
Burner Inserter
Burner Inserter
Posts: 18
Joined: Thu Nov 28, 2024 5:32 pm
Contact:

Re: [2.0] How to get filters from asteroid-collector

Post by gangerM »

Can someone please help me with this?
I really cannot figure out how to get it, I also tried the following:
- going through the output inventory, doesn't work.
- Looking in control behavior and then logistic conditions, also doesn't work.

If you think it might not be possible (yet), please also let me know.
Post Reply

Return to “Modding help”