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

fix: Fix FillableContainer default WeaponSmith #2065

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Reetus
Copy link
Contributor

@Reetus Reetus commented Jan 14, 2025

Not sure if there is a way to set a default value when using SerializableProperty...

But FillableContentType.None is -1, whilst FillableContentType.Weaponsmith is 0, and AcquireContent doesn't do anything if the ContentType is not .None, therefore all FillableContainer's end up being Weaponsmith

public FillableContainer(int itemID) : base(itemID)
{
Movable = false;
ContentType = FillableContentType.None;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approved but I may change this to the field instead of the property to avoid the overhead setter.

@Bohicatv
Copy link
Contributor

Bohicatv commented Jan 14, 2025

I resolved this awhile ago and all I did was change each container type instead of assigning a specific overhead type from the list.

I forgot about the region issues. Nice fix.

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.

3 participants