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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardized Health - Destroyable Airlocks #34572

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

SierraKomodo
Copy link
Contributor

@SierraKomodo SierraKomodo commented Apr 14, 2024

Changelog

馃啈 SierraKomodo
rscadd: Airlocks can now be broken completely open with enough damage. Note that the frame of an airlock is much sturdier than the control panel, so damaging it further than a broken panel requires a much stronger weapon (~35 force),
/:cl:

Other Changes

  • Added /atom/var/health_flags property.
  • Replaced /atom/var/health_dead with HEALTH_FLAG_DEAD.
  • Updated /atom/proc/health_dead() to also check if health_max is defined.
  • Added HEALTH_DEAD(X) macro.

Notes

  • The broken flag stuff is planned to be used when I get organs running on standardized health as well. In fact, a WIP branch of that is what inspired this in the first place.
  • Technically needs a sprite, but the open sprite works well enough until someone less lazy gets to it.
  • The damage required to fully break the airlock probably needs tweaking, but I didn't want it to be "Anything can do this".

@SierraKomodo
Copy link
Contributor Author

dreamseeker_WZy5Zu9zkw.mp4

@SierraKomodo SierraKomodo force-pushed the project/standardized-health/health-flags branch from 9415a18 to d0f21e0 Compare April 14, 2024 01:35
@@ -0,0 +1,41 @@
/obj/structure/broken_door
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably worth getting a new sprite for broken doors, it may get confusing otherwise. Wouldn't consider it a blocker though.

//#include "example\map.dm"
#include "torch\map.dm"
#include "example\map.dm"
//#include "torch\map.dm"
Copy link
Contributor

Choose a reason for hiding this comment

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

You forgot this in here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants