Difference between revisions of "Template:Hit Point Market Value Inverse/relative/quality table"
Jump to navigation
Jump to search
(added support for stuffable items) |
(simplification) |
||
Line 2: | Line 2: | ||
VARIABLES | VARIABLES | ||
− | -->{{#vardefine:sellFactor | {{#ifeq: {{ | + | -->{{#vardefine:sellFactor | {{#ifeq: {{{Type2}}} | Weapons | 0.2 |1}} }}<!-- |
+ | -->{{#vardefine:R1a | {{#switch: {{{R1}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R1a}}} * 0.25 * 0.1 | #default = {{{R1a}}} * 0.25}} }}<!-- | ||
+ | -->{{#vardefine:R2a | {{#switch: {{{R2}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R2a}}} * 0.25 * 0.1 | #default = {{{R2a}}} * 0.25}} }}<!-- | ||
+ | -->{{#vardefine:R3a | {{#switch: {{{R3}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R3a}}} * 0.25 * 0.1 | #default = {{{R3a}}} * 0.25}} }}<!-- | ||
+ | -->{{#vardefine:R4a | {{#switch: {{{R4}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R4a}}} * 0.25 * 0.1 | #default = {{{R4a}}} * 0.25}} }}<!-- | ||
+ | -->{{#vardefine:R5a | {{#switch: {{{R5}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R5a}}} * 0.25 * 0.1 | #default = {{{R5a}}} * 0.25}} }}<!-- | ||
+ | -->{{#vardefine:R6a | {{#switch: {{{R6}}} | Advanced component | Chemfuel | Component | Nano structuring chip | Powerfocus chip | Signal chip | = | Gold | Silver = {{{R6a}}} * 0.25 * 0.1 | #default = {{{R6a}}} * 0.25}} }}<!-- | ||
-->{{#vardefine:materialValue | {{#expr: 0 | -->{{#vardefine:materialValue | {{#expr: 0 | ||
− | {{# | + | {{#if: {{#var:R1a}} | + {{#var:R1a}} * {{Q|{{{2|{{{R1}}} }}}|Market Value Base}} }} |
− | + | {{#if: {{#var:R2a}} | + {{#var:R2a}} * {{Q|{{{R2}}}|Market Value Base}} }} | |
− | {{# | + | {{#if: {{#var:R3a}} | + {{#var:R3a}} * {{Q|{{{R3}}}|Market Value Base}} }} |
− | {{# | + | {{#if: {{#var:R4a}} | + {{#var:R4a}} * {{Q|{{{R4}}}|Market Value Base}} }} |
− | {{# | + | {{#if: {{#var:R5a}} | + {{#var:R5a}} * {{Q|{{{R5}}}|Market Value Base}} }} |
− | {{# | + | {{#if: {{#var:R6a}} | + {{#var:R6a}} * {{Q|{{{R6}}}|Market Value Base}} }} |
}} }}<!-- | }} }}<!-- | ||
Line 17: | Line 23: | ||
! data-sort-value="{{{1}}}" | {{DLC Icons| {{{1}}} }} | ! data-sort-value="{{{1}}}" | {{DLC Icons| {{{1}}} }} | ||
! {{#if: {{{2|}}} | {{Icon Small| {{{2}}} }} [[{{{2}}}]] | –}} | ! {{#if: {{{2|}}} | {{Icon Small| {{{2}}} }} [[{{{2}}}]] | –}} | ||
− | | style="text-align:left;" | {{Icon Small|{{{ | + | | style="text-align:left;" | {{Icon Small|{{{R1}}} }} {{#expr: {{#var:R1a}} round 2 }}<!-- |
− | -->{{# | + | -->{{#if: {{#var:R2a}} | + {{Icon Small|{{{R2}}} }} {{#expr: {{#var:R2a}} round 2}} }}<!-- |
− | -->{{# | + | -->{{#if: {{#var:R3a}} | + {{Icon Small|{{{R3}}} }} {{#expr: {{#var:R3a}} round 2}} }}<!-- |
− | -->{{# | + | -->{{#if: {{#var:R4a}} | + {{Icon Small|{{{R4}}} }} {{#expr: {{#var:R4a}} round 2}} }}<!-- |
− | -->{{# | + | -->{{#if: {{#var:R5a}} | + {{Icon Small|{{{R5}}} }} {{#expr: {{#var:R5a}} round 2}} }}<!-- |
− | -->{{# | + | -->{{#if: {{#var:R6a}} | + {{Icon Small|{{{R6}}} }} {{#expr: {{#var:R6a}} round 2}} }} |
| style="text-align:right;" | {{Market Value|{{#var:materialValue}} }} {{Icon Small|silver}} | | style="text-align:right;" | {{Market Value|{{#var:materialValue}} }} {{Icon Small|silver}} | ||
− | {{#ifeq: {{ | + | {{#ifeq: {{{HasQuality}}} | false |
| {{!}} – {{!!}} – {{!!}} style="text-align:right;" {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} || {{#var:sellFactor}} | {{{2|}}} }} {{!!}} – {{!!}} – {{!!}} – {{!!}} – | | {{!}} – {{!!}} – {{!!}} style="text-align:right;" {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} || {{#var:sellFactor}} | {{{2|}}} }} {{!!}} – {{!!}} – {{!!}} – {{!!}} – | ||
| {{!}} style="text-align:right;" {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Awful | {{#var:sellFactor}} | {{{2|}}} }} | | {{!}} style="text-align:right;" {{!}} {{Hit Point Market Value Inverse/relative| {{#var:materialValue}} | {{{1}}} | Awful | {{#var:sellFactor}} | {{{2|}}} }} | ||
Line 37: | Line 43: | ||
{| {{STDT|sortable c_06 text-center}} | {| {{STDT|sortable c_06 text-center}} | ||
! Name !! Material !! Material Return<br/>(on average) !! Material Value !! Awful Sale Value !! Poor Sale Value !! Normal Sale Value !! Good Sale Value !! Excellent Sale Value !! Masterwork Sale Value !! Legendary Sale Value | ! Name !! Material !! Material Return<br/>(on average) !! Material Value !! Awful Sale Value !! Poor Sale Value !! Normal Sale Value !! Good Sale Value !! Excellent Sale Value !! Masterwork Sale Value !! Legendary Sale Value | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#ask: [[Type2::Weapons]] [[Resource 1::!Stuff]] [[Resource 1::!Wood]] [[Resource 1::!Cloth]] | {{#ask: [[Type2::Weapons]] [[Resource 1::!Stuff]] [[Resource 1::!Wood]] [[Resource 1::!Cloth]] | ||
| format = template | | format = template | ||
Line 49: | Line 49: | ||
| named args = true | | named args = true | ||
| ?Name = 1 | | ?Name = 1 | ||
+ | | ?Resource 1 = R1 | ||
+ | | ?Resource 2 = R2 | ||
+ | | ?Resource 3 = R3 | ||
+ | | ?Resource 4 = R4 | ||
+ | | ?Resource 5 = R5 | ||
+ | | ?Resource 6 = R6 | ||
+ | | ?Resource 1 Amount = R1a | ||
+ | | ?Resource 2 Amount = R2a | ||
+ | | ?Resource 3 Amount = R3a | ||
+ | | ?Resource 4 Amount = R4a | ||
+ | | ?Resource 5 Amount = R5a | ||
+ | | ?Resource 6 Amount = R6a | ||
+ | | ?Type2 = Type2 | ||
+ | | ?Has Quality = HasQuality | ||
| sort = From DLC, Name | | sort = From DLC, Name | ||
}} | }} | ||
Line 57: | Line 71: | ||
| named args = true | | named args = true | ||
| ?Name = 1 | | ?Name = 1 | ||
+ | | ?Resource 1 = R1 | ||
+ | | ?Resource 2 = R2 | ||
+ | | ?Resource 3 = R3 | ||
+ | | ?Resource 4 = R4 | ||
+ | | ?Resource 5 = R5 | ||
+ | | ?Resource 6 = R6 | ||
+ | | ?Resource 1 Amount = R1a | ||
+ | | ?Resource 2 Amount = R2a | ||
+ | | ?Resource 3 Amount = R3a | ||
+ | | ?Resource 4 Amount = R4a | ||
+ | | ?Resource 5 Amount = R5a | ||
+ | | ?Resource 6 Amount = R6a | ||
+ | | ?Type2 = Type2 | ||
+ | | ?Has Quality = HasQuality | ||
| sort = From DLC, Name | | sort = From DLC, Name | ||
}} | }} |
Revision as of 19:40, 16 January 2024
Name | Material | Material Return (on average) |
Material Value | Awful Sale Value | Poor Sale Value | Normal Sale Value | Good Sale Value | Excellent Sale Value | Masterwork Sale Value | Legendary Sale Value |
---|---|---|---|---|---|---|---|---|---|---|
Assault rifle | – | 15 | 29 | 48 (65.6%) | 72 (57.4%) | 96 (54.9%) | 120 (53.4%) | 144 (52.4%) | 240 (50.5%) | 480 (29.7%) |
Autopistol | – | 7.5 | 14 | 14 (never) | 20.8 (71.1%) | 27.8 (60.8%) | 34.8 (57.7%) | 42 (56.0%) | 69 (52.7%) | 139 (50.1%) |
Bolt-action rifle | – | 15 | 29 | 25.6 (never) | 38.2 (74.8%) | 51 (63.5%) | 64 (58.6%) | 76 (56.9%) | 127 (53.1%) | 255 (50.3%) |
Chain shotgun | – | 17.5 | 33 | 40 (79.9%) | 61 (62.7%) | 81 (57.8%) | 101 (55.7%) | 121 (54.4%) | 202 (51.6%) | 405 (41.0%) |
Charge lance | – | 15 | 135 | 135 (90.0%) | 203 (69.9%) | 271 (60.0%) | 339 (57.5%) | 406 (55.8%) | 671 (52.5%) | 871 (51.4%) |
Charge rifle | – | 12.5 | 113 | 101 (never) | 151 (74.7%) | 202 (63.4%) | 252 (58.7%) | 303 (56.8%) | 505 (53.1%) | 802 (51.0%) |
EMP grenades | – | 5 | 9.5 | – | – | 63 (51.3%) | – | – | – | – |
EMP launcher | – | 18.75 | 36 | 50 (72.8%) | 76 (59.2%) | 101 (56.3%) | 126 (54.6%) | 151 (53.4%) | 252 (51.0%) | 505 (35.3%) |
Frag grenades | – | 5 | 9.5 | – | – | 53 (52.0%) | – | – | – | – |
Heavy SMG | – | 18.75 | 36 | 35.6 (never) | 53 (70.3%) | 71 (60.1%) | 89 (57.5%) | 106 (55.9%) | 177 (52.5%) | 355 (50.0%) |
Incendiary launcher | – | 18.75 | 36 | 34 (never) | 51 (71.9%) | 68 (61.4%) | 85 (58.0%) | 102 (56.2%) | 170 (52.7%) | 340 (50.1%) |
LMG | – | 18.75 | 36 | 42 (80.9%) | 64 (63.4%) | 85 (58.0%) | 106 (55.9%) | 127 (54.5%) | 212 (51.7%) | 425 (41.9%) |
Machine pistol | – | 11.25 | 21 | 22 (88.3%) | 33 (68.9%) | 44 (59.6%) | 55 (57.2%) | 66 (55.6%) | 110 (52.4%) | 220 (48.6%) |
Minigun | – | 40 | 76 | 116 (69.3%) | 174 (58.4%) | 232 (55.7%) | 290 (54.1%) | 348 (53.0%) | 580 (50.8%) | 832 (45.7%) |
Pump shotgun | – | 15 | 29 | 25.6 (never) | 38.2 (74.8%) | 51 (63.5%) | 64 (58.6%) | 76 (56.9%) | 127 (53.1%) | 255 (50.3%) |
Revolver | – | 7.5 | 14 | 13.6 (never) | 20.2 (72.3%) | 27 (61.7%) | 33.8 (58.0%) | 40 (56.4%) | 67 (52.8%) | 135 (50.1%) |
Smoke launcher | – | 18.75 | 36 | – | – | 76 (59.2%) | – | – | – | – |
Sniper rifle | – | 15 | 29 | 53 (62.3%) | 79 (56.5%) | 106 (54.2%) | 132 (52.9%) | 159 (52.0%) | 265 (50.2%) | 530 (26.9%) |
Hellcat rifle | – | 15 + 5 | 32 | 48 (70.3%) | 72 (58.7%) | 96 (55.9%) | 120 (54.2%) | 144 (53.1%) | 240 (50.9%) | 480 (33.6%) |
Incinerator | – | 18.75 + 7.5 | 41 | – | – | 106 (57.2%) | – | – | – | – |
Nerve spiker | – | 10 | 7.5 | 6.2 (never) | 9.4 (77.9%) | 12.4 (66.3%) | 15.6 (59.5%) | 18.6 (57.6%) | 31 (53.5%) | 62 (50.5%) |
Tox grenades | – | 5 | 9.5 | – | – | 63 (51.3%) | – | – | – | – |
Toxbomb launcher | – | 18.75 | 36 | 38 (86.3%) | 57 (67.5%) | 76 (59.2%) | 95 (56.9%) | 114 (55.3%) | 190 (52.2%) | 380 (46.9%) |
Firefoam pop pack | – | 5 | 9.5 | 72 (50.8%) | 107 (44.4%) | 143 (33.2%) | 179 (26.5%) | 215 (22.1%) | 355 (13.4%) | 715 (6.6.%) |
Flak jacket | – | 17.5 + 12.5 | 52 | 145 (56.5%) | 215 (53.5%) | 290 (52.0%) | 360 (51.1%) | 435 (50.5%) | 725 (35.9%) | 1450 (17.9%) |
Flak pants | – | 15 + 7.5 | 40 | 113 (56.3%) | 169 (53.4%) | 225 (51.9%) | 280 (51.0%) | 335 (50.5%) | 560 (35.5%) | 1125 (17.7%) |
Flak vest | – | 15 + 7.5 | 40 | 113 (56.3%) | 169 (53.4%) | 225 (51.9%) | 280 (51.0%) | 335 (50.5%) | 560 (35.5%) | 1125 (17.7%) |
Marine armor | – | 25 + 5 | 255 | 1015 (53.8%) | 1525 (51.7%) | 2035 (50.6%) | 2535 (50.0%) | 3035 (42.0%) | 4035 (31.6%) | 5035 (25.3%) |
Marine helmet | – | 10 | 90 | 315 (54.6%) | 475 (52.2%) | 635 (51.0%) | 795 (50.3%) | 950 (47.4%) | 1585 (28.4%) | 3175 (14.2%) |
Recon armor | – | 20 + 2.5 | 195 | 770 (53.8%) | 1155 (51.7%) | 1540 (50.7%) | 1925 (50.0%) | 2310 (42.2%) | 3540 (27.5%) | 4540 (21.5%) |
Recon helmet | – | 7.5 | 68 | 260 (54.0%) | 395 (51.8%) | 525 (50.7%) | 655 (50.1%) | 785 (43.0%) | 1310 (25.8%) | 2625 (12.9%) |
Shield belt | – | 12.5 + 5 | 69 | 195 (56.3%) | 290 (53.4%) | 390 (51.9%) | 485 (51.0%) | 585 (50.4%) | 975 (35.3%) | 1950 (17.6%) |
Smokepop pack | – | 5 | 9.5 | 83 (50.4%) | 125 (38.0%) | 166 (28.6%) | 205 (23.2%) | 250 (19.0%) | 415 (11.4%) | 830 (5.7.%) |
Biomutation lance | – | 0.25 + 12.5 + 5 | 112 | – | – | 850 (50.8%) | – | – | – | – |
Deadlife pack | – | 7.5 + 0.25 | 106 | – | – | 445 (53.4%) | – | – | – | – |
Disruptor flare pack | – | Expression error: Unexpected round operator. + 7.5 | 5.63 | – | – | 80 (35.2%) | – | – | – | – |
Ritual mask | – | 6.25 | 4.69 | 23 (52.6%) | 35 (50.8%) | 46 (50.0%) | 58 (40.4%) | 69 (34.0%) | 115 (20.4%) | 230 (10.2%) |
Shard insanity lance | – | 0.25 + 18.75 | 114 | 265 (58.3%) | 395 (54.7%) | 530 (52.9%) | 660 (51.8%) | 795 (51.1%) | 1325 (43.0%) | 2650 (21.5%) |
Shard shock lance | – | 0.25 + 15 | 111 | 255 (58.4%) | 380 (54.8%) | 510 (53.0%) | 635 (51.9%) | 765 (51.1%) | 1275 (43.6%) | 2550 (21.8%) |
Turret pack | – | 17.5 | 33 | 118 (54.5%) | 176 (52.2%) | 235 (51.0%) | 295 (50.3%) | 350 (47.5%) | 585 (28.4%) | 1175 (14.1%) |
Airwire headset | – | 12.5 | 24 | 115 (52.7%) | 173 (50.9%) | 230 (50.1%) | 285 (41.7%) | 345 (34.4%) | 575 (20.7%) | 1150 (10.3%) |
Array headset | – | 12.5 | 24 | 180 (50.8%) | 270 (44.0%) | 360 (33.0%) | 450 (26.4%) | 540 (22.0%) | 900 (13.2%) | 1800 (6.6.%) |
Bandwidth pack | – | 12.5 | 24 | 680 (17.5%) | 1020 (11.6%) | 1360 (8.7.%) | 1700 (7.0.%) | 2040 (5.8.%) | 3360 (3.5.%) | 4360 (2.7.%) |
Control pack | – | 25 | 48 | 198 (53.5%) | 295 (51.5%) | 395 (50.5%) | 495 (48.0%) | 590 (40.3%) | 985 (24.1%) | 1975 (12.0%) |
Gas mask | – | 5 | 9.5 | 53 (52.0%) | 80 (50.5%) | 106 (44.8%) | 133 (35.7%) | 159 (29.9%) | 265 (17.9%) | 530 (9.0.%) |
Integrator headset | – | 12.5 | 113 | 1215 (46.3%) | 1825 (30.8%) | 2435 (23.1%) | 2935 (19.2%) | 3435 (16.4%) | 4435 (12.7%) | 5435 (10.3%) |
Mechcommander helmet | – | 15 | 135 | 645 (52.7%) | 965 (51.0%) | 1290 (50.1%) | 1610 (41.9%) | 1935 (34.9%) | 3225 (20.9%) | 4290 (15.7%) |
Mechlord helmet | – | 30 | 270 | 2665 (50.0%) | 4000 (33.8%) | 5335 (25.3%) | 5835 (23.1%) | 6335 (21.3%) | 7335 (18.4%) | 8335 (16.2%) |
Mechlord suit | – | 30 | 270 | 3445 (39.2%) | 5170 (26.1%) | 6895 (19.6%) | 7395 (18.3%) | 7895 (17.1%) | 8895 (15.2%) | 9895 (13.6%) |
Tox pack | – | 2.5 | 4.75 | 66 (36.0%) | 99 (24.0%) | 132 (18.0%) | 165 (14.4%) | 198 (12.0%) | 330 (7.2.%) | 660 (3.6.%) |
Cataphract armor | – | 37.5 + 12.5 | 410 | 1560 (54.1%) | 2340 (51.9%) | 3120 (50.8%) | 3620 (50.3%) | 4120 (50.0%) | 5120 (40.3%) | 6120 (33.7%) |
Cataphract helmet | – | 12.5 | 113 | 370 (55.1%) | 560 (52.5%) | 745 (51.3%) | 930 (50.5%) | 1115 (50.0%) | 1860 (30.2%) | 3725 (15.1%) |
Grenadier armor | – | 25 + 5 + 18.75 | 290 | 1150 (53.8%) | 1730 (51.7%) | 2305 (50.7%) | 2805 (50.1%) | 3305 (44.0%) | 4305 (33.8%) | 5305 (27.4%) |
Gunlink | – | 2.5 | 23 | – | – | 345 (32.6%) | – | – | – | – |
Jump pack | – | 7.5 | 68 | 320 (52.8%) | 485 (51.0%) | 645 (50.1%) | 805 (41.9%) | 965 (35.0%) | 1610 (21.0%) | 3225 (10.5%) |
Locust armor | – | 30 + 2.5 | 285 | 1115 (53.9%) | 1670 (51.8%) | 2230 (50.7%) | 2730 (50.1%) | 3230 (44.1%) | 4230 (33.7%) | 5230 (27.2%) |
Phoenix armor | – | 37.5 + 12.5 + 18.75 | 450 | 1740 (53.9%) | 2610 (51.8%) | 3480 (50.7%) | 3980 (50.3%) | 4480 (50.0%) | 5480 (40.9%) | 6480 (34.6%) |
Prestige cataphract armor | – | 47.5 + 12.5 + 4.5 | 545 | 1965 (54.5%) | 2945 (52.1%) | 3930 (51.0%) | 4430 (50.6%) | 4930 (50.3%) | 5930 (46.2%) | 6930 (39.5%) |
Prestige cataphract helmet | – | 18.75 + 2.25 | 191 | 575 (55.8%) | 865 (53.0%) | 1155 (51.6%) | 1445 (50.8%) | 1730 (50.3%) | 2885 (33.1%) | 4155 (23.0%) |
Prestige marine armor | – | 30 + 5 + 2.5 | 325 | 1265 (53.9%) | 1895 (51.8%) | 2530 (50.7%) | 3030 (50.2%) | 3530 (46.0%) | 4530 (35.9%) | 5530 (29.4%) |
Prestige marine helmet | – | 12.5 + 1.25 | 125 | 425 (54.9%) | 635 (52.4%) | 850 (51.2%) | 1060 (50.4%) | 1275 (49.0%) | 2125 (29.4%) | 3850 (16.2%) |
Prestige recon armor | – | 25 + 2.5 + 2.25 | 260 | 985 (54.2%) | 1480 (51.9%) | 1975 (50.8%) | 2470 (50.2%) | 2960 (44.3%) | 3975 (33.0%) | 4975 (26.4%) |
Prestige recon helmet | – | 10 + 1 | 100 | 355 (54.5%) | 535 (52.2%) | 715 (51.0%) | 895 (50.3%) | 1070 (46.7%) | 1785 (28.0%) | 3575 (14.0%) |
{{Hit Point Market Value Inverse/relative|target|item_name|quality|sell_modifier (default 1)}}
Examples
{{Hit Point Market Value Inverse/relative|20.9|Machine pistol|good|0.2}}
The above documentation is transcluded from Template:Hit Point Market Value Inverse/relative/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |