Skip to content

Allow Crab Barriers to be set to 0#9525

Merged
LocalIdentity merged 1 commit intoPathOfBuildingCommunity:devfrom
jopotochny:crab-barrier-spider-webs-cannot-set-to-0
Mar 5, 2026
Merged

Allow Crab Barriers to be set to 0#9525
LocalIdentity merged 1 commit intoPathOfBuildingCommunity:devfrom
jopotochny:crab-barrier-spider-webs-cannot-set-to-0

Conversation

@jopotochny
Copy link
Contributor

@jopotochny jopotochny commented Mar 4, 2026

Description of the problem being solved:

When I have aspect of the crab, I cannot set the number of barriers to 0. This means I cannot see my physical max hit on 0 barriers which seems odd.

Spider webs do work, but I think its type should also be countAllowZero to be consistent (works because it looks like we just added a if val > 0 then check to the apply function)

Steps taken to verify a working solution:

Set them to 0, saw that it properly calculated the max hit.

Before screenshot:

image image

After screenshot:

image image

@jopotochny jopotochny changed the title change the 'type change the 'type' of crab barriers/spider webs to be countAllowZero Mar 4, 2026
@LocalIdentity LocalIdentity changed the title change the 'type' of crab barriers/spider webs to be countAllowZero Allow Crab Barriers to be set to 0 Mar 5, 2026
@LocalIdentity LocalIdentity added the user-interface Changes that only affect the UI label Mar 5, 2026
@LocalIdentity LocalIdentity merged commit ec0f20e into PathOfBuildingCommunity:dev Mar 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

user-interface Changes that only affect the UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants