Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen
No worries, have fun learning.
In function GetEHPModifier, Line 151 in Shared.cs you have:
if (null == hediff.Part) {
continue;
}
if (null != part && hediff.Part != part) {
continue;
}
if (false == (hediff is Hediff_AddedPart) && false == (hediff is Hediff_Implant)) {
continue;
}
On Line 178 you have:
if (null == part) {
delta *= hediff.Part.coverageAbsWithChildren;
}
Part can be null, in that case it looks at the effect on total health, if it's non-null, it looks at the effect on part health.
In the FHIR HPModifier method of the ddl file, if (hediff.Part == null || (part != null && hediff.Part != part) || (!(hediff is Hediff_AddedPart) && ! After (hediff is Heddiff_Simplant), if (part==null) is also determined
{
num2 *= hediff.Part.coverageAbsWithChildren;
}.
In theory, these two conditions should be mutually exclusive. The second if will never hold, or is there a problem with my understanding
Part Break
Increasing resilience means that more damage would need to be done to break a part.
If you want to disable it entirely, increase the threshold to max and increase resilience to max.
Corpses will still show parts as being missing, but that can't be helped.
No clean way to resolve that, would require a specific check to see if the life support mod is active and if a pawn is on life support.
If I'm not mistaken, the cause is the fatal damage calculation counting damage to organs more than damage to generic meat.
I guess that would need some compatibility patch to keep both default values and an option to let pawns stay alive with just brain as a last organ when hooked to Life Support.