Skip to content

Commit

Permalink
digitigrade legs buff
Browse files Browse the repository at this point in the history
  • Loading branch information
carpotoxin committed Oct 13, 2024
1 parent 127859b commit 544c686
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions code/modules/assembly/mousetrap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@
return FALSE
switch(type)
if("feet")
// DOPPLER ADDITION START - Hardened soles
if(HAS_TRAIT(victim, TRAIT_HARD_SOLES))
to_chat(victim, span_notice("[src] snaps onto your foot, then falls off uselessly."))
// DOPPLER ADDITION END
if(!victim.shoes)
affecting = victim.get_bodypart(pick(BODY_ZONE_L_LEG, BODY_ZONE_R_LEG))
victim.Paralyze(60)
Expand Down
8 changes: 8 additions & 0 deletions modular_doppler/modular_medical/surgery/_bodyparts.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Digitigrade legs are augmented to have the hardened soles quirk/trait
/obj/item/bodypart/leg/left/digitigrade
bodypart_traits = list(TRAIT_HARD_SOLES)
bodypart_trait_source = LEFT_LEG_TRAIT

/obj/item/bodypart/leg/right/digitigrade
bodypart_traits = list(TRAIT_HARD_SOLES)
bodypart_trait_source = RIGHT_LEG_TRAIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/datum/quirk/hard_soles
name = "Hardened Soles"
desc = "You're used to walking barefoot, and won't receive the negative effects of doing so."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,8 @@
limb_id = "synth_lizard"

/obj/item/bodypart/leg/right/robot/android/synth_lizard
bodypart_traits = list(TRAIT_HARD_SOLES)
bodypart_trait_source = RIGHT_LEG_TRAIT
bodyshape = BODYSHAPE_HUMANOID | BODYSHAPE_DIGITIGRADE
should_draw_greyscale = TRUE
icon_static = ANDROID_BODYPARTS_DMI
Expand All @@ -812,6 +814,8 @@
limb_id = "synth_lizard"

/obj/item/bodypart/leg/left/robot/android/synth_lizard
bodypart_traits = list(TRAIT_HARD_SOLES)
bodypart_trait_source = RIGHT_LEG_TRAIT
bodyshape = BODYSHAPE_HUMANOID | BODYSHAPE_DIGITIGRADE
should_draw_greyscale = TRUE
icon_static = ANDROID_BODYPARTS_DMI
Expand Down
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -6840,6 +6840,7 @@
#include "modular_doppler\modular_medical\reagents\reagents.dm"
#include "modular_doppler\modular_medical\reagents\sprays.dm"
#include "modular_doppler\modular_medical\reagents\synth_blood.dm"
#include "modular_doppler\modular_medical\surgery\_bodyparts.dm"
#include "modular_doppler\modular_medical\surgery\revival.dm"
#include "modular_doppler\modular_medical\surgery\organs\internal\cyberimp.dm"
#include "modular_doppler\modular_medical\wounds\_wounds.dm"
Expand Down

0 comments on commit 544c686

Please sign in to comment.