Skip to content

task: Hide disabled pob recipes #264

Open
Open

Description

@dd84ai

What to do

  • if recipe has noassigned factory, treat it as broken
  • validate recipes have crafting module to them
  • if crafting module does not have build_type, treat it as broken

if item has no selling locations and only broken recipe, then do not show it in tabs like Ships by default.

  • That part will be a bit confusing how to implement :|

add a note to broken recipes (NO CRAFTABLE FACTORY)

Related conversation

Krmloo — 3:33 AM
you can hide the sellpoint when there are no valid recipes
which will hide ships and equipment that only have invalid pob recipes as sources
and add some disclaimer to equipment that has both a valid and an invalid source

Darkwind (On Break For Long) — 3:36 AM
That is a workable solution i think, implementable with very little of code logic potentially and no performance drawbacks to fight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions