Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions code/modules/mob/living/carbon/human/species_types/polysmorphs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,39 @@
//Human xenopmorph hybrid
name = "Polysmorph"
id = "polysmorph"
species_traits = list(NOEYESPRITES, FGENDER, MUTCOLORS, NOCOLORCHANGE, DIGITIGRADE, HAS_FLESH, HAS_TAIL)
inherent_traits = list(TRAIT_ACIDBLOOD, TRAIT_SKINNY)
inherent_biotypes = list(MOB_ORGANIC, MOB_HUMANOID)
exotic_blood = /datum/reagent/toxin/acid //Hell yeah sulphuric acid blood
meat = /obj/item/reagent_containers/food/snacks/meat/slab/xeno
liked_food = GROSS | MEAT | MICE
disliked_food = GRAIN | DAIRY | VEGETABLES | FRUIT
say_mod = "hisses"
species_language_holder = /datum/language_holder/polysmorph
brutemod = 0.9 //exoskeleton protects against brute
burnmod = 1.35 //residual plasma inside them, highly flammable
coldmod = 0.75
heatmod = 1.5
acidmod = 0.2 //Their blood is literally acid
burnmod = 1.25
action_speed_coefficient = 1.1 //claws aren't dextrous like hands
speedmod = -0.1 //apex predator humanoid hybrid
punchdamagehigh = 11 //slightly better high end of damage
punchstunthreshold = 11 //technically slightly worse stunchance
payday_modifier = 0.6 //Negatively viewed by NT
damage_overlay_type = "polysmorph"
deathsound = 'sound/voice/hiss6.ogg'
screamsound = 'sound/voice/hiss5.ogg'
species_traits = list(NOEYESPRITES, FGENDER, MUTCOLORS, NOCOLORCHANGE, DIGITIGRADE, HAS_FLESH, HAS_BONE, HAS_TAIL)
inherent_traits = list(TRAIT_ACIDBLOOD, TRAIT_SKINNY)
inherent_biotypes = list(MOB_ORGANIC, MOB_HUMANOID)
mutanteyes = /obj/item/organ/eyes/polysmorph
mutantliver = /obj/item/organ/liver/alien
mutanttongue = /obj/item/organ/tongue/polysmorph
mutanttail = /obj/item/organ/tail/polysmorph
mutantlungs = /obj/item/organ/lungs/xeno
attack_verb = "slash"
attack_sound = 'sound/weapons/slash.ogg'
miss_sound = 'sound/weapons/slashmiss.ogg'
fixed_mut_color = "444466" //don't mess with this if you don't feel like manually adjusting the mutant bodypart sprites
mutant_bodyparts = list("tail_polysmorph", "dome", "dorsal_tubes", "teeth", "legs")
default_features = list("tail_polysmorph" = "Polys", "dome" = "None", "dorsal_tubes" = "No", "teeth" = "None", "legs" = "Normal Legs")
mutanttongue = /obj/item/organ/tongue/polysmorph
mutanttail = /obj/item/organ/tail/polysmorph
mutantlungs = /obj/item/organ/lungs/xeno
changesource_flags = MIRROR_BADMIN | WABBAJACK | MIRROR_MAGIC | MIRROR_PRIDE | ERT_SPAWN | RACE_SWAP | SLIME_EXTRACT

smells_like = "charred, acidic meat"
Expand All @@ -46,12 +51,12 @@
.=..()
var/mob/living/carbon/human/H = C
if(H.physiology)
H.physiology.armor.wound += 10 //Pseudo-exoskeleton makes them harder to wound
H.physiology.armor.wound += 5 //Pseudo-exoskeleton makes them harder to wound

/datum/species/polysmorph/on_species_loss(mob/living/carbon/human/C, datum/species/new_species, pref_load)
.=..()
if(C.physiology)
C.physiology.armor.wound -= 10
C.physiology.armor.wound -= 5

/datum/species/polysmorph/get_species_description()
return ""//"TODO: This is polysmorph description"
Expand Down