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

From RimWorld Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
! '''[[{{{1|Cloth}}}]] {{#var:name}}'''
 
! '''[[{{{1|Cloth}}}]] {{#var:name}}'''
 
|  
 
|  
| {{ #expr: {{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 Make Factor}}*{{#var:work|}} round 0}}
 
| {{ #expr: {{Q|{{{1|Cloth}}}|Work To Make Factor}}*{{#var:work|}} round 0}}
 
| {{#var:mass|}}
 
| {{#var:mass|}}

Revision as of 03:51, 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 1875 150 75% 28 Silver
    Gold Table (1x2) 22 675 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 975 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 975 116 0% 42 Silver
    Marble blocks Table (1x2) 2 863 90 0% 41 Silver
    Plasteel Table (1x2) 1 1650 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 825 105 0% 39 Silver
    Silver Table (1x2) 7 750 53 40% 285 Silver
    Slate blocks Table (1x2) 1 975 98 0% 42 Silver
    Steel Table (1x2) 1 750 75 40% 56 Silver
    Jade Table (1x2) 11 1050 38 0% 154 Silver
    Uranium Table (1x2) 0 1425 188 0% 173 Silver
    Wood Table (1x2) 1 525 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1875 150 75% 28 Silver
    Gold Table (1x2) 22 675 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 975 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 975 116 0% 42 Silver
    Marble blocks Table (1x2) 2 863 90 0% 41 Silver
    Plasteel Table (1x2) 1 1650 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 825 105 0% 39 Silver
    Silver Table (1x2) 7 750 53 40% 285 Silver
    Slate blocks Table (1x2) 1 975 98 0% 42 Silver
    Steel Table (1x2) 1 750 75 40% 56 Silver
    Jade Table (1x2) 11 1050 38 0% 154 Silver
    Uranium Table (1x2) 0 1425 188 0% 173 Silver
    Wood Table (1x2) 1 525 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1875 150 75% 28 Silver
    Gold Table (1x2) 22 675 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 975 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 975 116 0% 42 Silver
    Marble blocks Table (1x2) 2 863 90 0% 41 Silver
    Plasteel Table (1x2) 1 1650 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 825 105 0% 39 Silver
    Silver Table (1x2) 7 750 53 40% 285 Silver
    Slate blocks Table (1x2) 1 975 98 0% 42 Silver
    Steel Table (1x2) 1 750 75 40% 56 Silver
    Jade Table (1x2) 11 1050 38 0% 154 Silver
    Uranium Table (1x2) 0 1425 188 0% 173 Silver
    Wood Table (1x2) 1 525 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1875 150 75% 28 Silver
    Gold Table (1x2) 22 675 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 975 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 975 116 0% 42 Silver
    Marble blocks Table (1x2) 2 863 90 0% 41 Silver
    Plasteel Table (1x2) 1 1650 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 825 105 0% 39 Silver
    Silver Table (1x2) 7 750 53 40% 285 Silver
    Slate blocks Table (1x2) 1 975 98 0% 42 Silver
    Steel Table (1x2) 1 750 75 40% 56 Silver
    Jade Table (1x2) 11 1050 38 0% 154 Silver
    Uranium Table (1x2) 0 1425 188 0% 173 Silver
    Wood Table (1x2) 1 525 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1875 150 75% 28 Silver
    Gold Table (1x2) 22 675 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 975 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 975 116 0% 42 Silver
    Marble blocks Table (1x2) 2 863 90 0% 41 Silver
    Plasteel Table (1x2) 1 1650 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 825 105 0% 39 Silver
    Silver Table (1x2) 7 750 53 40% 285 Silver
    Slate blocks Table (1x2) 1 975 98 0% 42 Silver
    Steel Table (1x2) 1 750 75 40% 56 Silver
    Jade Table (1x2) 11 1050 38 0% 154 Silver
    Uranium Table (1x2) 0 1425 188 0% 173 Silver
    Wood Table (1x2) 1 525 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1875 150 75% 28 Silver
    Gold Table (1x2) 22 675 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 975 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 975 116 0% 42 Silver
    Marble blocks Table (1x2) 2 863 90 0% 41 Silver
    Plasteel Table (1x2) 1 1650 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 825 105 0% 39 Silver
    Silver Table (1x2) 7 750 53 40% 285 Silver
    Slate blocks Table (1x2) 1 975 98 0% 42 Silver
    Steel Table (1x2) 1 750 75 40% 56 Silver
    Jade Table (1x2) 11 1050 38 0% 154 Silver
    Uranium Table (1x2) 0 1425 188 0% 173 Silver
    Wood Table (1x2) 1 525 49 100% 36 Silver
    Bioferrite Table (1x2) 0 1875 150 75% 28 Silver
    Gold Table (1x2) 22 675 45 40% 2800 Silver
    Granite blocks Table (1x2) 1 975 128 0% 42 Silver
    Limestone blocks Table (1x2) 1 975 116 0% 42 Silver
    Marble blocks Table (1x2) 2 863 90 0% 41 Silver
    Plasteel Table (1x2) 1 1650 210 0% 260 Silver
    Sandstone blocks Table (1x2) 1 825 105 0% 39 Silver
    Silver Table (1x2) 7 750 53 40% 285 Silver
    Slate blocks Table (1x2) 1 975 98 0% 42 Silver
    Steel Table (1x2) 1 750 75 40% 56 Silver
    Jade Table (1x2) 11 1050 38 0% 154 Silver
    Uranium Table (1x2) 0 1425 188 0% 173 Silver
    Wood Table (1x2) 1 525 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 2000 280 75% 41 Silver
    Gold Bed 24 720 84 40% 4505 Silver
    Granite blocks Bed 1 1040 238 0% 58 Silver
    Limestone blocks Bed 1 1040 217 0% 58 Silver
    Marble blocks Bed 2 920 168 0% 57 Silver
    Plasteel Bed 1 1760 392 0% 410 Silver
    Sandstone blocks Bed 1 880 196 0% 55 Silver
    Silver Bed 8 800 98 40% 455 Silver
    Slate blocks Bed 1 1040 182 0% 58 Silver
    Steel Bed 1 800 140 40% 88 Silver
    Jade Bed 13 1120 70 0% 240 Silver
    Uranium Bed 1 1520 350 0% 275 Silver
    Wood Bed 1 560 91 100% 56 Silver
    Bioferrite Bed 0 2000 280 75% 41 Silver
    Gold Bed 24 720 84 40% 4505 Silver
    Granite blocks Bed 1 1040 238 0% 58 Silver
    Limestone blocks Bed 1 1040 217 0% 58 Silver
    Marble blocks Bed 2 920 168 0% 57 Silver
    Plasteel Bed 1 1760 392 0% 410 Silver
    Sandstone blocks Bed 1 880 196 0% 55 Silver
    Silver Bed 8 800 98 40% 455 Silver
    Slate blocks Bed 1 1040 182 0% 58 Silver
    Steel Bed 1 800 140 40% 88 Silver
    Jade Bed 13 1120 70 0% 240 Silver
    Uranium Bed 1 1520 350 0% 275 Silver
    Wood Bed 1 560 91 100% 56 Silver
    Bioferrite Bed 0 2000 280 75% 41 Silver
    Gold Bed 24 720 84 40% 4505 Silver
    Granite blocks Bed 1 1040 238 0% 58 Silver
    Limestone blocks Bed 1 1040 217 0% 58 Silver
    Marble blocks Bed 2 920 168 0% 57 Silver
    Plasteel Bed 1 1760 392 0% 410 Silver
    Sandstone blocks Bed 1 880 196 0% 55 Silver
    Silver Bed 8 800 98 40% 455 Silver
    Slate blocks Bed 1 1040 182 0% 58 Silver
    Steel Bed 1 800 140 40% 88 Silver
    Jade Bed 13 1120 70 0% 240 Silver
    Uranium Bed 1 1520 350 0% 275 Silver
    Wood Bed 1 560 91 100% 56 Silver
    Bioferrite Bed 0 2000 280 75% 41 Silver
    Gold Bed 24 720 84 40% 4505 Silver
    Granite blocks Bed 1 1040 238 0% 58 Silver
    Limestone blocks Bed 1 1040 217 0% 58 Silver
    Marble blocks Bed 2 920 168 0% 57 Silver
    Plasteel Bed 1 1760 392 0% 410 Silver
    Sandstone blocks Bed 1 880 196 0% 55 Silver
    Silver Bed 8 800 98 40% 455 Silver
    Slate blocks Bed 1 1040 182 0% 58 Silver
    Steel Bed 1 800 140 40% 88 Silver
    Jade Bed 13 1120 70 0% 240 Silver
    Uranium Bed 1 1520 350 0% 275 Silver
    Wood Bed 1 560 91 100% 56 Silver
    Bioferrite Bed 0 2000 280 75% 41 Silver
    Gold Bed 24 720 84 40% 4505 Silver
    Granite blocks Bed 1 1040 238 0% 58 Silver
    Limestone blocks Bed 1 1040 217 0% 58 Silver
    Marble blocks Bed 2 920 168 0% 57 Silver
    Plasteel Bed 1 1760 392 0% 410 Silver
    Sandstone blocks Bed 1 880 196 0% 55 Silver
    Silver Bed 8 800 98 40% 455 Silver
    Slate blocks Bed 1 1040 182 0% 58 Silver
    Steel Bed 1 800 140 40% 88 Silver
    Jade Bed 13 1120 70 0% 240 Silver
    Uranium Bed 1 1520 350 0% 275 Silver
    Wood Bed 1 560 91 100% 56 Silver
    Bioferrite Bed 0 2000 280 75% 41 Silver
    Gold Bed 24 720 84 40% 4505 Silver
    Granite blocks Bed 1 1040 238 0% 58 Silver
    Limestone blocks Bed 1 1040 217 0% 58 Silver
    Marble blocks Bed 2 920 168 0% 57 Silver
    Plasteel Bed 1 1760 392 0% 410 Silver
    Sandstone blocks Bed 1 880 196 0% 55 Silver
    Silver Bed 8 800 98 40% 455 Silver
    Slate blocks Bed 1 1040 182 0% 58 Silver
    Steel Bed 1 800 140 40% 88 Silver
    Jade Bed 13 1120 70 0% 240 Silver
    Uranium Bed 1 1520 350 0% 275 Silver
    Wood Bed 1 560 91 100% 56 Silver
    Bioferrite Bed 0 2000 280 75% 41 Silver
    Gold Bed 24 720 84 40% 4505 Silver
    Granite blocks Bed 1 1040 238 0% 58 Silver
    Limestone blocks Bed 1 1040 217 0% 58 Silver
    Marble blocks Bed 2 920 168 0% 57 Silver
    Plasteel Bed 1 1760 392 0% 410 Silver
    Sandstone blocks Bed 1 880 196 0% 55 Silver
    Silver Bed 8 800 98 40% 455 Silver
    Slate blocks Bed 1 1040 182 0% 58 Silver
    Steel Bed 1 800 140 40% 88 Silver
    Jade Bed 13 1120 70 0% 240 Silver
    Uranium Bed 1 1520 350 0% 275 Silver
    Wood Bed 1 560 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 2750 320 75% 169 Silver
    Gold Autodoor 20 990 96 40% 2645 Silver
    Granite blocks Autodoor 0 1430 272 0% 187 Silver
    Limestone blocks Autodoor 0 1430 248 0% 187 Silver
    Marble blocks Autodoor 1 1265 192 0% 185 Silver
    Plasteel Autodoor 0 2420 448 0% 375 Silver
    Sandstone blocks Autodoor 0 1210 224 0% 183 Silver
    Silver Autodoor 6 1100 112 40% 395 Silver
    Slate blocks Autodoor 0 1430 208 0% 187 Silver
    Steel Autodoor 0 1100 160 40% 192 Silver
    Jade Autodoor 10 1540 80 0% 285 Silver
    Uranium Autodoor 0 2090 400 0% 295 Silver
    Wood Autodoor 0 770 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 1250 40 75% 23 Silver
    Gold Fence gate 20 450 12 40% 2500 Silver
    Granite blocks Fence gate 0 650 34 0% 34 Silver
    Limestone blocks Fence gate 0 650 31 0% 34 Silver
    Marble blocks Fence gate 1 575 24 0% 33 Silver
    Plasteel Fence gate 0 1100 56 0% 230 Silver
    Sandstone blocks Fence gate 0 550 28 0% 32 Silver
    Silver Fence gate 6 500 14 40% 250 Silver
    Slate blocks Fence gate 0 650 26 0% 34 Silver
    Steel Fence gate 0 500 20 40% 49 Silver
    Jade Fence gate 10 700 10 0% 134 Silver
    Uranium Fence gate 0 950 50 0% 153 Silver
    Wood Fence gate 0 350 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 8000 80 75% 63 Silver
    Gold Spike trap -52 2880 24 40% 4510 Silver
    Granite blocks Spike trap -18 4160 68 0% 110 Silver
    Limestone blocks Spike trap -18 4160 62 0% 110 Silver
    Marble blocks Spike trap -23 3680 48 0% 104 Silver
    Plasteel Spike trap -18 7040 112 0% 430 Silver
    Sandstone blocks Spike trap -20 3520 56 0% 99 Silver
    Silver Spike trap -30 3200 28 40% 460 Silver
    Slate blocks Spike trap -20 4160 52 0% 110 Silver
    Steel Spike trap -18 3200 40 40% 97 Silver
    Jade Spike trap -35 4480 20 0% 285 Silver
    Uranium Spike trap -9 6080 100 0% 290 Silver
    Wood Spike trap -18 2240 26 100% 62 Silver