Skip to content

Commit

Permalink
tweak: unathi are no more immune to embed (#3914)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiquidPotroh authored Nov 24, 2023
1 parent 6219425 commit 2cbfcff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/genetics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
#define NO_GERMS "no_germs"
#define NO_DECAY "no_decay"
#define PIERCEIMMUNE "pierce_immunity"
#define EMBEDIMMUNE "embed_immunity"
#define NO_HUNGER "no_hunger"
#define EXOTIC_COLOR "exotic_blood_colour"
#define NO_OBESITY "no_obesity"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_defense.dm
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ emp_act
skipcatch = TRUE
blocked = TRUE

else if(I && (((throwingdatum ? throwingdatum.speed : I.throw_speed) >= EMBED_THROWSPEED_THRESHOLD) || I.embedded_ignore_throwspeed_threshold) && can_embed(I) && !(PIERCEIMMUNE in dna.species.species_traits) && prob(I.embed_chance))
else if(I && (((throwingdatum ? throwingdatum.speed : I.throw_speed) >= EMBED_THROWSPEED_THRESHOLD) || I.embedded_ignore_throwspeed_threshold) && can_embed(I) && !(EMBEDIMMUNE in dna.species.species_traits) && prob(I.embed_chance))
embed_item_inside(I)
hitpush = FALSE
skipcatch = TRUE //can't catch the now embedded item
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/species/golem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
icobase = 'icons/mob/human_races/r_golem.dmi'
deform = 'icons/mob/human_races/r_golem.dmi'

species_traits = list(NO_BREATHE, NO_BLOOD, NO_PAIN, RADIMMUNE, NOGUNS, PIERCEIMMUNE)
species_traits = list(NO_BREATHE, NO_BLOOD, NO_PAIN, RADIMMUNE, NOGUNS, PIERCEIMMUNE, EMBEDIMMUNE)
dies_at_threshold = TRUE
speed_mod = 2
brute_mod = 0.45 //55% damage reduction
Expand Down Expand Up @@ -439,7 +439,7 @@
name = "Деревянный Голем"
golem_colour = rgb(158, 112, 75)
skinned_type = /obj/item/stack/sheet/wood
species_traits = list(NO_BREATHE, NO_BLOOD, NO_PAIN, RADIMMUNE, NOGUNS, PIERCEIMMUNE, IS_PLANT)
species_traits = list(NO_BREATHE, NO_BLOOD, NO_PAIN, RADIMMUNE, NOGUNS, PIERCEIMMUNE, EMBEDIMMUNE, IS_PLANT)
//Can burn and take damage from heat
brute_mod = 0.7 //30% damage reduction down from 55%
burn_mod = 0.875
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/species/skeleton.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
blood_color = "#FFFFFF"
flesh_color = "#E6E6C6"

species_traits = list(NO_BREATHE, NO_BLOOD, RADIMMUNE, VIRUSIMMUNE, NO_HUNGER, PIERCEIMMUNE, NO_DNA, RUNIC_MIND)
species_traits = list(NO_BREATHE, NO_BLOOD, RADIMMUNE, VIRUSIMMUNE, NO_HUNGER, PIERCEIMMUNE, EMBEDIMMUNE, NO_DNA, RUNIC_MIND)
dies_at_threshold = TRUE
skinned_type = /obj/item/stack/sheet/bone

Expand Down

0 comments on commit 2cbfcff

Please sign in to comment.