-
Notifications
You must be signed in to change notification settings - Fork 566
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
No burrow surfacing on lifeboats/unburrowable areas #5603
No burrow surfacing on lifeboats/unburrowable areas #5603
Conversation
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Yeah I gotta fix my base branch-has some artifacts. SHould be good now. |
code/modules/mob/living/carbon/xenomorph/abilities/burrower/burrower_powers.dm
Outdated
Show resolved
Hide resolved
…o-Burrow-On-Lifeboats # Conflicts: # code/modules/mob/living/carbon/xenomorph/abilities/burrower/burrower_powers.dm
…cuzingames/cmss13 into No-Burrow-On-Lifeboats # Conflicts: # code/modules/mob/living/carbon/xenomorph/abilities/burrower/burrower_powers.dm
…cuzingames/cmss13 into No-Burrow-On-Lifeboats
…find in my changes.
Most of the changes were to fix the small grammer stuff. The fix is very small. |
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
var/area/current_area = get_area(T) | ||
if(current_area.flags_area & AREA_NOTUNNEL) | ||
to_chat(src, SPAN_XENOWARNING("There's no way to surface here!!")) | ||
return | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessary; its already done further down at line 129/134 so should revert this change.
The difference is you spend some time trying to tunnel there and find out you can't - which is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without that code, it wouldn't work.
It lets them surface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Drathek <[email protected]>
Going to re-test it another day since I committed suggested changes. Also going to verify my comment that I needed the code stated to be unnecessary. |
var/area/current_area = get_area(T) | ||
if(current_area.flags_area & AREA_NOTUNNEL) | ||
to_chat(src, SPAN_XENOWARNING("There's no way to surface here!!")) | ||
return | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I said I would test at a later date. |
# About the pull request This PR effectively revives the fix from #5603 that was allowing burrowing in lifeboats. The other grammar changes it was doing were for marines, so it would not be correct to we/our them. # Explain why it's good for the game Fixes burrowing into lifeboats. # Testing Photographs and Procedure <details> <summary>Screenshots & Videos</summary> Put screenshots and videos here with an empty line between the screenshots and the `<details>` tags. </details> # Changelog :cl: AtticusRezzer fix: Fixed the incorrect area flag in lifeboats allowing tunneling /:cl:
About the pull request
This is to prevent burrowers from surfacing in areas marked as not tunnleable.
IE the lifeboats in an evac of the almeyer.
Explain why it's good for the game
I think surfacing was an oversight of the original burrow ability.
This will stop goofy burrows that are nonsensical like a burrower emerging inside a lifeboat during a hijack.
HOWEVER, it doesn't stop burrowers from burrowing on the almeyer. Only /area/foobar that are explicitly tagged as flags_area = AREA_NOTUNNEL cannot be emerged from now. before it was just preventing burrowing down into these tiles.
Testing Photographs and Procedure
https://youtu.be/EwlO7mJ017s
Changelog
🆑
fix: fixed burrower ability. Disallowed ability to surface in areas marked as not tunnel-able.
/:cl: