Difference between revisions of "Template:Trading Value Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
{{#vardefine:others | {{#ifeq: {{Q|{{{?Name}}}|Resource 2}} | {{#var:material}} || {{Q|{{{?Name}}}|Resource 2 Amount||{{icon|{{Q|{{{?Name}}}|Resource 2}}}}}} }} {{#if: {{Q|{{{?Name}}}|Resource 3}} | {{Q|{{{?Name}}}|Resource 3 Amount||{{icon|{{Q|{{{?Name}}}|Resource 3}}}}}} }} }}
 
{{#vardefine:others | {{#ifeq: {{Q|{{{?Name}}}|Resource 2}} | {{#var:material}} || {{Q|{{{?Name}}}|Resource 2 Amount||{{icon|{{Q|{{{?Name}}}|Resource 2}}}}}} }} {{#if: {{Q|{{{?Name}}}|Resource 3}} | {{Q|{{{?Name}}}|Resource 3 Amount||{{icon|{{Q|{{{?Name}}}|Resource 3}}}}}} }} }}
  
{{#if: {{#pos:{{Q|{{{?Name}}}|Stuff Tags}}|Woody}}|
+
{{#if: {{#pos:{{Q|{{{?Name}}}|Stuff Tags}}|Woody}}| (
 
  ! style="text-align: left" | [[{{{?Name}}}]]
 
  ! style="text-align: left" | [[{{{?Name}}}]]
 
  | {{#var:amount}}{{icon|{{#var:material}}}}
 
  | {{#var:amount}}{{icon|{{#var:material}}}}
Line 19: Line 19:
 
  | {{#expr:{{Q|{{{?Name}}}|Resource 1 Amount}}/({{#var:multiplier}}*{{Market Value Calculator|{{{?Name}}}|{{#var:material}}}})round2}}
 
  | {{#expr:{{Q|{{{?Name}}}|Resource 1 Amount}}/({{#var:multiplier}}*{{Market Value Calculator|{{{?Name}}}|{{#var:material}}}})round2}}
 
  |-
 
  |-
 +
)
 
}}
 
}}
  

Revision as of 13:07, 4 June 2021



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

See Template:Trading Value Table for the full documentation.

Example

(
Item Amount of wood Other ingredients Work to make Relevant skill Market value Sell price
multiplier
Profitability
Wood 1 Wood 000,00ticks (0 secs) 00,001.20 Silver 1 1
style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Brewery







Bridge







Burnbong







(

style="text-align: left"







Campfire







(

style="text-align: left"







Christmas tree







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Darktorch







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Drape







(

style="text-align: left"







(

style="text-align: left"







Drum







Effigy







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Fermenting barrel







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Greatbow







(

style="text-align: left"







Harp







Harpsichord







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Incense shrine







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Passive cooler







Peg leg







(

style="text-align: left"







(

style="text-align: left"







Piano







Pila







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Pyre







Recurve bow







(

style="text-align: left"







Sacrificial flag







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Short bow







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Torch lamp







(

style="text-align: left"







Totemic boards







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







(

style="text-align: left"







Wall torch lamp







(

style="text-align: left"







(

style="text-align: left"







Watermill generator







Wood floor







Wooden foot







Wooden hand



Tags