Difference between revisions of "User:Harakoni/ChairQualityStuffableMaterial"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
{{#vardefine: flammability|{{Q|{{#var:name}}|Flammability Base}}}} | {{#vardefine: flammability|{{Q|{{#var:name}}|Flammability Base}}}} | ||
{{#vardefine: HP|{{Q|{{#var:name}}|HP}}}} | {{#vardefine: HP|{{Q|{{#var:name}}|HP}}}} | ||
− | + | </noinclude> | |
+ | {{#vardefine:preBeauty | {{#expr: {{#var:beauty}} <!-- base beauty of the building --> * {{#ifexpr: {{#var:beauty}} < 0 | 1 | {{#if:{{#var:stufftags}}|{{Q|{{#var:material}}|Beauty Factor}}|1}} }} <!-- beauty factor provided by the material. Set to 1 if base beauty of the building is negative --> + {{Q|{{#var:material}}|Beauty Offset|0}} <!-- beauty offset provided by the material -->}} }} | ||
+ | {{#vardefine: flammabilityMaterial| {{#var: flammability}} * {{Q|{{#var:material}}|Flammability Factor}} | ||
+ | {{#vardefine: HPMaterial| {{#var: HP}} * {{Q|{{#var:material}}|Max Hit Points Factor}} | ||
+ | <noinclude> | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Select which chairs you'd like to compare | |+ Select which chairs you'd like to compare | ||
Line 34: | Line 38: | ||
<td style="text-align:left; background-color:#e8bc84;" > '''[[{{#var:material}}]] [[{{#var:name}}]]''' </td> | <td style="text-align:left; background-color:#e8bc84;" > '''[[{{#var:material}}]] [[{{#var:name}}]]''' </td> | ||
<td> {{#var: size}}</td> | <td> {{#var: size}}</td> | ||
− | <td> {{#expr: {{#var:comfort}} * | + | <td> {{#expr: {{#var:comfort}} * 0.76 round 2}} </td> |
− | <td> | + | <td><!-- |
− | |||
− | |||
− | |||
-->{{#vardefine:tempBeauty | | -->{{#vardefine:tempBeauty | | ||
{{#expr: {{#ifexpr: {{#var:preBeauty}} > 0 | {{#expr: {{#ifexpr: {{#var:preBeauty}} > 0 | ||
Line 48: | Line 49: | ||
{{#ifeq: {{#var:tempBeauty}} | -0 | 0 | {{#var:tempBeauty}} }} | {{#ifeq: {{#var:tempBeauty}} | -0 | 0 | {{#var:tempBeauty}} }} | ||
}} </td> | }} </td> | ||
− | <td> | + | <td> {{#var: flammabilityMaterial}} </td> |
− | <td> | + | <td> {{#var: HPMaterial}} </td> |
<td> {{Market Value Calculator|{{#var:name}}|{{#var:material}}|Awful}} {{icon small|silver|}}</td> | <td> {{Market Value Calculator|{{#var:name}}|{{#var:material}}|Awful}} {{icon small|silver|}}</td> | ||
</tr> | </tr> | ||
Line 100: | Line 101: | ||
<td data-sort-value="6" style="text-align:right; background-color:#e8bc84;" >'''Masterwork'''</td> | <td data-sort-value="6" style="text-align:right; background-color:#e8bc84;" >'''Masterwork'''</td> | ||
<td style="text-align:left; background-color:#e8bc84;" > '''[[{{#var:material}}]] [[{{#var:name}}]]''' </td> | <td style="text-align:left; background-color:#e8bc84;" > '''[[{{#var:material}}]] [[{{#var:name}}]]''' </td> | ||
− | + | <td> Size </td> | |
<td> Comfort </td> | <td> Comfort </td> | ||
<td> Beauty </td> | <td> Beauty </td> |
Revision as of 21:07, 13 November 2024
{{#vardefine: flammabilityMaterial| 1 * 1.2
{{#vardefine: HPMaterial| * 1
Weapon | Toggle | Weapon | Toggle |
---|---|---|---|
Armchair |
Quality | Name | Size | Comfort | Beauty | Flammability | HP | Market Value | ||
---|---|---|---|---|---|---|---|---|---|
Awful | Cloth Armchair | 1 × 1 | 0.61 | Expression error: Unexpected < operator. | 108 | ||||
Poor | Cloth Armchair | Size | Comfort | Beauty | Flammability | HP | 162 | ||
Normal | Cloth Armchair | Size | Comfort | Beauty | Flammability | HP | 215 | ||
Good | Cloth Armchair | Size | Comfort | Beauty | Flammability | HP | 270 | ||
Excellent | Cloth Armchair | Size | Comfort | Beauty | Flammability | HP | 325 | ||
Masterwork | Cloth Armchair | Size | Comfort | Beauty | Flammability | HP | 540 | ||
Legendary | Cloth Armchair | Size | Comfort | Beauty | Flammability | HP | 1075 |