Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
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.