From d33b46bb37e2bb6b2bb6419a9e614d8015c628f7 Mon Sep 17 00:00:00 2001
From: skoglol <33292112+kriskog@users.noreply.github.com>
Date: Wed, 29 Jan 2020 19:46:51 +0100
Subject: [PATCH] Light step quirk rebalance (#49059)
* Light step rebalance
* null check
* Reduced cost back to 1
---
code/datums/traits/good.dm | 8 +++++++-
code/game/objects/effects/decals/cleanable.dm | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/code/datums/traits/good.dm b/code/datums/traits/good.dm
index 4498f22f06a..1af6bde3272 100644
--- a/code/datums/traits/good.dm
+++ b/code/datums/traits/good.dm
@@ -128,13 +128,19 @@ datum/quirk/fan_mime
/datum/quirk/light_step
name = "Light Step"
- desc = "You walk with a gentle step; stepping on sharp objects is quieter, less painful and you won't leave footprints behind you."
+ desc = "You walk with a gentle step; footsteps and stepping on sharp objects is quieter and less painful."
value = 1
mob_trait = TRAIT_LIGHT_STEP
gain_text = "You walk with a little more litheness."
lose_text = "You start tromping around like a barbarian."
medical_record_text = "Patient's dexterity belies a strong capacity for stealth."
+/datum/quirk/light_step/on_spawn()
+ var/datum/component/footstep/C = quirk_holder.GetComponent(/datum/component/footstep)
+ if(C)
+ C.volume *= 0.6
+ C.e_range -= 2
+
/datum/quirk/musician
name = "Musician"
desc = "You can tune handheld musical instruments to play melodies that clear certain negative effects and soothe the soul."
diff --git a/code/game/objects/effects/decals/cleanable.dm b/code/game/objects/effects/decals/cleanable.dm
index 64f3eb4c08a..c988704828b 100644
--- a/code/game/objects/effects/decals/cleanable.dm
+++ b/code/game/objects/effects/decals/cleanable.dm
@@ -85,7 +85,7 @@
..()
if(ishuman(O))
var/mob/living/carbon/human/H = O
- if(H.shoes && blood_state && bloodiness && !HAS_TRAIT(H, TRAIT_LIGHT_STEP))
+ if(H.shoes && blood_state && bloodiness)
var/obj/item/clothing/shoes/S = H.shoes
if(!S.can_be_bloody)
return