mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 08:35:39 +01:00
Makes alien hive node give alien language (#18929)
* Makes xeno language be given with hive organ * yep this * whoops
This commit is contained in:
@@ -108,6 +108,16 @@
|
||||
icon_state = "xenode"
|
||||
organ_tag = O_HIVE
|
||||
|
||||
/obj/item/organ/internal/xenos/hivenode/replaced(var/mob/living/carbon/human/target,var/obj/item/organ/external/affected)
|
||||
..()
|
||||
target.add_language(LANGUAGE_HIVEMIND) //You need this to speak the language, so...
|
||||
|
||||
/obj/item/organ/internal/xenos/hivenode/removed(var/mob/living/user)
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/human = user
|
||||
human.remove_language(LANGUAGE_HIVEMIND)
|
||||
..()
|
||||
|
||||
/obj/item/organ/internal/xenos/hivenode/grey
|
||||
icon_state = "xenode_grey"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user