Difference between revisions of "Template:Building Stats Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
 
! '''[[{{{1|Cloth}}}]] {{#var:name}}'''
 
! '''[[{{{1|Cloth}}}]] {{#var:name}}'''
| TEMP ONLY  - work = {{#var:work|}}
+
|  
 
| {{ #expr: {{Q|{{{1|Cloth}}}|Beauty Offset}} + {{Q|{{{1|Cloth}}}|Beauty Factor}}*{{#var:beauty|}} round 0}}
 
| {{ #expr: {{Q|{{{1|Cloth}}}|Beauty Offset}} + {{Q|{{{1|Cloth}}}|Beauty Factor}}*{{#var:beauty|}} round 0}}
| {{ #expr: {{Q|{{{1|Cloth}}}|Work To Build Factor}}*{{#var:work|}} round 0}}
+
| {{ticks|{{ #expr: {{Q|{{{1|Cloth}}}|Work To Build Factor}}*{{#var:work|}} round 0}}}}
 
| {{#var:mass|}}
 
| {{#var:mass|}}
 
| {{ #expr: {{Q|{{{1|Cloth}}}|Max Hit Points Factor}}*{{#var:HP|}} round 0}}
 
| {{ #expr: {{Q|{{{1|Cloth}}}|Max Hit Points Factor}}*{{#var:HP|}} round 0}}

Revision as of 04:18, 31 January 2021


Documentation icon Template documentation[view] [edit] [history] [purge]

Summary

This template is only ever called as part of Template:Building Stats Table. It uses the variables defined in that template to render a single row of the table.

{{vardefine:workValueRatios|1}} can be used to display additional columns for special usecases.

Example usage

This template isn't designed to be used in isolation, so as an example {{Building Stats Table | Bed}}, which displays the table for the Bed, is shown.

Stats table

Feature Toggle
QualityRitual Quality Check Off.pngRitual Quality Check On.png
  • |-
    Table (1x2) Table (1x2) Beauty Work to Build HP Flamma­bility Market
    Value
    Quality Material
    Bioferrite Table (1x2) 0 1,875 ticks (31.25 secs) 150 75% 28 Silver
    Gold Table (1x2) 22 675 ticks (11.25 secs) 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 4,500 ticks (1.25 mins) 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 4,500 ticks (1.25 mins) 116 0% 42 Silver
    Marble blocks Table (1x2) 2 4,125 ticks (1.15 mins) 90 0% 41 Silver
    Plasteel Table (1x2) 1 1,650 ticks (27.5 secs) 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 3,750 ticks (1.04 mins) 105 0% 39 Silver
    Silver Table (1x2) 7 750 ticks (12.5 secs) 53 40% 285 Silver
    Slate blocks Table (1x2) 1 4,500 ticks (1.25 mins) 98 0% 42 Silver
    Steel Table (1x2) 1 750 ticks (12.5 secs) 75 40% 56 Silver
    Jade Table (1x2) 11 3,750 ticks (1.04 mins) 38 0% 154 Silver
    Uranium Table (1x2) 0 1,425 ticks (23.75 secs) 188 0% 173 Silver
    Wood Table (1x2) 1 525 ticks (8.75 secs) 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1,875 ticks (31.25 secs) 150 75% 28 Silver
    Gold Table (1x2) 22 675 ticks (11.25 secs) 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 4,500 ticks (1.25 mins) 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 4,500 ticks (1.25 mins) 116 0% 42 Silver
    Marble blocks Table (1x2) 2 4,125 ticks (1.15 mins) 90 0% 41 Silver
    Plasteel Table (1x2) 1 1,650 ticks (27.5 secs) 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 3,750 ticks (1.04 mins) 105 0% 39 Silver
    Silver Table (1x2) 7 750 ticks (12.5 secs) 53 40% 285 Silver
    Slate blocks Table (1x2) 1 4,500 ticks (1.25 mins) 98 0% 42 Silver
    Steel Table (1x2) 1 750 ticks (12.5 secs) 75 40% 56 Silver
    Jade Table (1x2) 11 3,750 ticks (1.04 mins) 38 0% 154 Silver
    Uranium Table (1x2) 0 1,425 ticks (23.75 secs) 188 0% 173 Silver
    Wood Table (1x2) 1 525 ticks (8.75 secs) 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1,875 ticks (31.25 secs) 150 75% 28 Silver
    Gold Table (1x2) 22 675 ticks (11.25 secs) 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 4,500 ticks (1.25 mins) 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 4,500 ticks (1.25 mins) 116 0% 42 Silver
    Marble blocks Table (1x2) 2 4,125 ticks (1.15 mins) 90 0% 41 Silver
    Plasteel Table (1x2) 1 1,650 ticks (27.5 secs) 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 3,750 ticks (1.04 mins) 105 0% 39 Silver
    Silver Table (1x2) 7 750 ticks (12.5 secs) 53 40% 285 Silver
    Slate blocks Table (1x2) 1 4,500 ticks (1.25 mins) 98 0% 42 Silver
    Steel Table (1x2) 1 750 ticks (12.5 secs) 75 40% 56 Silver
    Jade Table (1x2) 11 3,750 ticks (1.04 mins) 38 0% 154 Silver
    Uranium Table (1x2) 0 1,425 ticks (23.75 secs) 188 0% 173 Silver
    Wood Table (1x2) 1 525 ticks (8.75 secs) 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1,875 ticks (31.25 secs) 150 75% 28 Silver
    Gold Table (1x2) 22 675 ticks (11.25 secs) 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 4,500 ticks (1.25 mins) 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 4,500 ticks (1.25 mins) 116 0% 42 Silver
    Marble blocks Table (1x2) 2 4,125 ticks (1.15 mins) 90 0% 41 Silver
    Plasteel Table (1x2) 1 1,650 ticks (27.5 secs) 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 3,750 ticks (1.04 mins) 105 0% 39 Silver
    Silver Table (1x2) 7 750 ticks (12.5 secs) 53 40% 285 Silver
    Slate blocks Table (1x2) 1 4,500 ticks (1.25 mins) 98 0% 42 Silver
    Steel Table (1x2) 1 750 ticks (12.5 secs) 75 40% 56 Silver
    Jade Table (1x2) 11 3,750 ticks (1.04 mins) 38 0% 154 Silver
    Uranium Table (1x2) 0 1,425 ticks (23.75 secs) 188 0% 173 Silver
    Wood Table (1x2) 1 525 ticks (8.75 secs) 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1,875 ticks (31.25 secs) 150 75% 28 Silver
    Gold Table (1x2) 22 675 ticks (11.25 secs) 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 4,500 ticks (1.25 mins) 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 4,500 ticks (1.25 mins) 116 0% 42 Silver
    Marble blocks Table (1x2) 2 4,125 ticks (1.15 mins) 90 0% 41 Silver
    Plasteel Table (1x2) 1 1,650 ticks (27.5 secs) 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 3,750 ticks (1.04 mins) 105 0% 39 Silver
    Silver Table (1x2) 7 750 ticks (12.5 secs) 53 40% 285 Silver
    Slate blocks Table (1x2) 1 4,500 ticks (1.25 mins) 98 0% 42 Silver
    Steel Table (1x2) 1 750 ticks (12.5 secs) 75 40% 56 Silver
    Jade Table (1x2) 11 3,750 ticks (1.04 mins) 38 0% 154 Silver
    Uranium Table (1x2) 0 1,425 ticks (23.75 secs) 188 0% 173 Silver
    Wood Table (1x2) 1 525 ticks (8.75 secs) 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1,875 ticks (31.25 secs) 150 75% 28 Silver
    Gold Table (1x2) 22 675 ticks (11.25 secs) 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 4,500 ticks (1.25 mins) 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 4,500 ticks (1.25 mins) 116 0% 42 Silver
    Marble blocks Table (1x2) 2 4,125 ticks (1.15 mins) 90 0% 41 Silver
    Plasteel Table (1x2) 1 1,650 ticks (27.5 secs) 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 3,750 ticks (1.04 mins) 105 0% 39 Silver
    Silver Table (1x2) 7 750 ticks (12.5 secs) 53 40% 285 Silver
    Slate blocks Table (1x2) 1 4,500 ticks (1.25 mins) 98 0% 42 Silver
    Steel Table (1x2) 1 750 ticks (12.5 secs) 75 40% 56 Silver
    Jade Table (1x2) 11 3,750 ticks (1.04 mins) 38 0% 154 Silver
    Uranium Table (1x2) 0 1,425 ticks (23.75 secs) 188 0% 173 Silver
    Wood Table (1x2) 1 525 ticks (8.75 secs) 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1,875 ticks (31.25 secs) 150 75% 28 Silver
    Gold Table (1x2) 22 675 ticks (11.25 secs) 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 4,500 ticks (1.25 mins) 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 4,500 ticks (1.25 mins) 116 0% 42 Silver
    Marble blocks Table (1x2) 2 4,125 ticks (1.15 mins) 90 0% 41 Silver
    Plasteel Table (1x2) 1 1,650 ticks (27.5 secs) 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 3,750 ticks (1.04 mins) 105 0% 39 Silver
    Silver Table (1x2) 7 750 ticks (12.5 secs) 53 40% 285 Silver
    Slate blocks Table (1x2) 1 4,500 ticks (1.25 mins) 98 0% 42 Silver
    Steel Table (1x2) 1 750 ticks (12.5 secs) 75 40% 56 Silver
    Jade Table (1x2) 11 3,750 ticks (1.04 mins) 38 0% 154 Silver
    Uranium Table (1x2) 0 1,425 ticks (23.75 secs) 188 0% 173 Silver
    Wood Table (1x2) 1 525 ticks (8.75 secs) 49 100% 36 Silver
  • Stats table

    Feature Toggle
    QualityRitual Quality Check Off.pngRitual Quality Check On.png
  • |-
    Bed Bed Beauty Comfort Rest
    effectiveness
    [A]
    Surgery
    success
    chance
    factor [B]
    Work to Build HP Flamma­bility Market
    Value
    Quality Material
    Bioferrite Bed 0 2,000 ticks (33.33 secs) 280 75% 41 Silver
    Gold Bed 24 720 ticks (12 secs) 84 40% 4505 Silver
    Granite blocks Bed 1 4,800 ticks (1.33 mins) 238 0% 58 Silver
    Limestone blocks Bed 1 4,800 ticks (1.33 mins) 217 0% 58 Silver
    Marble blocks Bed 2 4,400 ticks (1.22 mins) 168 0% 57 Silver
    Plasteel Bed 1 1,760 ticks (29.33 secs) 392 0% 410 Silver
    Sandstone blocks Bed 1 4,000 ticks (1.11 mins) 196 0% 55 Silver
    Silver Bed 8 800 ticks (13.33 secs) 98 40% 455 Silver
    Slate blocks Bed 1 4,800 ticks (1.33 mins) 182 0% 58 Silver
    Steel Bed 1 800 ticks (13.33 secs) 140 40% 88 Silver
    Jade Bed 13 4,000 ticks (1.11 mins) 70 0% 240 Silver
    Uranium Bed 1 1,520 ticks (25.33 secs) 350 0% 275 Silver
    Wood Bed 1 560 ticks (9.33 secs) 91 100% 56 Silver
    Bioferrite Bed 0 2,000 ticks (33.33 secs) 280 75% 41 Silver
    Gold Bed 24 720 ticks (12 secs) 84 40% 4505 Silver
    Granite blocks Bed 1 4,800 ticks (1.33 mins) 238 0% 58 Silver
    Limestone blocks Bed 1 4,800 ticks (1.33 mins) 217 0% 58 Silver
    Marble blocks Bed 2 4,400 ticks (1.22 mins) 168 0% 57 Silver
    Plasteel Bed 1 1,760 ticks (29.33 secs) 392 0% 410 Silver
    Sandstone blocks Bed 1 4,000 ticks (1.11 mins) 196 0% 55 Silver
    Silver Bed 8 800 ticks (13.33 secs) 98 40% 455 Silver
    Slate blocks Bed 1 4,800 ticks (1.33 mins) 182 0% 58 Silver
    Steel Bed 1 800 ticks (13.33 secs) 140 40% 88 Silver
    Jade Bed 13 4,000 ticks (1.11 mins) 70 0% 240 Silver
    Uranium Bed 1 1,520 ticks (25.33 secs) 350 0% 275 Silver
    Wood Bed 1 560 ticks (9.33 secs) 91 100% 56 Silver
    Bioferrite Bed 0 2,000 ticks (33.33 secs) 280 75% 41 Silver
    Gold Bed 24 720 ticks (12 secs) 84 40% 4505 Silver
    Granite blocks Bed 1 4,800 ticks (1.33 mins) 238 0% 58 Silver
    Limestone blocks Bed 1 4,800 ticks (1.33 mins) 217 0% 58 Silver
    Marble blocks Bed 2 4,400 ticks (1.22 mins) 168 0% 57 Silver
    Plasteel Bed 1 1,760 ticks (29.33 secs) 392 0% 410 Silver
    Sandstone blocks Bed 1 4,000 ticks (1.11 mins) 196 0% 55 Silver
    Silver Bed 8 800 ticks (13.33 secs) 98 40% 455 Silver
    Slate blocks Bed 1 4,800 ticks (1.33 mins) 182 0% 58 Silver
    Steel Bed 1 800 ticks (13.33 secs) 140 40% 88 Silver
    Jade Bed 13 4,000 ticks (1.11 mins) 70 0% 240 Silver
    Uranium Bed 1 1,520 ticks (25.33 secs) 350 0% 275 Silver
    Wood Bed 1 560 ticks (9.33 secs) 91 100% 56 Silver
    Bioferrite Bed 0 2,000 ticks (33.33 secs) 280 75% 41 Silver
    Gold Bed 24 720 ticks (12 secs) 84 40% 4505 Silver
    Granite blocks Bed 1 4,800 ticks (1.33 mins) 238 0% 58 Silver
    Limestone blocks Bed 1 4,800 ticks (1.33 mins) 217 0% 58 Silver
    Marble blocks Bed 2 4,400 ticks (1.22 mins) 168 0% 57 Silver
    Plasteel Bed 1 1,760 ticks (29.33 secs) 392 0% 410 Silver
    Sandstone blocks Bed 1 4,000 ticks (1.11 mins) 196 0% 55 Silver
    Silver Bed 8 800 ticks (13.33 secs) 98 40% 455 Silver
    Slate blocks Bed 1 4,800 ticks (1.33 mins) 182 0% 58 Silver
    Steel Bed 1 800 ticks (13.33 secs) 140 40% 88 Silver
    Jade Bed 13 4,000 ticks (1.11 mins) 70 0% 240 Silver
    Uranium Bed 1 1,520 ticks (25.33 secs) 350 0% 275 Silver
    Wood Bed 1 560 ticks (9.33 secs) 91 100% 56 Silver
    Bioferrite Bed 0 2,000 ticks (33.33 secs) 280 75% 41 Silver
    Gold Bed 24 720 ticks (12 secs) 84 40% 4505 Silver
    Granite blocks Bed 1 4,800 ticks (1.33 mins) 238 0% 58 Silver
    Limestone blocks Bed 1 4,800 ticks (1.33 mins) 217 0% 58 Silver
    Marble blocks Bed 2 4,400 ticks (1.22 mins) 168 0% 57 Silver
    Plasteel Bed 1 1,760 ticks (29.33 secs) 392 0% 410 Silver
    Sandstone blocks Bed 1 4,000 ticks (1.11 mins) 196 0% 55 Silver
    Silver Bed 8 800 ticks (13.33 secs) 98 40% 455 Silver
    Slate blocks Bed 1 4,800 ticks (1.33 mins) 182 0% 58 Silver
    Steel Bed 1 800 ticks (13.33 secs) 140 40% 88 Silver
    Jade Bed 13 4,000 ticks (1.11 mins) 70 0% 240 Silver
    Uranium Bed 1 1,520 ticks (25.33 secs) 350 0% 275 Silver
    Wood Bed 1 560 ticks (9.33 secs) 91 100% 56 Silver
    Bioferrite Bed 0 2,000 ticks (33.33 secs) 280 75% 41 Silver
    Gold Bed 24 720 ticks (12 secs) 84 40% 4505 Silver
    Granite blocks Bed 1 4,800 ticks (1.33 mins) 238 0% 58 Silver
    Limestone blocks Bed 1 4,800 ticks (1.33 mins) 217 0% 58 Silver
    Marble blocks Bed 2 4,400 ticks (1.22 mins) 168 0% 57 Silver
    Plasteel Bed 1 1,760 ticks (29.33 secs) 392 0% 410 Silver
    Sandstone blocks Bed 1 4,000 ticks (1.11 mins) 196 0% 55 Silver
    Silver Bed 8 800 ticks (13.33 secs) 98 40% 455 Silver
    Slate blocks Bed 1 4,800 ticks (1.33 mins) 182 0% 58 Silver
    Steel Bed 1 800 ticks (13.33 secs) 140 40% 88 Silver
    Jade Bed 13 4,000 ticks (1.11 mins) 70 0% 240 Silver
    Uranium Bed 1 1,520 ticks (25.33 secs) 350 0% 275 Silver
    Wood Bed 1 560 ticks (9.33 secs) 91 100% 56 Silver
    Bioferrite Bed 0 2,000 ticks (33.33 secs) 280 75% 41 Silver
    Gold Bed 24 720 ticks (12 secs) 84 40% 4505 Silver
    Granite blocks Bed 1 4,800 ticks (1.33 mins) 238 0% 58 Silver
    Limestone blocks Bed 1 4,800 ticks (1.33 mins) 217 0% 58 Silver
    Marble blocks Bed 2 4,400 ticks (1.22 mins) 168 0% 57 Silver
    Plasteel Bed 1 1,760 ticks (29.33 secs) 392 0% 410 Silver
    Sandstone blocks Bed 1 4,000 ticks (1.11 mins) 196 0% 55 Silver
    Silver Bed 8 800 ticks (13.33 secs) 98 40% 455 Silver
    Slate blocks Bed 1 4,800 ticks (1.33 mins) 182 0% 58 Silver
    Steel Bed 1 800 ticks (13.33 secs) 140 40% 88 Silver
    Jade Bed 13 4,000 ticks (1.11 mins) 70 0% 240 Silver
    Uranium Bed 1 1,520 ticks (25.33 secs) 350 0% 275 Silver
    Wood Bed 1 560 ticks (9.33 secs) 91 100% 56 Silver
  • A Bracketed numbers are in-game hours to refill rest to 100% from 0% at the given rest effectiveness.
    B This assumes the bed is inside a clean, properly lit room. For the full effects of light, cleanliness and placing a bed outside see Surgery Success Chance Factor.

    Stats table

  • |-
    Autodoor Autodoor Beauty Work to Build HP Flamma­bility Door
    Speed
    Market
    Value
    Material
    Bioferrite Autodoor 0 2,750 ticks (45.83 secs) 320 75% 169 Silver
    Gold Autodoor 20 990 ticks (16.5 secs) 96 40% 2645 Silver
    Granite blocks Autodoor 0 6,600 ticks (1.83 mins) 272 0% 187 Silver
    Limestone blocks Autodoor 0 6,600 ticks (1.83 mins) 248 0% 187 Silver
    Marble blocks Autodoor 1 6,050 ticks (1.68 mins) 192 0% 185 Silver
    Plasteel Autodoor 0 2,420 ticks (40.33 secs) 448 0% 375 Silver
    Sandstone blocks Autodoor 0 5,500 ticks (1.53 mins) 224 0% 183 Silver
    Silver Autodoor 6 1,100 ticks (18.33 secs) 112 40% 395 Silver
    Slate blocks Autodoor 0 6,600 ticks (1.83 mins) 208 0% 187 Silver
    Steel Autodoor 0 1,100 ticks (18.33 secs) 160 40% 192 Silver
    Jade Autodoor 10 5,500 ticks (1.53 mins) 80 0% 285 Silver
    Uranium Autodoor 0 2,090 ticks (34.83 secs) 400 0% 295 Silver
    Wood Autodoor 0 770 ticks (12.83 secs) 104 100% 173 Silver
  • Stats table

  • |-
    Fence gate Fence gate Beauty Work to Build HP Flamma­bility Door
    Speed
    Market
    Value
    Material
    Bioferrite Fence gate 0 1,250 ticks (20.83 secs) 40 75% 23 Silver
    Gold Fence gate 20 450 ticks (7.5 secs) 12 40% 2500 Silver
    Granite blocks Fence gate 0 3,000 ticks (50 secs) 34 0% 34 Silver
    Limestone blocks Fence gate 0 3,000 ticks (50 secs) 31 0% 34 Silver
    Marble blocks Fence gate 1 2,750 ticks (45.83 secs) 24 0% 33 Silver
    Plasteel Fence gate 0 1,100 ticks (18.33 secs) 56 0% 230 Silver
    Sandstone blocks Fence gate 0 2,500 ticks (41.67 secs) 28 0% 32 Silver
    Silver Fence gate 6 500 ticks (8.33 secs) 14 40% 250 Silver
    Slate blocks Fence gate 0 3,000 ticks (50 secs) 26 0% 34 Silver
    Steel Fence gate 0 500 ticks (8.33 secs) 20 40% 49 Silver
    Jade Fence gate 10 2,500 ticks (41.67 secs) 10 0% 134 Silver
    Uranium Fence gate 0 950 ticks (15.83 secs) 50 0% 153 Silver
    Wood Fence gate 0 350 ticks (5.83 secs) 13 100% 31 Silver
  • Stats table

  • |-
    Spike trap Spike trap Beauty Work to Build HP Flamma­bility Total
    Damage
    Attack
    Damage
    Armor
    Penetration
    Market
    Value
    Material
    Bioferrite Spike trap -5 8,000 ticks (2.22 mins) 80 75% 63 Silver
    Gold Spike trap -52 2,880 ticks (48 secs) 24 40% 4510 Silver
    Granite blocks Spike trap -18 19,200 ticks (5.33 mins) 68 0% 110 Silver
    Limestone blocks Spike trap -18 19,200 ticks (5.33 mins) 62 0% 110 Silver
    Marble blocks Spike trap -23 17,600 ticks (4.89 mins) 48 0% 104 Silver
    Plasteel Spike trap -18 7,040 ticks (1.96 mins) 112 0% 430 Silver
    Sandstone blocks Spike trap -20 16,000 ticks (4.44 mins) 56 0% 99 Silver
    Silver Spike trap -30 3,200 ticks (53.33 secs) 28 40% 460 Silver
    Slate blocks Spike trap -20 19,200 ticks (5.33 mins) 52 0% 110 Silver
    Steel Spike trap -18 3,200 ticks (53.33 secs) 40 40% 97 Silver
    Jade Spike trap -35 16,000 ticks (4.44 mins) 20 0% 285 Silver
    Uranium Spike trap -9 6,080 ticks (1.69 mins) 100 0% 290 Silver
    Wood Spike trap -18 2,240 ticks (37.33 secs) 26 100% 62 Silver