837
edits
(Add logic to chop shop price to replace can be stolen) |
(Format numbers) |
||
Line 8: | Line 8: | ||
|- | |- | ||
| '''Buy Price:''' | | '''Buy Price:''' | ||
| {{#ifeq: {{{BuyPrice}}} | -1 | Not Buyable | £{{{BuyPrice}}}}} | | {{#ifeq: {{{BuyPrice}}} | -1 | Not Buyable | £{{formatnum:{{{BuyPrice}}}}}}} | ||
|- | |- | ||
| '''Rental Price:''' | | '''Rental Price:''' | ||
| {{#if: {{{RentalPrice|}}} | £{{{RentalPrice}}} | {{#ifeq: {{{BuyPrice}}} | -1 | Not Rentable | £{{#expr: {{{BuyPrice}}}/2 round 0}}}}}} | | {{#if: {{{RentalPrice|}}} | £{{formatnum:{{{RentalPrice}}}}} | {{#ifeq: {{{BuyPrice}}} | -1 | Not Rentable | £{{formatnum:{{#expr: {{{BuyPrice}}}/2 round 0}}}}}}}} | ||
|- | |- | ||
| '''Retrieval Price:''' | | '''Retrieval Price:''' | ||
| £{{{RetrievalPrice}}} | | £{{formatnum:{{{RetrievalPrice}}}}} | ||
|- | |- | ||
| '''Sell Price:''' | | '''Sell Price:''' | ||
| £{{{SellPrice}}} | | £{{formatnum:{{{SellPrice}}}}} | ||
|- | |- | ||
| '''Chop Shop Price:''' | | '''Chop Shop Price:''' | ||
| {{#if: {{{ChopPrice|}}} | {{#ifexpr: {{{ChopPrice}}} > 0 | £{{{ChopPrice}}} | Not stealable }} | Unknown}} | | {{#if: {{{ChopPrice|}}} | {{#ifexpr: {{{ChopPrice}}} > 0 | £{{formatnum:{{{ChopPrice}}}}} | Not stealable }} | Unknown}} | ||
|- | |- | ||
| '''Trunk Space:''' | | '''Trunk Space:''' |