Skip to content

Commit

Permalink
New Icon: Red Skull for players dead from Hardcore trait/mode (#4099)
Browse files Browse the repository at this point in the history
# About the pull request

Adds a red skull to differentiate between HC death and normal perma.

# Explain why it's good for the game

Medhud and OOC observers can tell very quickly when they watch someone
die if they were HC or not. This adds a bit of cool factor to things,
and removes ambiguity for those who have that info immediately on hand
anyway.


# Testing Photographs and Procedure
Verified both with hardcore trait and gamemode enabled. Xenos also
should still only see the white skull and will not get extra info.
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog

:cl:
ui: Hardcore deaths are now marked with a unique red skull
imageadd: Red skull added for hardcore deaths
/:cl:
  • Loading branch information
blackdragonTOW authored Aug 8, 2023
1 parent 6fa6696 commit a68173b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/mob_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ var/list/datum/mob_hud/huds = list(
holder2_set = 1
return

holder.icon_state = "huddead"
holder.icon_state = HAS_TRAIT(src, TRAIT_HARDCORE) || MODE_HAS_TOGGLEABLE_FLAG(MODE_HARDCORE_PERMA) ? "hudhcdead" : "huddead"
if(!holder2_set)
holder2.icon_state = "huddead"
holder2.icon_state = holder.icon_state
holder3.icon_state = "huddead"
holder2_set = 1

Expand Down
Binary file modified icons/mob/hud/hud.dmi
Binary file not shown.

0 comments on commit a68173b

Please sign in to comment.