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

Handle apparel that isn't armor more gracefully #2972

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

perkinslr
Copy link
Contributor

Changes

If apparel offers 0 protection against sharp, blunt, or fire, don't warn when the pen system can't handle it gracefully.

Reasoning

Avoids log spam for nv goggles and the like.

Alternatives

implement our own warnOnce like function to not drop red errors in the log

Testing

Check tests you have performed:

  • Compiles without warnings
  • Game runs without errors
  • (For compatibility patches) ...with and without patched mod loaded
  • Playtested a colony (specify how long)

@perkinslr perkinslr requested review from a team as code owners February 1, 2024 10:25
Copy link

github-actions bot commented Feb 1, 2024

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-7739752141.zip

@github-actions github-actions bot added the Download in Comments This PR has a zipfile download available. label Feb 1, 2024
@perkinslr perkinslr force-pushed the handle-0-protection-armor branch from 6e4f2dd to 2a52401 Compare February 1, 2024 22:21
Copy link

github-actions bot commented Feb 1, 2024

You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-7748393987.zip

Copy link
Contributor

@N7Huntsman N7Huntsman left a comment

Choose a reason for hiding this comment

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

No issues in my testing.

@N7Huntsman N7Huntsman merged commit 670c77d into Development Feb 18, 2024
2 checks passed
@N7Huntsman N7Huntsman deleted the handle-0-protection-armor branch February 18, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Download in Comments This PR has a zipfile download available.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants