Skip to content

TCOMMS: Please no on when off - #12773

Open
Drulikar wants to merge 4 commits into
cmss13-devs:masterfrom
Drulikar:stupid_tcomms
Open

TCOMMS: Please no on when off#12773
Drulikar wants to merge 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
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: Awaiting Review

Development

Successfully merging this pull request may close these issues.

1 participant