holosphere fixes (#7023)

## About The Pull Request
if you switch to a loadout using the change loadout verb/ability then
unused slots get replaced with a blank icon / 'nothing'
when embedding an object into a bodypart, don't try covering the object
in blood if the species has no blood
the holosphere's shell understands whatever the hologram understands,
thereby fixing things like the AI's name becoming "synthesized voice"

## Why It's Good For The Game
fixes to intended behaviour

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and it's effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

🆑
fix: if you switch to a loadout using the change loadout verb/ability
then unused slots get replaced with a blank icon / 'nothing'
fix: when embedding an object into a bodypart, don't try covering the
object in blood if the species has no blood
fix: the holosphere's shell understands whatever the hologram
understands
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
This commit is contained in:
Timothy Teakettle
2025-03-06 20:48:53 +01:00
committed by GitHub
parent ef19e75993
commit 4cd153f458
3 changed files with 15 additions and 13 deletions
+2 -1
View File
@@ -1275,7 +1275,8 @@ Note that amputating the affected organ does in fact remove the infection from t
implants += W
owner.embedded_flag = 1
add_verb(owner, /mob/proc/yank_out_object)
W.add_blood(owner)
if(!(owner.species.species_flags & NO_BLOOD))
W.add_blood(owner)
W.forceMove(owner)
/obj/item/organ/external/removed(var/mob/living/user, var/ignore_children = 0)