Skip to content

Exclude default modules from searches on inara#854

Open
token419 wants to merge 1 commit intoEDCD:developfrom
token419:develop
Open

Exclude default modules from searches on inara#854
token419 wants to merge 1 commit intoEDCD:developfrom
token419:develop

Conversation

@token419
Copy link

This builds a list of the default modules and then removes them from the current loadout, leading to more accurate searches on inara.

An example where the current system can lead to less accurate results is, when searching a default ship, the hull armor is included, and many more stations may sell the ship than sell the hull armor for the ship, but the hull armor comes default when you buy the ship, even if the station does not sell the hull armor.

The above scenario could happen for any particular E class module as well, where it comes on the ship, but the station itself may not sell it, so therefore would not be a candidate in the current search string.

This builds a list of the default modules and then removes them from the current loadout, leading to more accurate searches on inara.

An example where the current system can lead to less accurate results is, when searching a default ship, the hull armor is included, and many more stations may sell the ship than sell the hull armor for the ship, but the hull armor comes default when you buy the ship, even if the station does not sell the hull armor.

The above scenario could happen for any particular E class module as well, where it comes on the ship, but the station itself may not sell it, so therefore would not be a candidate in the current search string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant