mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
People can now walk on one leg. (#35065)
* legs are now OK * Losing a leg will knock you down * Bolas will no longer affect legless people, halved chance of hitting if the target is one-legged
This commit is contained in:
committed by
GitHub
parent
c1f10f1d4a
commit
046d35dccf
@@ -47,13 +47,16 @@
|
||||
E = organ_name
|
||||
else
|
||||
E = get_organ(organ_name)
|
||||
var/is_holding_cane = find_held_item_by_type(/obj/item/weapon/cane)
|
||||
if(!E || (E.status & ORGAN_DESTROYED) || (E.status & ORGAN_PEG))
|
||||
. += 2*multiplier
|
||||
if(is_holding_cane)
|
||||
. -= 1*multiplier //Halve the movement speed penalty
|
||||
if(E.status & ORGAN_SPLINTED)
|
||||
if(!find_held_item_by_type(/obj/item/weapon/cane))
|
||||
if(!is_holding_cane)
|
||||
. += 0.5*multiplier
|
||||
else if(E.status & ORGAN_BROKEN)
|
||||
if(!find_held_item_by_type(/obj/item/weapon/cane))
|
||||
if(!is_holding_cane)
|
||||
. += 1*multiplier
|
||||
. += 0.5*multiplier
|
||||
|
||||
|
||||
Reference in New Issue
Block a user