Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Terragg opened this issue Aug 5, 2018 · 1 comment
Open

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

Terragg opened this issue Aug 5, 2018 · 1 comment

Comments

@Terragg
Copy link
Contributor

Terragg commented Aug 5, 2018

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.

@DoctorVanGogh
Copy link
Collaborator

Potential duplicate/regression of #10

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

No branches or pull requests

2 participants