Difference between revisions of "User:Douie/sandbox1"

From RimWorld Wiki
Jump to navigation Jump to search
m (onlyinclude test)
m
Line 1: Line 1:
 +
{{show:Poker table?Material Type 2}}
 +
 
<onlyinclude>
 
<onlyinclude>
 
{{#vardefine:poker_table_work_to_make| {{#replace: {{#show:Poker table|?Work To Make}} |,|}} }}
 
{{#vardefine:poker_table_work_to_make| {{#replace: {{#show:Poker table|?Work To Make}} |,|}} }}
Line 5: Line 7:
 
! Material !! Cost !! Work to make !! Beauty
 
! Material !! Cost !! Work to make !! Beauty
 
|-
 
|-
| style="text-align:left;" | [[Gold]] || {{Icon|Gold|500}}{{Icon|Wood|25}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Gold]] || {{Icon|Gold|500}} {{Icon|Wood|25}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Gold|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Gold|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Gold|?Beauty Factor}} round0}} + {{#show: Gold|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Gold|?Beauty Factor}} round0}} + {{#show: Gold|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Granite Blocks|Granite]] || {{Icon|Granite Blocks|50}}{{Icon|Wood|25}}{{Icon|Cloth|50}}  
+
| style="text-align:left;" | [[Granite Blocks|Granite]] || {{Icon|Granite Blocks|50}} {{Icon|Wood|25}} {{Icon|Cloth|50}}  
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Granite Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Granite Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Granite Blocks|?Beauty Factor}} round0}} + {{#show: Granite Blocks|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Granite Blocks|?Beauty Factor}} round0}} + {{#show: Granite Blocks|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Limestone Blocks|Limestone]] || {{Icon|Limestone Blocks|50}}{{Icon|Wood|30}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Limestone Blocks|Limestone]] || {{Icon|Limestone Blocks|50}} {{Icon|Wood|30}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Limestone Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Limestone Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Limestone Blocks|?Beauty Factor}} round0}} + {{#show: Limestone Blocks|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Limestone Blocks|?Beauty Factor}} round0}} + {{#show: Limestone Blocks|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Marble Blocks|Marble]] || {{Icon|Marble Blocks|50}}{{Icon|Wood|25}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Marble Blocks|Marble]] || {{Icon|Marble Blocks|50}} {{Icon|Wood|25}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Marble Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Marble Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Marble Blocks|?Beauty Factor}} round0}} + {{#show: Marble Blocks|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Marble Blocks|?Beauty Factor}} round0}} + {{#show: Marble Blocks|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Plasteel]] || {{Icon|Plasteel|50}}{{Icon|Wood|25}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Plasteel]] || {{Icon|Plasteel|50}} {{Icon|Wood|25}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Plasteel|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Plasteel|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Plasteel|?Beauty Factor}} round0}} + {{#show: Plasteel|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Plasteel|?Beauty Factor}} round0}} + {{#show: Plasteel|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Sandstone Blocks|Sandstone]] || {{Icon|Sandstone Blocks|50}}{{Icon|Wood|25}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Sandstone Blocks|Sandstone]] || {{Icon|Sandstone Blocks|50}} {{Icon|Wood|25}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Sandstone Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Sandstone Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Sandstone Blocks|?Beauty Factor}} round0}} + {{#show: Sandstone Blocks|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Sandstone Blocks|?Beauty Factor}} round0}} + {{#show: Sandstone Blocks|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Silver]] || {{Icon|Silver|500}}{{Icon|Wood|25}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Silver]] || {{Icon|Silver|500}} {{Icon|Wood|25}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Silver|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Silver|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Silver|?Beauty Factor}} round0}} + {{#show: Silver|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Silver|?Beauty Factor}} round0}} + {{#show: Silver|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Slate Blocks|Slate]] || {{Icon|Slate Blocks|50}}{{Icon|Wood|25}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Slate Blocks|Slate]] || {{Icon|Slate Blocks|50}} {{Icon|Wood|25}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Slate Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Slate Blocks|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Slate Blocks|?Beauty Factor}} round0}} + {{#show: Slate Blocks|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Slate Blocks|?Beauty Factor}} round0}} + {{#show: Slate Blocks|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Steel]] || {{Icon|Steel|50}}{{Icon|Wood|25}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Steel]] || {{Icon|Steel|50}} {{Icon|Wood|25}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Steel|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Steel|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Steel|?Beauty Factor}} round0}} + {{#show: Steel|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Steel|?Beauty Factor}} round0}} + {{#show: Steel|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Uranium]] || {{Icon|Uranium|50}}{{Icon|Wood|25}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Uranium]] || {{Icon|Uranium|50}} {{Icon|Wood|25}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Uranium|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Uranium|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Uranium|?Beauty Factor}} round0}} + {{#show: Uranium|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Uranium|?Beauty Factor}} round0}} + {{#show: Uranium|?Beauty Offset}} }}
 
|-
 
|-
| style="text-align:left;" | [[Wood]] || {{Icon|Wood|75}}{{Icon|Cloth|50}}
+
| style="text-align:left;" | [[Wood]] || {{Icon|Wood|75}} {{Icon|Cloth|50}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Wood|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#var:poker_table_work_to_make}} * {{#show: Wood|?Work To Make Factor}} round0}}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Wood|?Beauty Factor}} round0}} + {{#show: Wood|?Beauty Offset}} }}
 
  || {{#expr: {{#expr: {{#show: Poker table|?Beauty Base}} * {{#show: Wood|?Beauty Factor}} round0}} + {{#show: Wood|?Beauty Offset}} }}

Revision as of 13:25, 5 July 2020

Template:Show:Poker table?Material Type 2



Material Cost Work to make Beauty
Gold Gold 500 Wood 25 Cloth 50 9000 20
Granite Granite Blocks 50 Wood 25 Cloth 50 13000 0
Limestone Limestone Blocks 50 Wood 30 Cloth 50 13000 0
Marble Marble Blocks 50 Wood 25 Cloth 50 11500 1
Plasteel Plasteel 50 Wood 25 Cloth 50 22000 0
Sandstone Sandstone Blocks 50 Wood 25 Cloth 50 11000 0
Silver Silver 500 Wood 25 Cloth 50 10000 6
Slate Slate Blocks 50 Wood 25 Cloth 50 13000 0
Steel Steel 50 Wood 25 Cloth 50 10000 0
Uranium Uranium 50 Wood 25 Cloth 50 19000 0
Wood Wood 75 Cloth 50 7000 0


this works