From dce7856bf51ba78a2a8c3f468d4db97b24bc0b43 Mon Sep 17 00:00:00 2001 From: SatinIsle <98125273+SatinIsle@users.noreply.github.com> Date: Wed, 1 Jan 2025 08:24:48 +0000 Subject: [PATCH] Digitigrade for hanner and replicants (#16795) Added the option for hanner and replicants to use digitigrade legs. Changed the total reform ability to account for clothing to match the sprites to the leg type of the new form. Why not proteans and prommies? Proteans use prosthetic legs that do not change appearance based on the digitigrade option. Prometheans do work with digitigrade legs but they currently do not match the opacity of the rest of the body. --- code/modules/client/preferences.dm | 3 +++ code/modules/mob/living/carbon/human/species/lleill/hanner.dm | 2 ++ .../mob/living/carbon/human/species/station/replicant_crew.dm | 1 + 3 files changed, 6 insertions(+) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 1b161ad3111..32b39ec9fe1 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -721,6 +721,9 @@ var/list/preferences_datums = list() character.digitigrade = selected_species.digi_allowed ? digitigrade : 0 + for(var/obj/item/clothing/O in character.contents) + O.handle_digitigrade(character) + character.dna.ResetUIFrom(character) character.force_update_limbs() character.regenerate_icons() diff --git a/code/modules/mob/living/carbon/human/species/lleill/hanner.dm b/code/modules/mob/living/carbon/human/species/lleill/hanner.dm index af7a36b2663..c8eb09b8295 100644 --- a/code/modules/mob/living/carbon/human/species/lleill/hanner.dm +++ b/code/modules/mob/living/carbon/human/species/lleill/hanner.dm @@ -20,6 +20,8 @@ min_age = 18 max_age = 200 + digi_allowed = TRUE + //Specific abilities burn_mod = 0.8 //Slightly resistant to fire diff --git a/code/modules/mob/living/carbon/human/species/station/replicant_crew.dm b/code/modules/mob/living/carbon/human/species/station/replicant_crew.dm index 5cdc8ab9055..5d6a4e1d6ac 100644 --- a/code/modules/mob/living/carbon/human/species/station/replicant_crew.dm +++ b/code/modules/mob/living/carbon/human/species/station/replicant_crew.dm @@ -14,6 +14,7 @@ siemens_coefficient = 1.5 //Don't get electrocuted secondary_langs = list() // None by default + digi_allowed = TRUE has_organ = list( O_HEART = /obj/item/organ/internal/heart/replicant/rage/crew,