Skip to content

Commit

Permalink
Chestbursting larva no longer get hive orders when there are no hive …
Browse files Browse the repository at this point in the history
…orders (#5576)

# About the pull request

<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

If there are no hiveorders, larva that chest burst no longer are told
that their orders are to "".

# Explain why it's good for the game
Its not very helpful when theres no orders.

![image](https://github.com/cmss13-devs/cmss13/assets/91113370/1170f802-f66d-4745-ad16-4300181d017c)



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


![image](https://github.com/cmss13-devs/cmss13/assets/91113370/dfc90648-aefa-42a8-a71c-fc9ed064a541)

</details>


# Changelog
:cl:
fix: Chestbursting larva no longer get hive orders when there are no
hive orders
/:cl:
  • Loading branch information
Contrabang committed Jan 30, 2024
1 parent 8b8407a commit c7c36ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/mob/living/carbon/xenomorph/Embryo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,9 @@
qdel(larva_embryo)

if(!victim.first_xeno)
to_chat(larva_embryo, SPAN_XENOHIGHDANGER("The Queen's will overwhelms our instincts..."))
to_chat(larva_embryo, SPAN_XENOHIGHDANGER("\"[hive.hive_orders]\""))
if(hive.hive_orders)
to_chat(larva_embryo, SPAN_XENOHIGHDANGER("The Queen's will overwhelms our instincts..."))
to_chat(larva_embryo, SPAN_XENOHIGHDANGER("\"[hive.hive_orders]\""))
log_attack("[key_name(victim)] chestbursted in [get_area_name(larva_embryo)] at X[victim.x], Y[victim.y], Z[victim.z]. The larva was [key_name(larva_embryo)].") //this is so that admins are not spammed with los logs

for(var/obj/item/alien_embryo/AE in victim)
Expand Down

0 comments on commit c7c36ae

Please sign in to comment.