Template:Trading Value Table Row

From RimWorld Wiki
Revision as of 09:18, 19 September 2021 by Ickputzdirwech (talk | contribs) (Undo revision 92548 by Ickputzdirwech (talk))
Jump to navigation Jump to search


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"



Animalist slab (broad) Content added by the Ideology DLC



Animalist slab (medium) Content added by the Ideology DLC



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 Content added by the Ideology DLC



style="text-align: left"



Campfire



style="text-align: left"



Christmas tree Content added by the Ideology DLC



style="text-align: left"



style="text-align: left"



style="text-align: left"



Darktorch Content added by the Ideology DLC



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"



Effigy Content added by the Ideology DLC



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 Content added by the Royalty DLC



Harpsichord Content added by the Royalty DLC



style="text-align: left"



style="text-align: left"



style="text-align: left"



Incense shrine Content added by the Ideology DLC



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 Content added by the Royalty DLC



Pila



style="text-align: left"



style="text-align: left"



style="text-align: left"



Pyre Content added by the Ideology DLC



Recurve bow



style="text-align: left"



Sacrificial flag Content added by the Ideology DLC



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 Content added by the Ideology DLC



Totemic slab (broad) Content added by the Ideology DLC



Totemic slab (medium) Content added by the Ideology DLC



style="text-align: left"



style="text-align: left"



style="text-align: left"



Wall torch lamp



War mask



style="text-align: left"



Watermill generator



Wood floor



Wooden foot



Wooden hand


{{#vardefine:material | {{SUBPAGENAME}} }} {{#ifeq: {{{?Type}}} | Furniture | {{#vardefine:multiplier | 0.7}} {{#vardefine:skill | [[Construction]]}} | {{#vardefine:multiplier | 1}} {{#vardefine:skill | -}} }} {{#ifeq: {{{?Type}}} | Art | {{#vardefine:multiplier | 1.1}} {{#vardefine:skill | [[Skills#Artistic|Artistic]]}} }} {{#ifeq: {{{?Type}}} | Medical Items | {{#vardefine:skill | [[Crafting]]}} }} {{#ifeq: {{{?Type}}} | Gear | {{#vardefine:multiplier | 0.7}} {{#vardefine:skill | [[Crafting]]}} }} {{#ifeq: {{{?Type}}} | Equipment | {{#vardefine:multiplier | 0.2}} {{#vardefine:skill | [[Crafting]]}} }} {{#ifeq: {{{?Type}}} | Crafted Resources | {{#vardefine:multiplier | 0.6}} {{#vardefine:skill | [[Crafting]]}} }} {{#ifeq: {{{?Type}}} | Floor | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Buildings | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Structure | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Misc | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Security | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Temperature | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Production | {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Power| {{#vardefine:skill | [[Construction]]}} }} {{#ifeq: {{{?Type}}} | Ship| {{#vardefine:skill | [[Construction]]}} }} {{#vardefine:amount | {{#expr: {{#ifeq: {{{?Stuff}}} | true | {{Q|{{{?Name}}}|Resource 1 Amount}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 1}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 1 Amount}}|0}} }} * {{#ifeq: {{#var:material}} | Gold | 10 | {{#ifeq: {{#var:material}} | Silver | 10 | 1 }} }} + {{#ifeq: {{Q|{{{?Name}}}|Resource 2}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 2 Amount}}|0}} + {{#ifeq: {{Q|{{{?Name}}}|Resource 3}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 3 Amount}}|0}} + {{#ifeq: {{Q|{{{?Name}}}|Resource 4}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 4 Amount}}|0}} + {{#ifeq: {{Q|{{{?Name}}}|Resource 5}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 5 Amount}}|0}} + {{#ifeq: {{Q|{{{?Name}}}|Resource 6}}|{{#var:material}}|{{Q|{{{?Name}}}|Resource 6 Amount}}|0}} }} }} {{#vardefine:others | {{#ifeq: {{Q|{{{?Name}}}|Resource 1}} | Stuff | {{#ifeq: {{{?Stuff}}} | true || {{Q|{{{?Name}}}|Resource 1 Amount || {{Icon Small|Stuff}} }} }} | {{#ifeq: {{Q|{{{?Name}}}|Resource 1}} | {{#var:material}} ||{{Q|{{{?Name}}}| Resource 1 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 1}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 2}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 2}} | {{#var:material}} ||  {{Q|{{{?Name}}}| Resource 2 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 2}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 3}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 3}} | {{#var:material}} ||  {{Q|{{{?Name}}}| Resource 3 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 3}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 4}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 4}} | {{#var:material}} ||  {{Q|{{{?Name}}}| Resource 4 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 4}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 5}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 5}} | {{#var:material}} ||  {{Q|{{{?Name}}}| Resource 5 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 5}} }} }} }} }}<!--- --->{{#if: {{Q|{{{?Name}}}|Resource 6}} | {{#ifeq: {{Q|{{{?Name}}}|Resource 6}} | {{#var:material}} ||  {{Q|{{{?Name}}}| Resource 6 Amount || {{Icon Small|{{Q|{{{?Name}}}|Resource 6}} }} }} }} }} }} {{#vardefine:workfactor | {{#if: {{Q|{{#var:material}}|Work To Build Factor}} | {{Q|{{#var:material}}|Work To Build Factor}} | 1 }} }} ! style="text-align: left" | [[{{{?Name}}}]] {{#ifeq: {{Q|{{{?Name}}}|From DLC}} | Royalty (DLC) |{{RoyaltyIcon}} }}{{#ifeq: {{Q|{{{?Name}}}|From DLC}} | Ideology (DLC) |{{IdeologyIcon}} }} | {{#var:amount}} {{Icon Small|{{#var:material}}}} {{#ifeq: {{{?Stuff}}} | true | ({{Q|{{{?Name}}}|Resource 1 Amount}} {{Icon Small|Stuff}}) }} | {{#ifeq: {{#var:others}} || - | {{#var:others}} }} | {{ticks/minutes|{{Q|{{{?Name}}}|Work To Make}}*{{#var:workfactor}} }} | {{#var:skill}} | {{#ifeq: {{{?Stuff}}} | true | {{Market Value Calculator|{{{?Name}}}|{{#var:material}}}} | {{Q|{{{?Name}}}|Market Value Base}} }} {{Icon Small|silver}} | {{#var:multiplier}} | {{ticks/seconds|{{#expr:{{formatnum:{{Q|{{{?Name}}}|Work To Make}}|R}}*{{#var:workfactor}}/({{#var:multiplier}}*{{Market Value Calculator|{{{?Name}}}|{{#var:material}}}})round2}}}} | {{#expr:{{Q|{{{?Name}}}|Resource 1 Amount}}/({{#var:multiplier}}*{{Market Value Calculator|{{{?Name}}}|{{#var:material}}}})round2}} | {{#ifeq: {{{?Sellable}}} | true | [[File:check.png|16px]] | [[File:ex.png|16px]] }} |-