From f209851566426204f66ee590f33f14d3fdbdec99 Mon Sep 17 00:00:00 2001 From: SatinIsle <98125273+SatinIsle@users.noreply.github.com> Date: Tue, 2 Apr 2024 19:03:00 +0100 Subject: [PATCH] No shoes: Teshari edition (#15896) * Ports No Shoes from RogueStar Added the ability to choose to spawn with no shoes in character setup. This was ported from RogueStar: https://github.com/TS-Rogue-Star/Rogue-Star/pull/196 * Small fix * No shoes: Teshari edition Fixed teshari spawning with shoes even with the spawn with shoes setting set to no. --- .../modules/mob/living/carbon/human/species/station/teshari.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/species/station/teshari.dm b/code/modules/mob/living/carbon/human/species/station/teshari.dm index 2e41b601694..76f71cb006a 100644 --- a/code/modules/mob/living/carbon/human/species/station/teshari.dm +++ b/code/modules/mob/living/carbon/human/species/station/teshari.dm @@ -162,7 +162,8 @@ /datum/species/teshari/equip_survival_gear(var/mob/living/carbon/human/H) ..() - H.equip_to_slot_or_del(new /obj/item/clothing/shoes/sandal(H),slot_shoes) + if(!(H.client?.prefs?.shoe_hater)) + H.equip_to_slot_or_del(new /obj/item/clothing/shoes/sandal(H),slot_shoes) /* /datum/species/teshari/handle_falling(mob/living/carbon/human/H, atom/hit_atom, damage_min, damage_max, silent, planetary)