The Lii'dra update (#12366)

This commit is contained in:
desven
2021-08-25 14:09:22 +02:00
committed by GitHub
parent 5fb179b8a1
commit a04ea25793
8 changed files with 71 additions and 9 deletions
+9
View File
@@ -24,3 +24,12 @@
infamous of the C'thur's past deeds. Their vocal augments stereotypically have difficulty, typically when producing sounds related to the letter 's', instead \
substituting with a harsh buzzing in the throat."
tag_icon = "cthur"
/datum/accent/liidra
name = ACCENT_LIIDRA
description = "The Lii'dra speech, as understood by those that have heard the Hivemind and live to tell, is characterized by a monotonous voice that sounds \
even more robotical than the rest of the modulators used by the other Hives. It is believed to be a modified technology reverse engineered from stolen \
Zo'rane modulators. While, with its flaws, the Zo'ra accent might sound quirky to some, it is often said that this is to add more personality to each \
individual. Since the Lii'dra do not think of themselves as such, these variations were deemed useless. The Connected individuals will often speak in plural, while the Disconnected \
are prone to use the first person when referring to others."
tag_icon = "liidra"
+1
View File
@@ -120,3 +120,4 @@
#define ACCENT_ZORA "Zo'rane"
#define ACCENT_KLAX "K'laxane"
#define ACCENT_CTHUR "C'thuric"
#define ACCENT_LIIDRA "Lii'draic"
+34
View File
@@ -38,3 +38,37 @@
/obj/item/clothing/mask/gas/voice/Initialize()
. = ..()
changer = new(src)
/obj/item/clothing/mask/breath/vaurca/filter/voice
var/obj/item/voice_changer/changer
origin_tech = list(TECH_ILLEGAL = 4)
desc_antag = "A Lii'draic filter port that allows to change voices."
/obj/item/clothing/mask/breath/vaurca/filter/voice/verb/Toggle_Voice_Changer()
set category = "Object"
set src in usr
changer.active = !changer.active
to_chat(usr, SPAN_NOTICE("You [changer.active ? "enable" : "disable"] the voice-changing module in \the [src]."))
/obj/item/clothing/mask/breath/vaurca/filter/voice/verb/Set_Voice(name as text)
set category = "Object"
set src in usr
var/voice = sanitize(name, MAX_NAME_LEN)
if(!voice || !length(voice)) return
changer.voice = voice
to_chat(usr, SPAN_NOTICE("You are now mimicking <B>[changer.voice]</B>."))
/obj/item/clothing/mask/breath/vaurca/filter/voice/verb/Toggle_Accent()
set category = "Object"
set src in usr
var/choice = input(usr, "Please choose an accent to mimick.") as null|anything in SSrecords.accents
if(choice)
to_chat(usr, SPAN_NOTICE("You are now mimicking the [choice] accent."))
changer.current_accent = choice
/obj/item/clothing/mask/breath/vaurca/filter/voice/Initialize()
. = ..()
changer = new(src)
+10 -8
View File
@@ -138,9 +138,9 @@
if(prob(10) && (owner.can_feel_pain()))
if(stage < 3)
to_chat(owner, "<span class='warning'>You feel a stinging pain in your abdomen!</span>")
else
to_chat(owner, "<span class='warning'>You feel a stinging pain in your head!</span>")
else
to_chat(owner, "A part of you tries to fight back, but the taste of the black k'ois puts you at ease.")
owner.visible_message("<b>[owner]</b> winces slightly.")
owner.adjustHalLoss(5)
@@ -159,6 +159,9 @@
to_chat(owner, "<span class='warning'>You feel something squirming inside of you!</span>")
owner.reagents.add_reagent(/decl/reagent/kois/black, 4)
else if(prob(5))
to_chat(owner, "In your struggle, a part of you wishes for the spread to continue.")
else if(prob(10))
to_chat(owner, "<span class='warning'>You feel disorientated!</span>")
switch(rand(1,3))
@@ -193,14 +196,13 @@
owner.emote("scream")
owner.adjustBrainLoss(1, 55)
else if(prob(10))
else if(prob(0.5))
to_chat(owner, "<span class='danger'>You feel something alien coming up your throat!</span>")
var/turf/T = get_turf(owner)
var/datum/reagents/R = new/datum/reagents(100)
R.add_reagent(/decl/reagent/kois/black,10)
R.add_reagent(/decl/reagent/toxin/phoron,5)
var/datum/reagents/R = new/datum/reagents(20)
R.add_reagent(/decl/reagent/kois/black,5)
var/datum/effect/effect/system/smoke_spread/chem/spores/S = new("blackkois")
S.attach(T)
@@ -209,8 +211,8 @@
if(owner.can_feel_pain())
owner.emote("scream")
owner.adjustHalLoss(15)
owner.drip(15)
owner.adjustHalLoss(5)
owner.drip(5)
owner.delayed_vomit()
/obj/item/organ/internal/parasite/blackkois/removed(var/mob/living/carbon/human/target)