mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Allows Species to set custom say spans.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
return message
|
||||
|
||||
/mob/living/carbon/human/get_spans()
|
||||
return ..() | dna.mutations_get_spans()
|
||||
return ..() | dna.mutations_get_spans() | dna.species_get_spans()
|
||||
|
||||
/mob/living/carbon/human/GetVoice()
|
||||
if(istype(wear_mask, /obj/item/clothing/mask/gas/voice))
|
||||
|
||||
@@ -588,6 +588,10 @@
|
||||
/datum/species/proc/handle_speech(message, mob/living/carbon/human/H)
|
||||
return message
|
||||
|
||||
//return a list of spans or an empty list
|
||||
/datum/species/proc/get_spans()
|
||||
return list()
|
||||
|
||||
////////
|
||||
//LIFE//
|
||||
////////
|
||||
|
||||
@@ -325,6 +325,18 @@ datum/species/human/spec_death(gibbed, mob/living/carbon/human/H)
|
||||
sexes = 0
|
||||
meat = /obj/item/weapon/reagent_containers/food/snacks/meat/slab/human/mutant/skeleton
|
||||
specflags = list(NOBREATH,HEATRES,COLDRES,NOBLOOD,RADIMMUNE,VIRUSIMMUNE,PIERCEIMMUNE)
|
||||
var/list/myspan = null
|
||||
|
||||
|
||||
/datum/species/skeleton/New()
|
||||
..()
|
||||
myspan = list(pick(SPAN_SANS,SPAN_PAPYRUS)) //pick a span and stick with it for the round
|
||||
|
||||
|
||||
/datum/species/skeleton/get_spans()
|
||||
return myspan
|
||||
|
||||
|
||||
/*
|
||||
ZOMBIES
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user