From c7c36ae1236d1ec819b30506873718f537f653c3 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Tue, 30 Jan 2024 07:45:28 -0500 Subject: [PATCH] Chestbursting larva no longer get hive orders when there are no hive orders (#5576) # About the pull request 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
Screenshots & Videos ![image](https://github.com/cmss13-devs/cmss13/assets/91113370/dfc90648-aefa-42a8-a71c-fc9ed064a541)
# Changelog :cl: fix: Chestbursting larva no longer get hive orders when there are no hive orders /:cl: --- code/modules/mob/living/carbon/xenomorph/Embryo.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/Embryo.dm b/code/modules/mob/living/carbon/xenomorph/Embryo.dm index bba6b48c4f38..d0890bd3cf37 100644 --- a/code/modules/mob/living/carbon/xenomorph/Embryo.dm +++ b/code/modules/mob/living/carbon/xenomorph/Embryo.dm @@ -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)