[2.0] How to get filters from asteroid-collector
Posted: Tue Dec 03, 2024 5:56 pm
Hello,
I would like to get/set the active filter from an asteroid-collector however I cannot find the function, what I tried:
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
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
Kind regards,
Maarten