Difference between revisions of "Template:Tag/Health"

From RimWorld Wiki
Jump to navigation Jump to search
(Marked as obsolete)
 
(20 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: 1em'
+
{{Tag/HC}} No Hit Points
! colspan='0' | Health
+
{{!}}-
|-
+
{{!}} 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>
| {{#if: {{#var:hp}} | {{Format/Value| {{#var: hp }}}}&nbsp;HP{{H|/1}} | ''None'' }}
+
 
|-
+
[[Category:Tag]]
! style='text-align: left' | Flammability
 
| '''{{Format/Percentage| {{#var:flammability  | 0 }}}}'''
 
| ??&nbsp;HP/s
 
|-
 
! style='text-align: left' | Deterioration
 
| '''{{Format/Percentage| {{#var:deterioration | 0 }}}}'''
 
|    {{Format/Value    | {{#var:deterioration | 0 }}}}&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.