mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Allows item use when in weakened state (#8154)
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
CtrlClickOn(A)
|
||||
return 1
|
||||
|
||||
if(stat || paralysis || stunned || weakened)
|
||||
if(stat || paralysis || stunned) //CHOMPedit, removed weakened to allow item use while crawling
|
||||
return
|
||||
|
||||
face_atom(A) // change direction to face what you clicked on
|
||||
|
||||
@@ -972,7 +972,7 @@
|
||||
|
||||
if(incapacitated(INCAPACITATION_KNOCKOUT) || incapacitated(INCAPACITATION_STUNNED)) // CHOMPAdd - Making sure we're in good condition to crawl
|
||||
canmove = 0
|
||||
drop_both_hands()
|
||||
//drop_both_hands() CHOMPremove, purple stuns dont drop items, this makes space EVA less frustrating and slips/shoves are already coded to drop your stuff.
|
||||
else
|
||||
canmove = 1
|
||||
|
||||
|
||||
@@ -541,6 +541,7 @@
|
||||
var/mob/living/carbon/human/H = T
|
||||
if(H.species.lightweight == 1)
|
||||
H.Stun(3) // CHOMPEdit - Crawling made this useless. Changing to stun instead.
|
||||
H.drop_both_hands() //Stuns no longer drop items, so were forcing it >:3
|
||||
return
|
||||
var/armor_block = run_armor_check(T, "melee")
|
||||
var/armor_soak = get_armor_soak(T, "melee")
|
||||
|
||||
Reference in New Issue
Block a user