Difference between revisions of "Template:Tag/Health"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
  {{#vardefine: name         | {{{1|Wood}}}
+
{{#vardefine: name | {{{1|Wood}}}
}}{{#vardefine: hp            | {{Q| {{#var:name}} | Max Health Base        }}
 
}}{{#vardefine: deterioration | {{Q| {{#var:name}} | Deterioration Rate Base }}
 
}}{{#vardefine: flammability  | {{Q| {{#var:name}} | Flammability Base      }}
 
 
}}{| {{STDT| c_06 right }} style='float: right; font-size: 85%; margin: 1em'
 
}}{| {{STDT| c_06 right }} style='float: right; font-size: 85%; margin: 1em'
! colspan='0' | Health
+
! colspan='0' | {{#if: {{Q| {{#var:name}} | Use Standard Health }} | Health
|-
+
{{Tag/Health/HasHealth| {{#var:name}} }}
! style='text-align: left' | Hitpoints
+
| No Health }}
|
 
| {{#if: {{#var:hp}} | {{Format/Value| {{#var: hp }}}} HP{{H|/1}} | ''None'' }}
 
|-
 
! style='text-align: left' | Flammability
 
| '''{{Format/Percentage| {{#var:flammability  | 0 }}}}'''
 
| ?? HP/s
 
|-
 
! style='text-align: left' | Deterioration
 
| '''{{Format/Percentage| {{#var:deterioration | 0 }}}}'''
 
|   {{Format/Value    | {{#var:deterioration | 0 }}}} HP/d
 
 
|}
 
|}

Revision as of 16:41, 16 March 2015

No Health