reverse_entity_type_filters please
reverse_entity_type_filters please
Prototype/SelectionTool has
entity_filters
alt_entity_filters
entity_type_filters
alt_entity_type_filters
but no reverse_entity_filters or reverse_entity_type_filters.
"reverse" can't help it they are a little bit backward - they still deserve some filter love? please?
entity_filters
alt_entity_filters
entity_type_filters
alt_entity_type_filters
but no reverse_entity_filters or reverse_entity_type_filters.
"reverse" can't help it they are a little bit backward - they still deserve some filter love? please?
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: reverse_entity_type_filters please
Can I ask what "reverse" is supposed to mean in this context?
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: reverse_entity_type_filters please
Selection tools have 3 events:
Normal select (left-drag)
on_player_selected_area
Alt select (default shift-left-drag) - vanilla use is to cancel upgrades, deconstruction etc.
on_player_alt_selected_area
Reverse select (default right-drag) - vanilla use is to downgrade with the upgrade planner (see image below)
on_player_reverse_selected_area
So a single selection-tool can be used for 3 different actions.
In my case:
Normal select (left-drag)
on_player_selected_area
Alt select (default shift-left-drag) - vanilla use is to cancel upgrades, deconstruction etc.
on_player_alt_selected_area
Reverse select (default right-drag) - vanilla use is to downgrade with the upgrade planner (see image below)
on_player_reverse_selected_area
So a single selection-tool can be used for 3 different actions.
In my case:
- normal select for selecting source entities
- reverse-select to select destination entities (and execute the required action)
- alt-select to select entities as both source and destination (and execute)
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: reverse_entity_type_filters please
I'm sorry, but while I already understand that there currently exist 3 selection modes, I'm afraid after reading your post multiple times I'm still no closer to understanding what you're wanting. :/
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: reverse_entity_type_filters please
Last edited by robot256 on Tue Jun 14, 2022 6:24 pm, edited 1 time in total.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: reverse_entity_type_filters please
Last edited by FuryoftheStars on Tue Jun 14, 2022 6:11 pm, edited 1 time in total.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: reverse_entity_type_filters please
I'm talking specifically about the filters...
EG: For normal select I can specify entity_type_filters so the selection-tool will only select wooden-chests...
Similarly there is alt_entity_type_filters to restrict what the selection-tool will select when shift is held down.
But there is no reverse_entity_type_filters property for right-drag mode - so reverse select will always select all entities.
EG: For normal select I can specify entity_type_filters so the selection-tool will only select wooden-chests...
Code: Select all
entity_type_filters = { "wooden-chest"}
But there is no reverse_entity_type_filters property for right-drag mode - so reverse select will always select all entities.
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: reverse_entity_type_filters please
Ahhhh, ok, I get it now. Yes, that would be good to have.moon69 wrote: ↑Tue Jun 14, 2022 5:57 pmI'm talking specifically about the filters...
EG: For normal select I can specify entity_type_filters so the selection-tool will only select wooden-chests...Similarly there is alt_entity_type_filters to restrict what the selection-tool will select when shift is held down.Code: Select all
entity_type_filters = { "wooden-chest"}
But there is no reverse_entity_type_filters property for right-drag mode - so reverse select will always select all entities.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: reverse_entity_type_filters please
I thought they already were implemented. At least the prototype browser shows fields for reverse filters: Alas, they don't work (I've tried to copy alt_entity_type_filters, but this didn't have any effect), so I'm looking forward to the next version!
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!