Template:Building Stats Table/doc

From RimWorld Wiki
Jump to navigation Jump to search

Description[edit]

This template generates a table summarizing stats for a building, including Name, Construction Cost, Beauty, HP, Flammability, Mass, Work To Build and Market Value, for the variety of different materials available for it.

The template will automatically detect the material types applicable to the item using the Stuff Tags variable in the infobox and display them. The item must be stuffable and must have the correct Resource X/Resource X Amount parameters in addition to the Stuff Tags, and Resource 1 must be set to "Stuff".

Note that it will automatically add the appropriate heading.

This template is dependent on Template:Building Stats Table Row.

Parameters[edit]

All parameters are optional:

  • First parameter: specifies which building to generate the template for. Defaults = {{PAGENAME}}.
  • header: If set to false no header will be created.
  • header level: Defines the level of the header. Default = 2.

Example usage[edit]

Billiards table (quality, recreation, special recreation, header level)[edit]

{{Building Stats Table | header level = 4}}

on the Billiards table page would produce:

Stats table

Feature Toggle
QualityRitual Quality Check Off.png
  • Billiards table Billiards table Beauty Recreation
    power
    Work to Build HP Flamma­bility Market
    Value
    Quality Material
    Normal Bioferrite Bioferrite Content added by the Anomaly DLC 0 1.3 030,000 ticks (8.33 mins) 500 75% 325 Silver
    Normal Gold Gold 20 1.3 010,800 ticks (3 mins) 150 40% 8,195 Silver
    Normal Granite blocks Granite blocks 0 1.3 072,140 ticks (20.04 mins) 425 0% 490 Silver
    Normal Limestone blocks Limestone blocks 0 1.3 072,140 ticks (20.04 mins) 388 0% 490 Silver
    Normal Marble blocks Marble blocks 1 1.3 066,140 ticks (18.37 mins) 300 0% 465 Silver
    Normal Plasteel Plasteel 0 1.3 026,400 ticks (7.33 mins) 700 0% 970 Silver
    Normal Sandstone blocks Sandstone blocks 0 1.3 060,140 ticks (16.71 mins) 350 0% 445 Silver
    Normal Silver Silver 6 1.3 012,000 ticks (3.33 mins) 175 40% 1,000 Silver
    Normal Slate blocks Slate blocks 0 1.3 072,140 ticks (20.04 mins) 325 0% 490 Silver
    Normal Steel Steel 0 1.3 012,000 ticks (3.33 mins) 250 40% 350 Silver
    Normal Jade Jade 10 1.3 060,000 ticks (16.67 mins) 125 0% 770 Silver
    Normal Uranium Uranium 0 1.3 022,800 ticks (6.33 mins) 625 0% 720 Silver
    Normal Wood Wood 0 1.3 008,400 ticks (2.33 mins) 163 100% 280 Silver
  • Bed (quality, comfort, no header)[edit]

    {{Building Stats Table | Bed | header = false}}}
    

    on any page would produce:

    Feature Toggle
    QualityRitual Quality Check Off.png
  • Bed Bed Beauty Comfort Rest
    effectiveness
    [A]
    Surgery
    success
    chance
    factor [B]
    Work to Build HP Flamma­bility Market
    Value
    Quality Material
    Normal Bioferrite Bioferrite Content added by the Anomaly DLC 0 0.75 86% (12.21 h) 100% 002,000 ticks (33.33 secs) 280 75% 41 Silver
    Normal Gold Gold 24 0.75 100% (10.5 h) 100% 000,720 ticks (12 secs) 84 40% 4,505 Silver
    Normal Granite blocks Granite blocks 1 0.75 90% (11.67 h) 100% 004,940 ticks (1.37 mins) 238 0% 58 Silver
    Normal Limestone blocks Limestone blocks 1 0.75 90% (11.67 h) 100% 004,940 ticks (1.37 mins) 217 0% 58 Silver
    Normal Marble blocks Marble blocks 2 0.75 90% (11.67 h) 100% 004,540 ticks (1.26 mins) 168 0% 57 Silver
    Normal Plasteel Plasteel 1 0.75 100% (10.5 h) 100% 001,760 ticks (29.33 secs) 392 0% 410 Silver
    Normal Sandstone blocks Sandstone blocks 1 0.75 90% (11.67 h) 100% 004,140 ticks (1.15 mins) 196 0% 55 Silver
    Normal Silver Silver 8 0.75 100% (10.5 h) 100% 000,800 ticks (13.33 secs) 98 40% 455 Silver
    Normal Slate blocks Slate blocks 1 0.75 90% (11.67 h) 100% 004,940 ticks (1.37 mins) 182 0% 58 Silver
    Normal Steel Steel 1 0.75 100% (10.5 h) 100% 000,800 ticks (13.33 secs) 140 40% 88 Silver
    Normal Jade Jade 12 0.75 100% (10.5 h) 100% 004,000 ticks (1.11 mins) 70 0% 240 Silver
    Normal Uranium Uranium 0 0.75 100% (10.5 h) 100% 001,520 ticks (25.33 secs) 350 0% 275 Silver
    Normal Wood Wood 1 0.75 100% (10.5 h) 100% 000,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.

    Autodoor (no quality, terrain affordance, door opening speed, no header)[edit]

    {{Building Stats Table | Autodoor | header = false}}
    

    on any page would produce:

  • Autodoor Autodoor Beauty Work to Build HP Flamma­bility Door
    Speed
    Market
    Value
    Material
    Bioferrite Bioferrite Content added by the Anomaly DLC 0 002,750 ticks (45.83 secs) 320 75% 400% 169 Silver
    Gold Gold 20 000,990 ticks (16.5 secs) 96 40% 400% 2,645 Silver
    Granite blocks Granite blocks 0 006,740 ticks (1.87 mins) 272 0% 180% 187 Silver
    Limestone blocks Limestone blocks 0 006,740 ticks (1.87 mins) 248 0% 180% 187 Silver
    Marble blocks Marble blocks 1 006,190 ticks (1.72 mins) 192 0% 180% 185 Silver
    Plasteel Plasteel 0 002,420 ticks (40.33 secs) 448 0% 400% 375 Silver
    Sandstone blocks Sandstone blocks 0 005,640 ticks (1.57 mins) 224 0% 180% 183 Silver
    Silver Silver 6 001,100 ticks (18.33 secs) 112 40% 400% 395 Silver
    Slate blocks Slate blocks 0 006,740 ticks (1.87 mins) 208 0% 180% 187 Silver
    Steel Steel 0 001,100 ticks (18.33 secs) 160 40% 400% 192 Silver
    Jade Jade 10 005,500 ticks (1.53 mins) 80 0% 400% 285 Silver
    Uranium Uranium 0 002,090 ticks (34.83 secs) 400 0% 300% 295 Silver
    Wood Wood 0 000,770 ticks (12.83 secs) 104 100% 480% 173 Silver
  • Spike trap (no quality, negative beauty, special properties, no header)[edit]

    {{Building Stats Table | Spike trap | header = false}}
    

    on any page would produce:

  • Spike trap Spike trap Beauty Work to Build HP Flamma­bility Total
    Damage
    Attack
    Damage
    Armor
    Penetration
    Market
    Value
    Material
    Bioferrite Bioferrite Content added by the Anomaly DLC -18 008,000 ticks (2.22 mins) 80 75% 130 26 39% 63 Silver
    Gold Gold 2 002,880 ticks (48 secs) 24 40% 75 15 22.5% 4,510 Silver
    Granite blocks Granite blocks -18 019,340 ticks (5.37 mins) 68 0% 65 13 19.5% 110 Silver
    Limestone blocks Limestone blocks -18 019,340 ticks (5.37 mins) 62 0% 60 12 18% 110 Silver
    Marble blocks Marble blocks -17 017,740 ticks (4.93 mins) 48 0% 60 12 18% 104 Silver
    Plasteel Plasteel -18 007,040 ticks (1.96 mins) 112 0% 110 22 33% 430 Silver
    Sandstone blocks Sandstone blocks -18 016,140 ticks (4.48 mins) 56 0% 50 10 15% 99 Silver
    Silver Silver -12 003,200 ticks (53.33 secs) 28 40% 85 17 25.5% 460 Silver
    Slate blocks Slate blocks -18 019,340 ticks (5.37 mins) 52 0% 60 12 18% 110 Silver
    Steel Steel -18 003,200 ticks (53.33 secs) 40 40% 100 20 30% 97 Silver
    Jade Jade -8 016,000 ticks (4.44 mins) 20 0% 100 20 30% 285 Silver
    Uranium Uranium -18 006,080 ticks (1.69 mins) 100 0% 110 22 33% 290 Silver
    Wood Wood -18 002,240 ticks (37.33 secs) 26 100% 40 8 12% 62 Silver