tidy species more
This commit is contained in:
@@ -106,6 +106,9 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
|
||||
var/whitelist = list() //List the ckeys that can use this species, if it's whitelisted.: list("John Doe", "poopface666", "SeeALiggerPullTheTrigger") Spaces & capitalization can be included or ignored entirely for each key as it checks for both.
|
||||
var/icon_limbs //Overrides the icon used for the limbs of this species. Mainly for downstream, and also because hardcoded icons disgust me. Implemented and maintained as a favor in return for a downstream's implementation of synths.
|
||||
|
||||
var/tail_type //type of tail i.e. mam_tail
|
||||
var/wagging_type //type of wagging i.e. waggingtail_lizard
|
||||
|
||||
/// Our default override for typing indicator state
|
||||
var/typing_indicator_state
|
||||
|
||||
@@ -2246,11 +2249,29 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
|
||||
////////////////
|
||||
|
||||
/datum/species/proc/can_wag_tail(mob/living/carbon/human/H)
|
||||
return FALSE
|
||||
if(!tail_type || !wagging_type)
|
||||
return FALSE
|
||||
else
|
||||
return mutant_bodyparts[tail_type] || mutant_bodyparts[wagging_type]
|
||||
|
||||
/datum/species/proc/is_wagging_tail(mob/living/carbon/human/H)
|
||||
return FALSE
|
||||
return mutant_bodyparts["waggingtail_lizard"]
|
||||
|
||||
/datum/species/proc/start_wagging_tail(mob/living/carbon/human/H)
|
||||
if(tail_type && wagging_type)
|
||||
if(mutant_bodyparts[tail_type])
|
||||
mutant_bodyparts[wagging_type] = mutant_bodyparts[tail_type]
|
||||
mutant_bodyparts -= tail_type
|
||||
if(mutant_bodyparts["spines"] || mutant_bodyparts["waggingspines"]) //special lizard thing
|
||||
mutant_bodyparts["waggingspines"] = mutant_bodyparts["spines"]
|
||||
mutant_bodyparts -= "spines"
|
||||
H.update_body()
|
||||
|
||||
/datum/species/proc/stop_wagging_tail(mob/living/carbon/human/H)
|
||||
if(tail_type && wagging_type)
|
||||
mutant_bodyparts[tail_type] = mutant_bodyparts[wagging_type]
|
||||
mutant_bodyparts -= wagging_type
|
||||
if(mutant_bodyparts["spines"] || mutant_bodyparts["waggingspines"]) //special lizard thing
|
||||
mutant_bodyparts["spines"] = mutant_bodyparts["waggingspines"]
|
||||
mutant_bodyparts -= "waggingspines"
|
||||
H.update_body()
|
||||
|
||||
@@ -17,20 +17,5 @@
|
||||
exotic_bloodtype = "BUG"
|
||||
exotic_blood_color = BLOOD_COLOR_BUG
|
||||
|
||||
/datum/species/insect/can_wag_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_tail"] || mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/insect/is_wagging_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/insect/start_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_tail"])
|
||||
mutant_bodyparts["mam_waggingtail"] = mutant_bodyparts["mam_tail"]
|
||||
mutant_bodyparts -= "mam_tail"
|
||||
H.update_body()
|
||||
|
||||
/datum/species/insect/stop_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_waggingtail"])
|
||||
mutant_bodyparts["mam_tail"] = mutant_bodyparts["mam_waggingtail"]
|
||||
mutant_bodyparts -= "mam_waggingtail"
|
||||
H.update_body()
|
||||
tail_type = "mam_tail"
|
||||
wagging_type = "mam_waggingtail"
|
||||
|
||||
@@ -9,23 +9,8 @@
|
||||
mutantears = /obj/item/organ/ears/cat
|
||||
mutanttail = /obj/item/organ/tail/cat
|
||||
|
||||
/datum/species/human/felinid/can_wag_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_tail"] || mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/human/felinid/is_wagging_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/human/felinid/start_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_tail"])
|
||||
mutant_bodyparts["mam_waggingtail"] = mutant_bodyparts["mam_tail"]
|
||||
mutant_bodyparts -= "mam_tail"
|
||||
H.update_body()
|
||||
|
||||
/datum/species/human/felinid/stop_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_waggingtail"])
|
||||
mutant_bodyparts["mam_tail"] = mutant_bodyparts["mam_waggingtail"]
|
||||
mutant_bodyparts -= "mam_waggingtail"
|
||||
H.update_body()
|
||||
tail_type = "mam_tail"
|
||||
wagging_type = "mam_waggingtail"
|
||||
|
||||
/datum/species/human/felinid/on_species_gain(mob/living/carbon/C, datum/species/old_species, pref_load)
|
||||
if(ishuman(C))
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
id = "mammal"
|
||||
default_color = "4B4B4B"
|
||||
icon_limbs = DEFAULT_BODYPART_ICON_CITADEL
|
||||
species_traits = list(MUTCOLORS,EYECOLOR,LIPS,HAIR,HORNCOLOR,WINGCOLOR,CAN_SCAR)
|
||||
species_traits = list(MUTCOLORS,EYECOLOR,LIPS,HAIR,HORNCOLOR,WINGCOLOR)
|
||||
inherent_biotypes = MOB_ORGANIC|MOB_HUMANOID|MOB_BEAST
|
||||
mutant_bodyparts = list("mcolor" = "FFF","mcolor2" = "FFF","mcolor3" = "FFF", "mam_snouts" = "Husky", "mam_tail" = "Husky", "mam_ears" = "Husky", "deco_wings" = "None",
|
||||
"mam_body_markings" = "Husky", "taur" = "None", "horns" = "None", "legs" = "Plantigrade", "meat_type" = "Mammalian")
|
||||
@@ -14,6 +14,9 @@
|
||||
liked_food = MEAT | FRIED
|
||||
disliked_food = TOXIC
|
||||
|
||||
tail_type = "mam_tail"
|
||||
wagging_type = "mam_waggingtail"
|
||||
|
||||
/datum/species/mammal/can_wag_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_tail"] || mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
disliked_food = GROSS | RAW
|
||||
liked_food = JUNKFOOD | FRIED
|
||||
|
||||
tail_type = "tail_human"
|
||||
wagging_type = "waggingtail_human"
|
||||
|
||||
/datum/species/human/spec_death(gibbed, mob/living/carbon/human/H)
|
||||
if(H)
|
||||
stop_wagging_tail(H)
|
||||
@@ -18,21 +21,3 @@
|
||||
if(H)
|
||||
stop_wagging_tail(H)
|
||||
. = ..()
|
||||
|
||||
/datum/species/human/can_wag_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["tail_human"] || mutant_bodyparts["waggingtail_human"]
|
||||
|
||||
/datum/species/human/is_wagging_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["waggingtail_human"]
|
||||
|
||||
/datum/species/human/start_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["tail_human"])
|
||||
mutant_bodyparts["waggingtail_human"] = mutant_bodyparts["tail_human"]
|
||||
mutant_bodyparts -= "tail_human"
|
||||
H.update_body()
|
||||
|
||||
/datum/species/human/stop_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["waggingtail_human"])
|
||||
mutant_bodyparts["tail_human"] = mutant_bodyparts["waggingtail_human"]
|
||||
mutant_bodyparts -= "waggingtail_human"
|
||||
H.update_body()
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
species_language_holder = /datum/language_holder/jelly
|
||||
mutant_brain = /obj/item/organ/brain/jelly
|
||||
|
||||
tail_type = "mam_tail"
|
||||
wagging_type = "mam_waggingtail"
|
||||
|
||||
/obj/item/organ/brain/jelly
|
||||
name = "slime nucleus"
|
||||
desc = "A slimey membranous mass from a slime person"
|
||||
@@ -128,33 +131,6 @@
|
||||
return
|
||||
to_chat(H, "<span class='warning'>...but there is not enough of you to go around! You must attain more mass to heal!</span>")
|
||||
|
||||
/datum/species/jelly/spec_death(gibbed, mob/living/carbon/human/H)
|
||||
if(H)
|
||||
stop_wagging_tail(H)
|
||||
|
||||
/datum/species/jelly/spec_stun(mob/living/carbon/human/H,amount)
|
||||
if(H)
|
||||
stop_wagging_tail(H)
|
||||
. = ..()
|
||||
|
||||
/datum/species/jelly/can_wag_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_tail"] || mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/jelly/is_wagging_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/jelly/start_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_tail"])
|
||||
mutant_bodyparts["mam_waggingtail"] = mutant_bodyparts["mam_tail"]
|
||||
mutant_bodyparts -= "mam_tail"
|
||||
H.update_body()
|
||||
|
||||
/datum/species/jelly/stop_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_waggingtail"])
|
||||
mutant_bodyparts["mam_tail"] = mutant_bodyparts["mam_waggingtail"]
|
||||
mutant_bodyparts -= "mam_waggingtail"
|
||||
H.update_body()
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////SLIMEPEOPLE///////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
inert_mutation = FIREBREATH
|
||||
species_language_holder = /datum/language_holder/lizard
|
||||
|
||||
tail_type = "tail_lizard"
|
||||
wagging_type = "waggingtail_lizard"
|
||||
|
||||
/datum/species/lizard/random_name(gender,unique,lastname)
|
||||
if(unique)
|
||||
return random_unique_lizard_name(gender)
|
||||
@@ -38,28 +41,6 @@
|
||||
|
||||
return randname
|
||||
|
||||
/datum/species/lizard/can_wag_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["tail_lizard"] || mutant_bodyparts["waggingtail_lizard"]
|
||||
|
||||
/datum/species/lizard/is_wagging_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["waggingtail_lizard"]
|
||||
|
||||
/datum/species/lizard/start_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["tail_lizard"])
|
||||
mutant_bodyparts["waggingtail_lizard"] = mutant_bodyparts["tail_lizard"]
|
||||
mutant_bodyparts["waggingspines"] = mutant_bodyparts["spines"]
|
||||
mutant_bodyparts -= "tail_lizard"
|
||||
mutant_bodyparts -= "spines"
|
||||
H.update_body()
|
||||
|
||||
/datum/species/lizard/stop_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["waggingtail_lizard"])
|
||||
mutant_bodyparts["tail_lizard"] = mutant_bodyparts["waggingtail_lizard"]
|
||||
mutant_bodyparts["spines"] = mutant_bodyparts["waggingspines"]
|
||||
mutant_bodyparts -= "waggingtail_lizard"
|
||||
mutant_bodyparts -= "waggingspines"
|
||||
H.update_body()
|
||||
|
||||
/*
|
||||
Lizard subspecies: ASHWALKERS
|
||||
*/
|
||||
|
||||
@@ -71,20 +71,5 @@
|
||||
light_burnheal = -0.2
|
||||
light_toxheal = -0.7
|
||||
|
||||
/datum/species/pod/pseudo_weak/can_wag_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_tail"] || mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/pod/pseudo_weak/is_wagging_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/pod/pseudo_weak/start_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_tail"])
|
||||
mutant_bodyparts["mam_waggingtail"] = mutant_bodyparts["mam_tail"]
|
||||
mutant_bodyparts -= "mam_tail"
|
||||
H.update_body()
|
||||
|
||||
/datum/species/pod/pseudo_weak/stop_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_waggingtail"])
|
||||
mutant_bodyparts["mam_tail"] = mutant_bodyparts["mam_waggingtail"]
|
||||
mutant_bodyparts -= "mam_waggingtail"
|
||||
H.update_body()
|
||||
tail_type = "mam_tail"
|
||||
wagging_type = "mam_waggingtail"
|
||||
|
||||
@@ -20,20 +20,5 @@
|
||||
exotic_bloodtype = "S"
|
||||
exotic_blood_color = BLOOD_COLOR_OIL
|
||||
|
||||
/datum/species/synthliz/can_wag_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_tail"] || mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/synthliz/is_wagging_tail(mob/living/carbon/human/H)
|
||||
return mutant_bodyparts["mam_waggingtail"]
|
||||
|
||||
/datum/species/synthliz/start_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_tail"])
|
||||
mutant_bodyparts["mam_waggingtail"] = mutant_bodyparts["mam_tail"]
|
||||
mutant_bodyparts -= "mam_tail"
|
||||
H.update_body()
|
||||
|
||||
/datum/species/synthliz/stop_wagging_tail(mob/living/carbon/human/H)
|
||||
if(mutant_bodyparts["mam_waggingtail"])
|
||||
mutant_bodyparts["mam_tail"] = mutant_bodyparts["mam_waggingtail"]
|
||||
mutant_bodyparts -= "mam_waggingtail"
|
||||
H.update_body()
|
||||
tail_type = "mam_tail"
|
||||
wagging_type = "mam_waggingtail"
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
|
||||
/datum/species/synth/proc/assume_disguise(datum/species/S, mob/living/carbon/human/H)
|
||||
if(S && !istype(S, type))
|
||||
name = S.name
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
say_mod = "hisses"
|
||||
default_color = "00FF00"
|
||||
icon_limbs = DEFAULT_BODYPART_ICON_CITADEL
|
||||
species_traits = list(MUTCOLORS,EYECOLOR,LIPS,CAN_SCAR)
|
||||
species_traits = list(MUTCOLORS,EYECOLOR,LIPS)
|
||||
mutant_bodyparts = list("xenotail"="Xenomorph Tail","xenohead"="Standard","xenodorsal"="Standard", "mam_body_markings" = "Xeno","mcolor" = "0F0","mcolor2" = "0F0","mcolor3" = "0F0","taur" = "None", "legs" = "Digitigrade")
|
||||
attack_verb = "slash"
|
||||
attack_sound = 'sound/weapons/slash.ogg'
|
||||
|
||||
Reference in New Issue
Block a user