Difference between revisions of "Template:Attack"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "<noinclude><!-- Cargo declare section --> {{#cargo_declare:_table=Attack | sequence = Integer | bodypart = String | type = String | damage = Flo...")
 
Line 1: Line 1:
 
<noinclude><!-- Cargo declare section  -->
 
<noinclude><!-- Cargo declare section  -->
 
{{#cargo_declare:_table=Attack
 
{{#cargo_declare:_table=Attack
| sequence      = Integer
+
| tool          = String
| bodypart      = String
 
 
| type          = String
 
| type          = String
 
| damage        = Float
 
| damage        = Float
Line 13: Line 12:
  
 
== Usage ==
 
== Usage ==
<code><nowiki>{{Attack|sequence=999|bodypart=xxx|type=xxx|damage=99.9|cooldown=999|chance=.99|surpriseattack=yes|surprisedamage=99.9|surprisestun=999}}</nowiki></code></noinclude><!--
+
<code><nowiki>{{Attack|tool=xxx|type=xxx|damage=99.9|cooldown=999|chance=.99|surpriseattack=yes|surprisedamage=99.9|surprisestun=999}}</nowiki></code></noinclude><!--
  
 
--><includeonly><!-- Cargo store section  --><!--
 
--><includeonly><!-- Cargo store section  --><!--
 
-->{{#cargo_store:_table=Attack
 
-->{{#cargo_store:_table=Attack
| sequence      = {{{sequence|}}}
+
| tool          = {{{tool|}}}
| bodypart      = {{{bodypart|}}}
 
 
| type          = {{{type|}}}
 
| type          = {{{type|}}}
 
| damage        = {{{damage|}}}
 
| damage        = {{{damage|}}}

Revision as of 18:30, 1 August 2019

This template defines the table "Attack". View table.

Usage

{{Attack|tool=xxx|type=xxx|damage=99.9|cooldown=999|chance=.99|surpriseattack=yes|surprisedamage=99.9|surprisestun=999}}

Documentation icon Template documentation[create]