Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Movielike Crit #335

Merged
merged 15 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if(isfacehugger(checked_xeno))
return FALSE

var/mob/parent_mob = parent
var/mob/living/parent_mob = parent

var/captee_stat = parent_mob.stat
var/mob/pulledby = parent_mob.pulledby
Expand All @@ -45,7 +45,7 @@
if(distance > 10)
return FALSE

if(captee_stat == CONSCIOUS)
if(captee_stat == CONSCIOUS && !(parent_mob.body_position == LYING_DOWN && HAS_TRAIT(parent_mob, TRAIT_INCAPACITATED)))
Merrgear marked this conversation as resolved.
Show resolved Hide resolved
return FALSE

if(isxeno(pulledby) && pulledby != checked_xeno)
Expand Down
2 changes: 1 addition & 1 deletion code/datums/effects/mob_crit/human_crit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
qdel(src)
return FALSE

affected_mob.apply_effect(3, PARALYZE)
affected_mob.apply_effect(3, WEAKEN)
Merrgear marked this conversation as resolved.
Show resolved Hide resolved
if(!affected_mob.reagents || !affected_mob.reagents.has_reagent("inaprovaline"))
affected_mob.apply_damage(1, OXY)

Expand Down
4 changes: 2 additions & 2 deletions code/datums/effects/pain/human_pain.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

var/mob/living/carbon/affected_mob = affected_atom
if(do_once)
affected_mob.apply_effect(3, PARALYZE)
affected_mob.apply_effect(3, WEAKEN)
Merrgear marked this conversation as resolved.
Show resolved Hide resolved
do_once = FALSE

affected_mob.EyeBlur(2)
Expand All @@ -83,7 +83,7 @@
affected_mob.EyeBlur(2)
if(affected_mob.pain && affected_mob.pain.feels_pain)
affected_mob.TalkStutter(2)
affected_mob.apply_effect(2, PARALYZE)
affected_mob.apply_effect(2, WEAKEN)
Merrgear marked this conversation as resolved.
Show resolved Hide resolved
if(!affected_mob.reagents || !affected_mob.reagents.has_reagent("inaprovaline"))
affected_mob.apply_damage(0.5, OXY)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_attackhand.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
return 1

// If unconcious with oxygen damage, do CPR. If dead, we do CPR
if(!(stat == UNCONSCIOUS && getOxyLoss() > 0) && !(stat == DEAD))
if(!((stat == UNCONSCIOUS || (body_position == LYING_DOWN && HAS_TRAIT(src, TRAIT_INCAPACITATED))) && getOxyLoss() > 0) && !(stat == DEAD))
Merrgear marked this conversation as resolved.
Show resolved Hide resolved
help_shake_act(attacking_mob)
return 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

//UNCONSCIOUS. NO-ONE IS HOME
if(regular_update && ((getOxyLoss() > 50)))
apply_effect(3, PARALYZE)
apply_effect(3, WEAKEN)
Merrgear marked this conversation as resolved.
Show resolved Hide resolved

if((src.species.flags & HAS_HARDCRIT) && HEALTH_THRESHOLD_CRIT > health)
var/already_in_crit = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ At bare minimum, make sure the relevant checks from parent types gets copied in
// MOBS //
/////////////////////////////
/mob/living/ai_check_stat(mob/living/carbon/xenomorph/X)
return stat == CONSCIOUS
return stat == CONSCIOUS && !(body_position == LYING_DOWN && HAS_TRAIT(src, TRAIT_INCAPACITATED))
Merrgear marked this conversation as resolved.
Show resolved Hide resolved


/////////////////////////////
Expand Down
Loading