Skip to content

Toggle Melee Blocking#12667

Open
realforest2001 wants to merge 1 commit into
cmss13-devs:masterfrom
realforest2001:forest/blocktoggle
Open

Toggle Melee Blocking#12667
realforest2001 wants to merge 1 commit into
cmss13-devs:masterfrom
realforest2001:forest/blocktoggle

Conversation

@realforest2001

@realforest2001 realforest2001 commented Jul 17, 2026

Copy link
Copy Markdown
Member

About the pull request

Allows human mobs to toggle if they want to block with their melee weapons or not. This does not apply to physical shields like the riot shield.

Raised guard will run the percentage checks to block/check if directions are correct.
Lowered guard will only check if a physical shield is being used to block and then continue.
Neither setting will affect armor blocking pounces nor shields on their back.

Melee Guard status will display in the status tab for easy reference.

Explain why it's good for the game

People want the flexibility to not always block, particularly some pred players. This allows the system to remain functional for circumstances where it is desired, whilst also allowing the freedom to choose.

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
add: Added the ability to choose not attempt blocks with melee weapons. Keybind and IC tab verb available for toggle.
/:cl:

@github-project-automation github-project-automation Bot moved this to Awaiting Review in Review Backlog Jul 17, 2026
@cmss13-ci cmss13-ci Bot added Feature Feature coder badge size/M Denotes a PR that changes 50-199 lines, ignoring generated files. labels Jul 17, 2026
@cm13-github

cm13-github commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Test merge deployment history:

Test Merge Deployed @ 07/17/2026 00:08:37 +00:00:
Server Instance

CM13 Live

Revision

Origin: bbc523c
Pull Request: 809f05f
Server: 29f87fa

Test Merge Updated @ 07/17/2026 06:57:53 +00:00:
Server Instance

CM13 Live

Revision

Origin: 2edb173
Pull Request: 809f05f
Server: df663d68a79baa9df8bebe80a4d9711300725228

Test Merge Updated @ 07/17/2026 20:27:33 +00:00:
Server Instance

CM13 Live

Revision

Origin: 2edb173
Pull Request: 809f05f
Server: 1ddf415

Test Merge Updated @ 07/18/2026 03:05:33 +00:00:
Server Instance

CM13 Live

Revision

Origin: 8f06b5c
Pull Request: 809f05f
Server: bdf9fe128758200c72f5555bc77cc94d2d067e6f

Test Merge Updated @ 07/18/2026 04:04:01 +00:00:
Server Instance

CM13 Live

Revision

Origin: 8f06b5c
Pull Request: 809f05f
Server: 62b2c3b

Test Merge Updated @ 07/18/2026 09:08:09 +00:00:
Server Instance

CM13 Live

Revision

Origin: 8f06b5c
Pull Request: 809f05f
Server: e77d0d2

Test Merge Updated @ 07/18/2026 13:26:08 +00:00:
Server Instance

CM13 Live

Revision

Origin: 8f06b5c
Pull Request: 809f05f
Server: f09f6ee

Test Merge Updated @ 07/18/2026 14:11:21 +00:00:
Server Instance

CM13 Live

Revision

Origin: 8f06b5c
Pull Request: 809f05f
Server: 21b09b4

Test Merge Updated @ 07/18/2026 15:18:50 +00:00:
Server Instance

CM13 Live

Revision

Origin: 8f06b5c
Pull Request: 809f05f
Server: cf0ce73

Test Merge Updated @ 07/18/2026 16:11:05 +00:00:
Server Instance

CM13 Live

Revision

Origin: 8f06b5c
Pull Request: 809f05f
Server: 42b5963

Test Merge Updated @ 07/19/2026 05:15:51 +00:00:
Server Instance

CM13 Live

Revision

Origin: 236040e
Pull Request: 809f05f
Server: 4bb6b9e67ab477c644efb963683e637d65756bcb

Test Merge Updated @ 07/19/2026 08:17:36 +00:00:
Server Instance

CM13 Live

Revision

Origin: 36e499a
Pull Request: 809f05f
Server: ef14afe0b104c2f0ba3dd346d4427075b8df2806

Test Merge Updated @ 07/19/2026 13:44:35 +00:00:
Server Instance

CM13 Live

Revision

Origin: 36e499a
Pull Request: 809f05f
Server: ae73755

Test Merge Updated @ 07/19/2026 15:20:22 +00:00:
Server Instance

CM13 Live

Revision

Origin: 36e499a
Pull Request: 809f05f
Server: bba7789

Test Merge Updated @ 07/19/2026 17:21:49 +00:00:
Server Instance

CM13 Live

Revision

Origin: a53136d
Pull Request: 809f05f
Server: 9c7ac020e9b5579222f1b32114e3dd14533f70a4

Test Merge Updated @ 07/20/2026 03:55:36 +00:00:
Server Instance

CM13 Live

Revision

Origin: 0bdad2e
Pull Request: 809f05f
Server: 83b0e90edb7d2d4c41ca87ea36018f187fcbca6c

Comment on lines +111 to +114
if(HAS_TRAIT(src, TRAIT_LOWERED_GUARD))
. += "Melee Guard: Lowered, not blocking."
else
. += "Melee Guard: Raised, blocking when able."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That should only show if you have a compatible weapon, otherwise it clutters objectives display

@github-project-automation github-project-automation Bot moved this from Awaiting Review to Changes Requested in Review Backlog Jul 17, 2026
@SerheyKr SerheyKr mentioned this pull request Jul 17, 2026
3 tasks
@Mister-moon1

Copy link
Copy Markdown
Contributor

the current status and text box message do not correlate properly with one another, I.E one says youre blocking while the other doesnt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Feature coder badge size/M Denotes a PR that changes 50-199 lines, ignoring generated files.

Projects

Status: Changes Requested

Development

Successfully merging this pull request may close these issues.

4 participants