mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 04:57:47 +01:00
Merge pull request #10107 from Nyksia/robolimb-fix
Fixes broken species' has_limbs lists and prosthetics.
This commit is contained in:
@@ -104,7 +104,8 @@
|
||||
else if (E.is_dislocated())
|
||||
stance_damage += 0.5
|
||||
|
||||
if(E) limb_pain = E.organ_can_feel_pain()
|
||||
if(E && (!E.is_usable() || E.is_broken() || E.is_dislocated())) //VOREStation Edit
|
||||
limb_pain = E.organ_can_feel_pain()
|
||||
|
||||
// Canes and crutches help you stand (if the latter is ever added)
|
||||
// One cane mitigates a broken leg+foot, or a missing foot.
|
||||
|
||||
@@ -53,6 +53,9 @@
|
||||
|
||||
var/datum/species/new_copy = new to_copy.type()
|
||||
|
||||
for(var/organ in to_copy.has_limbs)
|
||||
var/list/organ_data = to_copy.has_limbs[organ]
|
||||
new_copy.has_limbs[organ] = organ_data.Copy()
|
||||
new_copy.traits = traits
|
||||
|
||||
//If you had traits, apply them
|
||||
|
||||
Reference in New Issue
Block a user