Skip to content

Commit

Permalink
Fix Larva and Ovi Queen Ghost Icons (#3805)
Browse files Browse the repository at this point in the history
# About the pull request

This PR fixes the ghost sprite for larva and ovi queens.

# Explain why it's good for the game

Fixes #3308 and ovi queen ghost sprites.

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>


![image](https://github.com/cmss13-devs/cmss13/assets/76988376/3283ae49-7013-47cb-8831-aa5717e2677f)

</details>


# Changelog
:cl: Drathek
fix: Fixed ghost icons for larva and ovi queen
/:cl:
  • Loading branch information
Drulikar committed Jul 6, 2023
1 parent da59ac9 commit ada18f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Larva.dm
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@
else
icon_state = "[state_override || state]Larva"

/mob/living/carbon/xenomorph/larva/alter_ghost(mob/dead/observer/ghost)
ghost.icon_state = "[caste.caste_type]"

/mob/living/carbon/xenomorph/larva/handle_name()
return

Expand Down
4 changes: 4 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Queen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -940,3 +940,7 @@

// Switch icon back and then let normal icon behavior happen
Queen.icon = Queen.queen_standing_icon

/mob/living/carbon/xenomorph/queen/alter_ghost(mob/dead/observer/ghost)
ghost.icon = queen_standing_icon
return ..()

0 comments on commit ada18f7

Please sign in to comment.