Difference between revisions of "Template:Animal Health Table"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#vardefine:HealthScale | {{{ 2 | {{Q|{{PAGENAME}}|Health Scale|1}}}}} }}<div class="mw-collapsible mw-collapsed" style="width:4.5%">
+
<includeonly>{{#vardefine:HealthScale | {{{ 2 | {{Q|{{PAGENAME}}|Health Scale|1}}}}} }}{{#if:{{{notCollapsible|}}}||<div class="mw-collapsible mw-collapsed" style="width:4.5%">
<div class="mw-collapsible-content" style="width:1500%" >
+
<div class="mw-collapsible-content" style="width:1500%" >}}
{|class="wikitable" {{#if: {{{1|}}} || style="display: none;" }}
+
{|class="wikitable" {{#if:{{{1}}}|style="display: none;"}}
 
!Body part !!Health
 
!Body part !!Health
 
|-
 
|-
Line 38: Line 38:
 
|{{H:title|link=no|Hands, feet, paws, hoofs or other equivalent appendages|Appendage}}<br>(left, right, fore, hind) ||{{#expr: {{#var:HealthScale|}}*20 round 0}}
 
|{{H:title|link=no|Hands, feet, paws, hoofs or other equivalent appendages|Appendage}}<br>(left, right, fore, hind) ||{{#expr: {{#var:HealthScale|}}*20 round 0}}
 
|}
 
|}
{| {{STDT| sortable c_08 text-center {{#ifeq: {{#lc:{{{1|}}}}} |human| style="display: none;" }}}}
+
{| {{STDT| sortable c_08 text-center}} {{#ifeq: {{lc:{{{1|}}}}} |human|| style="display: none;" }}
!Body Part Name!! Health!! Quantity!!Coverage<ref>Coverage determines the chance to hit this body part. It refers to the percentage of the super-part that this part covers, before its own sub-parts claim their own percentage. For example, if the base coverage of the super-part is 100%, and the coverage of the part is 20%, 20% of hits would hit the part, and 80% the super-part. If the part had its own sub-part with 50% coverage, the chances would be 10% sub-part, 10% part, 80% super part.</ref>!!Hit Chance<ref>Hit Chance is the actual chance for each part to be hit when each part's coverage has been taken into account(I.E. Neck covers 7.5% of Torso but Head covers 80% of Neck so it actually has only a 1.5% chance to be hit).</ref>!!Subpart of||Internal!!Group<ref>What apparel coverage covers this body part.</ref>!!Capacity<ref>Note that [[capacities]] can affect other capacities in turn. Only the primary effect is listed. See specific pages for details.</ref>!!Effect if Destroyed/Removed
+
!Part Name!! Health!! Quantity!!Coverage<ref>Coverage determines the chance to hit this body part. It refers to the percentage of the super-part that this part covers, before its own sub-parts claim their own percentage. For example, if the base coverage of the super-part is 100%, and the coverage of the part is 20%, 20% of hits would hit the part, and 80% the super-part. If the part had its own sub-part with 50% coverage, the chances would be 10% sub-part, 10% part, 80% super part.</ref>!!Hit Chance<ref>Hit Chance is the actual chance for each part to be hit when each part's coverage has been taken into account(I.E. Neck covers 7.5% of Torso but Head covers 80% of Neck so it actually has only a 1.5% chance to be hit).</ref>!!Subpart of||Internal!!Group<ref>What apparel coverage covers this body part.</ref>!!Capacity<ref>Note that [[capacities]] can affect other capacities in turn. Only the primary effect is listed. See specific pages for details.</ref>!!Effect if Destroyed/Removed
 
|- id="BPT torso"
 
|- id="BPT torso"
 
![[#Torso|Torso]]
 
![[#Torso|Torso]]
Line 202: Line 202:
 
|-
 
|-
 
|}
 
|}
<references/>
+
<!--<references/>-->
</div>
+
{{#if:{{{notCollapsible|}}}||</div>
</div></includeonly>
+
</div>}}</includeonly>
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 03:38, 24 November 2021


Documentation icon Template documentation[view] [edit] [history] [purge]

Creates a table showing the health values for various body parts of a given animal.

Parameters

Currently accepts two parameters, namely bodytype and baseHealthScale. The template is set up to automatically draw from the page parameters if they exist, or the parameters can be defined instead. At the time of writing, only baseHealthScale is ever defined on pages.

The parameters are entered unnamed, in the following pattern:

{{quote|bodytype|baseHealthScale}}

Currently supported body types are as follows:

Example usage

On a page without Health Scale defined, the second parameter is required. For example, for the body part health values of a grizzly bear with a health scale value of 2.5, the required format is:

{{Animal Health Table||2.5}}

which results in

Body part Health
Head 63
Skull 63
Brain 25
Nose 25
Neck 63
Jaw 50
Eye [1]
(left, right)
25
Ear
(left, right)
25
Body 100
Kidney[2]
(left, right)
38
Lung[2]
(left, right)
38
Liver[2] 50
Heart[2] 38
Spine[2] 63
Stomach[2] 50
Limbs
(left, right, fore, hind)
75
Appendage
(left, right, fore, hind)
50


On a page with Health Scale defined, no parameters are required. For example, if the health scale on the page was defined as 1.0, the required format would be:

{{Animal Health Table|human}}

which results in

Part Name Health Quantity Coverage[11] Hit Chance[12] Subpart of Internal Group[13] Capacity[14] Effect if Destroyed/Removed
Torso 40 1 100% 15% N/A[15] Ex.png Torso - Death
Neck 25 1 7.5% 1.5% Torso Ex.png Neck Breathing
Eating
Talking
Death
Head 25 1 80% 1.7% Neck Ex.png UpperHead
FullHead
HeadAttackTool
- Death
Skull 25 1 18.0% 0.22% Head Check.png UpperHead
Eyes
FullHead
- Cannot be destroyed
Increasing Pain based on damage.
Brain 10 1 80.0% 0.86% Skull Check.png UpperHead
Eyes
FullHead
Consciousness Death
Eye 10 2 7.0% 0.42% Head Ex.png Eyes
FullHead
Sight -25% Sight. -100% if both lost.
-15 Disfigured Social penalty
Ear 12 2 7.0% 0.42% Head Ex.png UpperHead
FullHead
Hearing -25% Hearing. -100% if both lost.
-15 Disfigured Social penalty
Nose 10 1 10.0% 0.6% Head Ex.png FullHead - -15 Disfigured Social penalty
Jaw 20 1 15.0% 0.9% Head Ex.png Teeth
FullHead
Eating
Talking
-100% Talking and -90% Eating
Tongue 10[8] 1 0% 0% Jaw Check.png FullHead Eating
Talking
-100% Talking and -50% Eating
Waist 10[8] 1 0% 0% Torso Ex.png Waist - N/A
Spine 25 1 2.5% 2.5% Torso Check.png Torso Moving -100% Moving[16]
Ribcage 30 1 3.6% 3.6% Torso Check.png Torso Breathing Cannot be destroyed
Up to -48% Breathing
Increasing Pain based on damage.
Sternum 20 1 1.5% 1.5% Torso Check.png Torso Breathing Cannot be destroyed
Up to -48% Breathing
Increasing Pain based on damage.
Heart 15 1 2% 2% Torso Check.png Torso Blood Pumping Death
Lung 15 2 2.5% 2.5% Torso Check.png Torso Breathing -50% Breathing. Death if both lost
Stomach 20 1 2.5% 2.5% Torso Check.png Torso Metabolism -50% Metabolism
Liver 20 1 2.5% 2.5% Torso Check.png Torso Blood Filtration
Metabolism
Death
Kidney 15 2 1.7% 1.7% Torso Check.png Torso Blood Filtration -50% Blood Filtration. Death if both lost
Shoulder 30 2 12.0% 1.7% Torso Ex.png Shoulders Manipulation -50% Manipulation. -100% if both lost
Arm 30 2 77.0% 6.1% Shoulder Ex.png Arms Manipulation -50% Manipulation. -100% if both lost
Clavicle 25 2 9% 1.1% Shoulder Check.png Torso Manipulation Cannot be destroyed
Up to -48% Manipulation
Increasing Pain based on damage taken.
Humerus 25 2 10.0% 0.92% Arm Check.png Arms Manipulation -50% Manipulation. -100% if both lost
Radius 20 2 10.0% 0.92% Arm Check.png Arms Manipulation -50% Manipulation. -100% if both lost
Hand 20 2 14.0% 0.83% Arm Ex.png Hands Manipulation -50% Manipulation. -100% if both lost
Pinky Finger 8 2 6.0% 0.08% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
Manipulation -8% Manipulation. -16% if both lost
Ring Finger 8 2 7.0% 0.09% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
Manipulation -8% Manipulation. -16% if both lost
Middle Finger 8 2 8.0% 0.1% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
MiddleFingers
Manipulation -8% Manipulation. -16% if both lost
Index Finger 8 2 7.0% 0.09% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
Manipulation -8% Manipulation. -16% if both lost
Thumb 8 2 8.0% 0.1% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
Manipulation -8% Manipulation. -16% if both lost
Pelvis 25 1 2.5% 2.5% Torso Check.png Torso Moving Cannot be destroyed
Up to -96% Moving.
Leg 30 2 14.0% 9.8% Torso Ex.png Legs Moving -50% Moving. -100% if both lost
Femur 25 2 10.0% 1.4% Leg Check.png Legs Moving -50% Moving. -100% if both lost
Tibia 25 2 10.0% 1.4% Leg Check.png Legs Moving -50% Moving. -100% if both lost
Foot 25 2 10.0% 0.85% Leg Ex.png Feet Moving -50% Moving. -100% if both lost
Little Toe 8 2 6.0% 0.08% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
Fourth Toe 8 2 7.0% 0.10% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
Middle Toe 8 2 8.0% 0.11% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
Second Toe 8 2 9.0% 0.13% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
Big Toe 8 2 9.0% 0.13% Foot Ex.png Feet Moving -4% Moving. -8% if both lost


{{Animal Health Table|human|notCollapsible=1}}

which results in

Part Name Health Quantity Coverage[17] Hit Chance[18] Subpart of Internal Group[19] Capacity[20] Effect if Destroyed/Removed
Torso 40 1 100% 15% N/A[21] Ex.png Torso - Death
Neck 25 1 7.5% 1.5% Torso Ex.png Neck Breathing
Eating
Talking
Death
Head 25 1 80% 1.7% Neck Ex.png UpperHead
FullHead
HeadAttackTool
- Death
Skull 25 1 18.0% 0.22% Head Check.png UpperHead
Eyes
FullHead
- Cannot be destroyed
Increasing Pain based on damage.
Brain 10 1 80.0% 0.86% Skull Check.png UpperHead
Eyes
FullHead
Consciousness Death
Eye 10 2 7.0% 0.42% Head Ex.png Eyes
FullHead
Sight -25% Sight. -100% if both lost.
-15 Disfigured Social penalty
Ear 12 2 7.0% 0.42% Head Ex.png UpperHead
FullHead
Hearing -25% Hearing. -100% if both lost.
-15 Disfigured Social penalty
Nose 10 1 10.0% 0.6% Head Ex.png FullHead - -15 Disfigured Social penalty
Jaw 20 1 15.0% 0.9% Head Ex.png Teeth
FullHead
Eating
Talking
-100% Talking and -90% Eating
Tongue 10[8] 1 0% 0% Jaw Check.png FullHead Eating
Talking
-100% Talking and -50% Eating
Waist 10[8] 1 0% 0% Torso Ex.png Waist - N/A
Spine 25 1 2.5% 2.5% Torso Check.png Torso Moving -100% Moving[22]
Ribcage 30 1 3.6% 3.6% Torso Check.png Torso Breathing Cannot be destroyed
Up to -48% Breathing
Increasing Pain based on damage.
Sternum 20 1 1.5% 1.5% Torso Check.png Torso Breathing Cannot be destroyed
Up to -48% Breathing
Increasing Pain based on damage.
Heart 15 1 2% 2% Torso Check.png Torso Blood Pumping Death
Lung 15 2 2.5% 2.5% Torso Check.png Torso Breathing -50% Breathing. Death if both lost
Stomach 20 1 2.5% 2.5% Torso Check.png Torso Metabolism -50% Metabolism
Liver 20 1 2.5% 2.5% Torso Check.png Torso Blood Filtration
Metabolism
Death
Kidney 15 2 1.7% 1.7% Torso Check.png Torso Blood Filtration -50% Blood Filtration. Death if both lost
Shoulder 30 2 12.0% 1.7% Torso Ex.png Shoulders Manipulation -50% Manipulation. -100% if both lost
Arm 30 2 77.0% 6.1% Shoulder Ex.png Arms Manipulation -50% Manipulation. -100% if both lost
Clavicle 25 2 9% 1.1% Shoulder Check.png Torso Manipulation Cannot be destroyed
Up to -48% Manipulation
Increasing Pain based on damage taken.
Humerus 25 2 10.0% 0.92% Arm Check.png Arms Manipulation -50% Manipulation. -100% if both lost
Radius 20 2 10.0% 0.92% Arm Check.png Arms Manipulation -50% Manipulation. -100% if both lost
Hand 20 2 14.0% 0.83% Arm Ex.png Hands Manipulation -50% Manipulation. -100% if both lost
Pinky Finger 8 2 6.0% 0.08% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
Manipulation -8% Manipulation. -16% if both lost
Ring Finger 8 2 7.0% 0.09% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
Manipulation -8% Manipulation. -16% if both lost
Middle Finger 8 2 8.0% 0.1% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
MiddleFingers
Manipulation -8% Manipulation. -16% if both lost
Index Finger 8 2 7.0% 0.09% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
Manipulation -8% Manipulation. -16% if both lost
Thumb 8 2 8.0% 0.1% Hand Ex.png Hands
LeftHand[10]
RightHand[10]
Manipulation -8% Manipulation. -16% if both lost
Pelvis 25 1 2.5% 2.5% Torso Check.png Torso Moving Cannot be destroyed
Up to -96% Moving.
Leg 30 2 14.0% 9.8% Torso Ex.png Legs Moving -50% Moving. -100% if both lost
Femur 25 2 10.0% 1.4% Leg Check.png Legs Moving -50% Moving. -100% if both lost
Tibia 25 2 10.0% 1.4% Leg Check.png Legs Moving -50% Moving. -100% if both lost
Foot 25 2 10.0% 0.85% Leg Ex.png Feet Moving -50% Moving. -100% if both lost
Little Toe 8 2 6.0% 0.08% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
Fourth Toe 8 2 7.0% 0.10% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
Middle Toe 8 2 8.0% 0.11% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
Second Toe 8 2 9.0% 0.13% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
Big Toe 8 2 9.0% 0.13% Foot Ex.png Feet Moving -4% Moving. -8% if both lost
  1. 1.0 1.1 1.2 Located inside of Head.
  2. 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 Located inside of Body.
  3. Coverage determines the chance to hit this body part. It refers to the percentage of the super-part that this part covers, before its own sub-parts claim their own percentage. For example, if the base coverage of the super-part is 100%, and the coverage of the part is 20%, 20% of hits would hit the part, and 80% the super-part. If the part had its own sub-part with 50% coverage, the chances would be 10% sub-part, 10% part, 80% super part.
  4. Hit Chance is the actual chance for each part to be hit when each part's coverage has been taken into account(I.E. Neck covers 7.5% of Torso but Head covers 80% of Neck so it actually has only a 1.5% chance to be hit).
  5. What apparel coverage covers this body part.
  6. Note that capacities can affect other capacities in turn. Only the primary effect is listed. See specific pages for details.
  7. This is the part that everything else connects to to be considered 'connected'.
  8. 8.0 8.1 8.2 8.3 8.4 8.5 This part has no coverage and cannot be damaged.
  9. If Moving drops below 16% a pawn cannot move. A pawn that cannot move cannot work.
  10. 10.00 10.01 10.02 10.03 10.04 10.05 10.06 10.07 10.08 10.09 10.10 10.11 10.12 10.13 10.14 10.15 10.16 10.17 10.18 10.19 10.20 10.21 10.22 10.23 10.24 10.25 10.26 10.27 10.28 10.29 Only the relevant choice of LeftHand OR RightHand will apply, not both.
  11. Coverage determines the chance to hit this body part. It refers to the percentage of the super-part that this part covers, before its own sub-parts claim their own percentage. For example, if the base coverage of the super-part is 100%, and the coverage of the part is 20%, 20% of hits would hit the part, and 80% the super-part. If the part had its own sub-part with 50% coverage, the chances would be 10% sub-part, 10% part, 80% super part.
  12. Hit Chance is the actual chance for each part to be hit when each part's coverage has been taken into account(I.E. Neck covers 7.5% of Torso but Head covers 80% of Neck so it actually has only a 1.5% chance to be hit).
  13. What apparel coverage covers this body part.
  14. Note that capacities can affect other capacities in turn. Only the primary effect is listed. See specific pages for details.
  15. This is the part that everything else connects to to be considered 'connected'.
  16. If Moving drops below 16% a pawn cannot move. A pawn that cannot move cannot work.
  17. Coverage determines the chance to hit this body part. It refers to the percentage of the super-part that this part covers, before its own sub-parts claim their own percentage. For example, if the base coverage of the super-part is 100%, and the coverage of the part is 20%, 20% of hits would hit the part, and 80% the super-part. If the part had its own sub-part with 50% coverage, the chances would be 10% sub-part, 10% part, 80% super part.
  18. Hit Chance is the actual chance for each part to be hit when each part's coverage has been taken into account(I.E. Neck covers 7.5% of Torso but Head covers 80% of Neck so it actually has only a 1.5% chance to be hit).
  19. What apparel coverage covers this body part.
  20. Note that capacities can affect other capacities in turn. Only the primary effect is listed. See specific pages for details.
  21. This is the part that everything else connects to to be considered 'connected'.
  22. If Moving drops below 16% a pawn cannot move. A pawn that cannot move cannot work.