mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Raising is_malfunctioning threshold from 10 to 35 (#29918)
* Raising is_malfunctioning threshold * Arm/Leg at 35, hand/feet at 20
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
var/amputation_point // Descriptive string used in amputation.
|
||||
var/can_grasp
|
||||
var/can_stand
|
||||
var/malfdamage
|
||||
|
||||
var/splinted_count = 0 //Time when this organ was last splinted
|
||||
///If this organ's max HP is reduced by the IPC magnetic joints implant
|
||||
@@ -876,7 +877,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
return !(status & (ORGAN_MUTATED|ORGAN_DEAD))
|
||||
|
||||
/obj/item/organ/external/proc/is_malfunctioning()
|
||||
return (is_robotic() && (brute_dam + burn_dam) >= 10 && prob(brute_dam + burn_dam) && !tough)
|
||||
return (is_robotic() && (brute_dam + burn_dam) >= malfdamage && prob(brute_dam + burn_dam) && !tough)
|
||||
|
||||
/obj/item/organ/external/remove(mob/living/user, ignore_children)
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
name = "left arm"
|
||||
icon_name = "l_arm"
|
||||
max_damage = 50
|
||||
malfdamage = 35
|
||||
body_part = ARM_LEFT
|
||||
amputation_point = "left shoulder"
|
||||
can_grasp = 1
|
||||
@@ -74,6 +75,7 @@
|
||||
name = "left leg"
|
||||
icon_name = "l_leg"
|
||||
max_damage = 50
|
||||
malfdamage = 35
|
||||
body_part = LEG_LEFT
|
||||
icon_position = LEFT
|
||||
parent_organ = "groin"
|
||||
@@ -113,6 +115,7 @@
|
||||
icon_name = "l_foot"
|
||||
max_damage = 30
|
||||
min_broken_damage = 15
|
||||
malfdamage = 20
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
body_part = FOOT_LEFT
|
||||
icon_position = LEFT
|
||||
@@ -157,6 +160,7 @@
|
||||
icon_name = "l_hand"
|
||||
max_damage = 30
|
||||
min_broken_damage = 15
|
||||
malfdamage = 20
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
body_part = HAND_LEFT
|
||||
parent_organ = "l_arm"
|
||||
|
||||
Reference in New Issue
Block a user