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

Facehuggers now bypass time of death checks when joining as Larva #3940

Merged
merged 4 commits into from
Jul 20, 2023

Conversation

Ben10083
Copy link
Contributor

@Ben10083 Ben10083 commented Jul 19, 2023

About the pull request

Facehuggers (and other ghost roles? (#3939))[this functionality will have to be added in said PR] now bypass the five minute time of death check, letting them join as a larva via queue or.. join as larva button.

Explain why it's good for the game

With infection timer at 7.5 minutes, this means that after you die as facehugger, a large portion of the infection time is spent as unjoinable, which isnt a problem for a host YOU infected, but for others, you would get skipped over due to time of death. This allows for more leniency when playing as low-survivablity ghost roles.

Code added can also be expanded, I am sure the new variable can fit in other places.

Changelog

🆑
add: Facehuggers now bypass time of death checks when being considered for larva.
code: new variable for observers to handle bypass of time of death checks
/:cl:

@github-actions github-actions bot added Feature Feature coder badge Code Improvement Make the code longer labels Jul 19, 2023
Copy link
Contributor

@Drulikar Drulikar left a comment

Choose a reason for hiding this comment

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

You likely also want to change the same check in /mob/living/proc/do_ghost(): https://github.com/cmss13-devs/cmss13/pull/3940/files#diff-08897ff01ebb08d739f4a3e87da529ac87080df7a6bfbe17fdfd85d5a2e5b401L417 Unless you want ghosting to have the same effect; not just death.

code/modules/mob/dead/observer/observer.dm Outdated Show resolved Hide resolved
@Drulikar Drulikar marked this pull request as draft July 19, 2023 20:01
Co-authored-by: Drathek <[email protected]>
@Ben10083
Copy link
Contributor Author

Thanks for heads up regarding ghosting.

@Ben10083 Ben10083 marked this pull request as ready for review July 19, 2023 20:15
@Ben10083 Ben10083 requested a review from Drulikar July 19, 2023 20:15
@morrowwolf morrowwolf added this pull request to the merge queue Jul 20, 2023
Merged via the queue into cmss13-devs:master with commit 5d11788 Jul 20, 2023
28 checks passed
github-actions bot added a commit that referenced this pull request Jul 20, 2023
cm13-github added a commit that referenced this pull request Jul 20, 2023
@Ben10083 Ben10083 deleted the Bypass_TimeofDeath branch July 22, 2023 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Make the code longer Feature Feature coder badge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants