Skip to content

TCOMMS: Please no on when off - #12773

Merged
Git-Nivrak merged 4 commits into
cmss13-devs:masterfrom
Drulikar:stupid_tcomms
Aug 1, 2026
Merged

TCOMMS: Please no on when off#12773
Git-Nivrak merged 4 commits into
cmss13-devs:masterfrom
Drulikar:stupid_tcomms

Conversation

@Drulikar

@Drulikar Drulikar commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

About the pull request

This PR corrects an issue where tcomms were calling tcomms_startup() with the assumption they should always be on when spawned, and nuke only checks the on value so leaving a tower alone was allowing the nuke to be decrypted with a tower effectively ignored.

I also cleaned up some messages of "\The [src.name]" and removed a usage of toggle_state without a user (that could potentially prevent a power change from turning it off)

Explain why it's good for the game

Was intended for all towers to be needed for nuke even if you leave the second tower alone.

Testing Photographs and Procedure

Screenshots & Videos

When testing in USS runtime I had change the results for the is_ground_z define, and set the area to allow special structures (be sure to spawn the towers before the nuke)
image

Also testing on a normal ground map.

Changelog

🆑 Drathek
fix: Static tcomms no longer are "on" when initialized (namely for the purpose of nuke decryption checks)
/:cl:

@github-project-automation github-project-automation Bot moved this to Awaiting Review in Review Backlog Jul 30, 2026
@cmss13-ci cmss13-ci Bot added Fix Fix one bug, make ten more size/XS Denotes a PR that changes 0-19 lines, ignoring generated files. labels Jul 30, 2026
@cmss13-ci cmss13-ci Bot added size/S Denotes a PR that changes 19-49 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-19 lines, ignoring generated files. labels Jul 30, 2026
@github-project-automation github-project-automation Bot moved this from Awaiting Review to Partially Approved / Mergeable in Review Backlog Aug 1, 2026
@Git-Nivrak
Git-Nivrak added this pull request to the merge queue Aug 1, 2026
Merged via the queue into cmss13-devs:master with commit 5574ea5 Aug 1, 2026
29 checks passed
@github-project-automation github-project-automation Bot moved this from Partially Approved / Mergeable to Merged in Review Backlog Aug 1, 2026
@Drulikar
Drulikar deleted the stupid_tcomms branch August 1, 2026 07:00
cmss13-ci Bot added a commit that referenced this pull request Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Fix one bug, make ten more size/S Denotes a PR that changes 19-49 lines, ignoring generated files.

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

2 participants