[added] can travel tunnel by key#2486
Open
mugg91 wants to merge 1 commit intotranshumandesign:masterfrom
Open
Conversation
TerminalHash
added a commit
to TerminalHash/Gruhsha-CTF
that referenced
this pull request
Dec 6, 2025
Contributor
Author
|
Note: Right team can just spam 1 to go to the leftmost tunnel, while Left team needs to find the correct key first... |
Contributor
Author
|
Perhaps tunnels should get assigned a number on creation, regardless of the order they appear in in the travel menu. But I think numbers on buttons is a must. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This lets you select a tunnel in the tunnel travel menu by num key, similar to how you can do it in shops.
The keys are 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, from left to right for both teams.
The originating tunnel that says "You are here" is omitted.
I didn't find a way to put a small number on the CGridButtons to quickly see the number to press to travel there.
It would be nice. Otherwise let me know how to implement it or how to otherwise improve this.
Tested in offline, works.
Test
Place at least 3 tunnels.
Open tunnel travel menu:
Related PR
#2369