Skip to content

get_sku_properties() yielding wrong sku for Strange Parts #25

Description

@StrangePlay02

In sku.py:

def get_sku_properties(item: Item | dict) -> dict:
   ......

    # e.g. strange unusual
    if quality != 11:
        sku_properties["strange"] = item.has_strange_in_name()

    return sku_properties

Since Strange Parts are unique (quality == 6), sku_properties["strange"] is TRUE and later in to_sku() concatenate ';strange;' at the end of the sku formed. For example, Strange Part: Kills While Explosive Jumping will give something like : {'sku': '6022;6;strange',..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions