Difference between revisions of "Template:Mechanoid Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>
+
<includeonly>  
<div><li style="display: inline-table;">
 
Click to <div class="mw-collapsible">
 
<div class="mw-collapsible-content">
 
{| {{STDT|sortable c_06 text-center}}
 
|-
 
! colspan="2" | Mechanoid !! Class !! Armor (S/B/H) !! Body Size !! Health Scale !! Move Speed !!  Ranged weapon !! Turret weapon !! Bandwidth !! Research !! Cost !! Market Value
 
{{#ask: [[Type::Mechanoid]] [[Resource 1::+]]
 
| named args=yes
 
| ? # - = ?Pagename
 
| ?Name=?Name
 
| ?Armor - Sharp = ?Armor - Sharp
 
| ?Armor - Blunt = ?Armor - Blunt
 
| ?Armor - Heat = ?Armor - Heat
 
| ?Body Size = ?Body Size
 
| ?Bandwidth = ?Bandwidth
 
| ?Health Scale = ?Health Scale
 
| ?Move Speed Base = ?Move Speed Base
 
| ?Required Research = ?Required Research
 
| ?Market Value Base # = ?Market Value Base
 
| ?weaponTags = ?weaponTags
 
| format=template
 
| template=Mechanoid Table Row
 
| sort = From DLC, name
 
}}
 
|}
 
</div>
 
</div>
 
</li></div>
 
</noinclude><includeonly>  
 
 
|-
 
|-
 
! style='text-align: left !important;'| {{Icon Small|{{{?Pagename}}}|32}}  
 
! style='text-align: left !important;'| {{Icon Small|{{{?Pagename}}}|32}}  
 
! style='text-align: left !important;'| [[{{{?Pagename}}}|{{{?Name}}}]]{{#ifeq: {{Q|{{{?Pagename}}}|From DLC}}|Ideology (DLC)|{{IdeologyIcon}}}} {{#ifeq: {{Q|{{{?Pagename}}}|From DLC}}|Royalty (DLC)|{{RoyaltyIcon}}}} <!-- For biotech pages so doesn't need biotech icon -->
 
! style='text-align: left !important;'| [[{{{?Pagename}}}|{{{?Name}}}]]{{#ifeq: {{Q|{{{?Pagename}}}|From DLC}}|Ideology (DLC)|{{IdeologyIcon}}}} {{#ifeq: {{Q|{{{?Pagename}}}|From DLC}}|Royalty (DLC)|{{RoyaltyIcon}}}} <!-- For biotech pages so doesn't need biotech icon -->
| <Class Here>
+
| {{#switch: {{{?Name}}}
 +
|Militor|Lifter|Constructoid|Fabricor|Agrihand|Cleansweeper|Paramedic|War urchin = Light
 +
|Scyther|Pikeman|Scorcher|Lancer|Legionary|Tesseron = Medium
 +
|Tunneler|Centipede gunner|Centipede blaster|Centipede burner = Heavy
 +
|Centurion | Diabolus| War queen = Superheavy
 +
|#default = ?}}
 
| {{{?Armor - Sharp|}}}% / {{{?Armor - Blunt|}}}% / {{{?Armor - Heat|}}}%  
 
| {{{?Armor - Sharp|}}}% / {{{?Armor - Blunt|}}}% / {{{?Armor - Heat|}}}%  
 
| {{{?Body Size}}}
 
| {{{?Body Size}}}
 
| {{{?Health Scale}}}
 
| {{{?Health Scale}}}
 
| {{{?Move Speed Base}}} c/s
 
| {{{?Move Speed Base}}} c/s
| {{#if:{{{?weaponTags|}}}| {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]}}| - }}
+
| {{#expr:{{True Melee DPS Calculator|{{{?Pagename}}}}}*0.62}}
| <Turret Weapon
+
| {{#switch: {{{?Name}}} | Centurion | Diabolus| War queen = [[Charge blaster turret]]{{#if:{{{?weaponTags|}}}|, {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]}}}}| #default = {{#if:{{{?weaponTags|}}}| {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]}}| - }} }}
| {{{?Bandwidth|-}}}
+
| {{{?Bandwidth| - }}}
 
| {{#if:{{{?Required Research|}}}|{{#switch:{{{?Required Research}}}
 
| {{#if:{{{?Required Research|}}}|{{#switch:{{{?Required Research}}}
 
   | Basic mechtech    = data-sort-value="1"{{!}}[[Research#Basic mechtech|Basic mechtech]]
 
   | Basic mechtech    = data-sort-value="1"{{!}}[[Research#Basic mechtech|Basic mechtech]]
Line 49: Line 25:
 
| {{#expr: {{{?Market Value Base}}} {{#if:{{{?weaponTags|}}}|+ {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]|mainlabel=-|?Market Value Base #|headers=hide}}}} }}
 
| {{#expr: {{{?Market Value Base}}} {{#if:{{{?weaponTags|}}}|+ {{#ask: [[WeaponTags::{{{?weaponTags|}}}]] [[Type2::Weapons]] [[:+]]|mainlabel=-|?Market Value Base #|headers=hide}}}} }}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
<!--{{documentation}}-->
+
{{Recode|reason=Class and Charge blaster turret hardcoded}}
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 02:13, 11 November 2022

Documentation icon Template documentation[view] [edit] [history] [purge]
  • Click to
    Mechanoid Class Armor
    (S/B/H)
    Body
    Size
    Health
    Scale
    Move
    Speed
    Melee DPS[1]
    (Post Hit Chance)
    Ranged weapon Bandwidth Research Cost Cycles Market Value[2]
    Agrihand Agrihand Light 20% / 10% / 200% 0.7 3.4 c/s 2.48 - 1 Basic mechtech Steel 50 + Basic subcore 1 800
    Cleansweeper Cleansweeper Light 20% / 10% / 200% 0.3 3.4 c/s 1.4322 - 1 Basic mechtech Steel 50 + Basic subcore 1 800
    Constructoid Constructoid Light 20% / 10% / 200% 0.7 3.4 c/s 2.139 - 1 Basic mechtech Steel 50 + Basic subcore 1 800
    Lifter Lifter Light 20% / 10% / 200% 0.7 2.8 c/s 1.4322 - 1 Basic mechtech Steel 50 + Basic subcore 1 800
    Militor Militor Light 20% / 10% / 200% 0.7 3.8 c/s 1.4322 Mini-shotgun 1 Basic mechtech Steel 50 + Basic subcore 1 1800
    Centipede burner Centipede burner Heavy 72% / 22% / 200% 3 4.32 1.9 c/s 4.0548 Inferno cannon 4 High mechtech Steel 255 + Plasteel 255 + Component 8 + High subcore 1 2600
    Centipede gunner Centipede gunner Heavy 72% / 22% / 200% 3 4.32 1.9 c/s 4.0548 Minigun 4 High mechtech Steel 255 + Plasteel 255 + Component 8 + High subcore 1 2360
    Diabolus Diabolus Superheavy 75% / 25% / 200% 4 4.5 2.4 c/s 4.2904 Charge blaster turret, Hellsphere cannon 5 High mechtech Steel 300 + Plasteel 300 + Signal chip 2 + High subcore 1 3000
    Fabricor Fabricor Light 20% / 10% / 200% 0.7 3.4 c/s 1.4322 - 1 High mechtech Steel 100 + High subcore 1 800
    Lancer Lancer Medium 40% / 20% / 200% 1 0.72 4.7 c/s 3.72 Charge lance 3 High mechtech Steel 75 + Plasteel 75 + Component 4 + Standard subcore 1 2555
    Paramedic Paramedic Light 20% / 10% / 200% 0.7 3.8 c/s 1.4322 - 1 High mechtech Steel 100 + High subcore 1 800
    Pikeman Pikeman Medium 40% / 20% / 200% 1 0.85 2.5 c/s 3.72 Needle gun 2 Standard mechtech Steel 100 + Plasteel 40 + Component 4 + Standard subcore 1 2600
    Scorcher Scorcher Medium 40% / 20% / 200% 1 0.7 4.5 c/s 3.72 Mini-flameblaster 1 Standard mechtech Steel 80 + Plasteel 32 + Component 3 + Standard subcore 1 2200
    Scyther Scyther Medium 40% / 20% / 200% 1 1.32 4.7 c/s 6.2 - 2 Standard mechtech Steel 75 + Plasteel 75 + Component 4 + Standard subcore 1 1200
    Tunneler Tunneler Heavy 80% / 40% / 200% 3.5 1.5 1.9 c/s 4.7058 - 3 Standard mechtech Steel 150 + Plasteel 75 + Component 4 + Standard subcore 1 1200
    Centipede blaster Centipede blaster Heavy 72% / 22% / 200% 3 4.32 1.9 c/s 4.0548 Heavy charge blaster 4 Ultra mechtech Steel 255 + Plasteel 355 + Component 8 + High subcore 1 2600
    Centurion Centurion Superheavy 75% / 25% / 200% 3.6 3 1.6 c/s 3.72 Charge blaster turret 5 Ultra mechtech Steel 300 + Plasteel 200 + Advanced component 2 + Powerfocus chip 1 + High subcore 1 1600
    Legionary Legionary Medium 40% / 20% / 200% 1 0.72 4.3 c/s 3.72 Needle launcher 2 Ultra mechtech Plasteel 100 + Component 6 + High subcore 1 2600
    Tesseron Tesseron Medium 40% / 20% / 200% 1 0.72 4.7 c/s 3.72 Beam graser 3 Ultra mechtech Plasteel 110 + Component 7 + High subcore 1 1344
    War queen War queen Superheavy 75% / 25% / 200% 4 5.2 1.6 c/s 1.24 Charge blaster turret 5 Ultra mechtech Steel 600 + Plasteel 300 + Advanced component 3 + Nano structuring chip 1 + High subcore 1 1600
    War urchin War urchin Light 20% / 10% / 200% 0.7 1.3 4.2 c/s 1.4322 Spiner 0 Ultra mechtech Steel 25 1300
    1. Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox. It may also change depending on the stats and the melee verbs available to the wielder
    2. Note: This value includes that of the weapon it spawns with.