mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Cultist Memory (#10622)
This commit is contained in:
@@ -7,11 +7,12 @@
|
||||
flags = RESTRICTED | HIVEMIND
|
||||
|
||||
/datum/language/ling/broadcast(var/mob/living/speaker,var/message,var/speaker_mask)
|
||||
|
||||
if(speaker.mind && speaker.mind.changeling)
|
||||
..(speaker,message,speaker.mind.changeling.changelingID)
|
||||
else
|
||||
..(speaker,message)
|
||||
if(speaker.mind)
|
||||
var/datum/changeling/changeling = speaker.mind.antag_datums[MODE_CHANGELING]
|
||||
if(changeling)
|
||||
..(speaker,message, changeling.changelingID)
|
||||
return
|
||||
..(speaker,message)
|
||||
|
||||
/datum/language/corticalborer
|
||||
name = LANGUAGE_BORER
|
||||
|
||||
@@ -210,12 +210,14 @@
|
||||
stat(null, "Suit charge: [cell_status]")
|
||||
|
||||
if(mind)
|
||||
if(mind.vampire)
|
||||
stat("Usable Blood", mind.vampire.blood_usable)
|
||||
stat("Total Blood", mind.vampire.blood_total)
|
||||
if(mind.changeling)
|
||||
stat("Chemical Storage", mind.changeling.chem_charges)
|
||||
stat("Genetic Damage Time", mind.changeling.geneticdamage)
|
||||
var/datum/vampire/vampire = mind.antag_datums[MODE_VAMPIRE]
|
||||
if(vampire)
|
||||
stat("Usable Blood", vampire.blood_usable)
|
||||
stat("Total Blood", vampire.blood_total)
|
||||
var/datum/changeling/changeling = mind.antag_datums[MODE_CHANGELING]
|
||||
if(changeling)
|
||||
stat("Chemical Storage", changeling.chem_charges)
|
||||
stat("Genetic Damage Time", changeling.geneticdamage)
|
||||
|
||||
/mob/living/carbon/human/ex_act(severity)
|
||||
if(!blinded)
|
||||
@@ -2016,8 +2018,10 @@
|
||||
/mob/living/carbon/human/get_accent_icon(var/datum/language/speaking, var/mob/hearer, var/force_accent)
|
||||
var/used_accent = accent //starts with the mob's default accent
|
||||
|
||||
if(mind?.changeling)
|
||||
used_accent = mind.changeling.mimiced_accent
|
||||
if(mind)
|
||||
var/datum/changeling/changeling = mind.antag_datums[MODE_CHANGELING]
|
||||
if(changeling?.mimiced_accent)
|
||||
used_accent = changeling.mimiced_accent
|
||||
|
||||
if(istype(back,/obj/item/rig)) //checks for the rig voice changer module
|
||||
var/obj/item/rig/rig = back
|
||||
|
||||
@@ -87,8 +87,12 @@
|
||||
tally = max(0, tally-3)
|
||||
|
||||
var/turf/T = get_turf(src)
|
||||
if(T && !mind.changeling) // changelings don't get movement costs
|
||||
tally += T.movement_cost
|
||||
if(T) // changelings don't get movement costs
|
||||
var/datum/changeling/changeling
|
||||
if(mind)
|
||||
changeling = mind.antag_datums[MODE_CHANGELING]
|
||||
if(!changeling)
|
||||
tally += T.movement_cost
|
||||
|
||||
tally += config.human_delay
|
||||
|
||||
|
||||
@@ -84,8 +84,10 @@
|
||||
//Update our name based on whether our face is obscured/disfigured
|
||||
name = get_visible_name()
|
||||
|
||||
if(mind?.vampire)
|
||||
handle_vampire()
|
||||
if(mind)
|
||||
var/datum/vampire/vampire = mind.antag_datums[MODE_VAMPIRE]
|
||||
if(vampire)
|
||||
handle_vampire()
|
||||
|
||||
/mob/living/carbon/human/think()
|
||||
..()
|
||||
@@ -1041,8 +1043,10 @@
|
||||
playsound_simple(null, pick(scarySounds), 50, TRUE)
|
||||
|
||||
/mob/living/carbon/human/proc/handle_changeling()
|
||||
if(mind && mind.changeling)
|
||||
mind.changeling.regenerate()
|
||||
if(mind)
|
||||
var/datum/changeling/changeling = mind.antag_datums[MODE_CHANGELING]
|
||||
if(changeling)
|
||||
changeling.regenerate()
|
||||
|
||||
/mob/living/carbon/human/proc/handle_shock()
|
||||
if(status_flags & GODMODE)
|
||||
|
||||
@@ -79,8 +79,10 @@
|
||||
var/obj/item/organ/external/head/face = organs_by_name[BP_HEAD]
|
||||
if(face?.disfigured) // if your face is ruined, your ability to vocalize is also ruined
|
||||
return "Unknown" // above ling voice mimicing so they don't get caught out immediately
|
||||
if(mind?.changeling?.mimicing)
|
||||
return mind.changeling.mimicing
|
||||
if(mind)
|
||||
var/datum/changeling/changeling = mind.antag_datums[MODE_CHANGELING]
|
||||
if(changeling?.mimicing)
|
||||
return changeling.mimicing
|
||||
if(GetSpecialVoice())
|
||||
return GetSpecialVoice()
|
||||
return real_name
|
||||
|
||||
Reference in New Issue
Block a user