Difference between revisions of "Template:Tag/Health"

From RimWorld Wiki
Jump to navigation Jump to search
(Marked as obsolete)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  {{#vardefine: name         | {{{1|Wood}}}
+
<noinclude>{{Obsolete|reason=This template isn't used at all.}}</noinclude>
}}{{#vardefine: hp            | {{Q| {{#var:name}} | Max Health Base        }}
+
<onlyinclude>{{#vardefine: name | {{{1|Wood}}}
}}{{#vardefine: deterioration | {{Q| {{#var:name}} | Deterioration Rate Base }}
+
}}{{#ifeq: {{Q| {{#var:name}} | Use Hit Points }} | true | {{Tag/Health/Content| {{#var:name}} }}
}}{{#vardefine: flammability  | {{Q| {{#var:name}} | Flammability Base      }}
+
| {{{!}} {{Tag/ST || 15em }}
}}{| {{STDT| c_06 right }} style='float: right; font-size: 85%; margin-right: 1em'
+
{{Tag/HC}} No Hit Points
! colspan='0' | Health
+
{{!}}-
|- {{#if: {{#var:hp}} |
+
{{!}} style='font-size: 80%; text-align: left' {{!}} ''Not harmed by HP damage; can be destroyed (e.g. by cave-ins). Does not apply to items made from this.''
! style='text-align: left' | Hitpoints
+
{{!}}}
|
+
}}</onlyinclude>
| {{#var:hp}}&nbsp;HP<span style='visibility: hidden'>/1</span>
+
 
|-
+
[[Category:Tag]]
! style='text-align: left' | Flammability
 
| '''{{Format/Percentage| {{#var:flammability}}}}'''
 
| ??&nbsp;HP/s
 
|-
 
! style='text-align: left' | Deterioration
 
| '''{{Format/Percentage| {{#var:deterioration}}}}'''
 
|    {{Format/Value    | {{#var:deterioration}}}}&nbsp;HP/d
 
}}
 
|}
 

Latest revision as of 11:56, 24 April 2022


No Hit Points
Not harmed by HP damage; can be destroyed (e.g. by cave-ins). Does not apply to items made from this.