Skip to content

[Issue] Clothing quality set to 'normal' when Splurged. #38

@Terragg

Description

@Terragg

Any apparel's quality is set to normal (regardless of what it was when added) when it is splurged - whether the container was deconstructed or the filter changed. This does not occur when a pawn takes an item from the container.

It looks like when the container splits an item off of its internal stack, it copies the data of the stored item, removes it, and then spawns the item. It does explictly set the item's current hitpoints during the copy. But it does not explictly set the quality - I suspect that the default value for spawned items is 'normal' - so it looks like the items quality was 'changed' to normal, but really the item just inherited a default from somewhere.

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