Template:KV EmpBuilding: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Move baseanimating values in here. This will make it easier to clean it up later (for example, the model KV is ignored on buildings, so that might need a note or need to be removed all together).)
(-cleanup)
 
Line 1: Line 1:
{{lang|{{FULLPAGENAME}}}}[[Category:Keyvalue Templates]][[Category:Empires]]
{{lang|{{FULLPAGENAME}}}}[[Category:Keyvalue Templates]][[Category:Empires]]
== Tests ==
{{KV EmpBuilding}}
{{KV|start}}
{{KV EmpBuilding|new=1}}
{{KV|end}}


<includeonly><onlyinclude>{{KV|new=1|startBuilt|choices|src=EmpBuilding|Fully Built?|value=Yes|If yes, then the building will start with full health and be fully functional.  If no, then an engineer must repair it to full health before it functions.
<includeonly><onlyinclude>{{KV|Fully Built?|intn=startBuilt|boolean|If yes, then the building will start with full health and be fully functional.  If no, then an engineer must repair it to full health before it functions.}}</onlyinclude></includeonly>
 
'''Values:'''
:*'''0:''' No
:*'''1:''' Yes
}}
{{KV BaseAnimating|new=1|base=1}}</onlyinclude></includeonly>

Latest revision as of 13:23, 2 July 2024


Fully Built? (startBuilt) <boolean>
If yes, then the building will start with full health and be fully functional. If no, then an engineer must repair it to full health before it functions.