Template:Items infobox/store: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
m (selling price is now 75%)
Line 18: Line 18:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
Line 25: Line 25:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{5}}} all => not sellable at any outpost (only buyable)
  // {{{5}}} all => not sellable at any outpost (only buyable)
Line 39: Line 39:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small> }}<!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small> }}<!--


-->}} }} }} }} |}}<!--
-->}} }} }} }} |}}<!--
Line 55: Line 55:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
Line 62: Line 62:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{5}}} all => not sellable at any outpost (only buyable)
  // {{{5}}} all => not sellable at any outpost (only buyable)
Line 76: Line 76:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small> }}<!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small> }}<!--


-->}} }} }} }} |}}<!--
-->}} }} }} }} |}}<!--
Line 92: Line 92:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
Line 99: Line 99:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{5}}} all => not sellable at any outpost (only buyable)
  // {{{5}}} all => not sellable at any outpost (only buyable)
Line 113: Line 113:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small> }}<!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small> }}<!--


-->}} }} }} }} |}}<!--
-->}} }} }} }} |}}<!--
Line 129: Line 129:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
Line 136: Line 136:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{5}}} all => not sellable at any outpost (only buyable)
  // {{{5}}} all => not sellable at any outpost (only buyable)
Line 150: Line 150:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small> }}<!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small> }}<!--


-->}} }} }} }} |}}<!--
-->}} }} }} }} |}}<!--
Line 166: Line 166:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{4}}} true => not buyable at an outpost
  // {{{4}}} true => not buyable at an outpost
Line 173: Line 173:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small><!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small><!--


  // {{{5}}} all => not sellable at any outpost (only buyable)
  // {{{5}}} all => not sellable at any outpost (only buyable)
Line 187: Line 187:


  // Selling price can't be 0
  // Selling price can't be 0
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small> }}<!--
-->{{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small> }}<!--


-->}} }} }} }} |}}<!--
-->}} }} }} }} |}}<!--
Line 202: Line 202:
     -->{{!}} {{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>}}}}<!-- buy col content -->
     -->{{!}} {{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>}}}}<!-- buy col content -->
<!--  -->{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}}<!-- sell col format
<!--  -->{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}}<!-- sell col format
       -->{{!}} {{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small> <!-- sell col content
       -->{{!}} {{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small> <!-- sell col content
-->|}}<!--
-->|}}<!--


Line 212: Line 212:
     -->{{!}} {{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>}}}}<!-- buy col content -->
     -->{{!}} {{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>}}}}<!-- buy col content -->
<!--  -->{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}}<!-- sell col format
<!--  -->{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}}<!-- sell col format
       -->{{!}} {{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small> <!-- sell col content
       -->{{!}} {{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small> <!-- sell col content
-->|}}<!--
-->|}}<!--


Line 222: Line 222:
     -->{{!}} {{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>}}}}<!-- buy col content -->
     -->{{!}} {{#ifeq: {{{4}}}|true|<span style="color:red">N/A</span>|<big>'''{{#expr: floor({{{2}}}*{{{3}}}) }}'''</big> <small>mk</small>}}}}<!-- buy col content -->
<!--  -->{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}}<!-- sell col format
<!--  -->{{!}} style="width:30%;text-align:center;vertical-align:middle;" {{#ifeq: {{{10columns}}}|yes|colspan="3"|}}<!-- sell col format
       -->{{!}} {{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.8) }}'''</big> }} <small>mk</small> <!-- sell col content
       -->{{!}} {{#ifeq:{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}|0|'''1'''|<big>'''{{#expr: floor({{{2}}}*{{{3}}}*0.75) }}'''</big> }} <small>mk</small> <!-- sell col content
-->|}}<!--
-->|}}<!--



Revision as of 15:19, 17 June 2022

Store
OutpostOutpost Buy Sell
Habitation OutpostHabitation 10 mk 7 mk
ColonyColony 9 mk 6 mk
Research OutpostResearch 12 mk 9 mk
Military OutpostMilitary 12 mk 9 mk
Mining OutpostMining 10 mk 7 mk
{{!}}-
{{Items_infobox/store|outpost|10|1}}
{{!}}-
{{Items_infobox/store|city|10|0.9}}
{{!}}-
{{Items_infobox/store|research|10|1.25}}
{{!}}-
{{Items_infobox/store|military|10|1.25}}
{{!}}-
{{Items_infobox/store|mine|10|1}}