Difference between revisions of "Template:RunRewardsBreakdown"
From Jackpoint
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
<td>(Pool / 4)</td><td width="10"></td><td style="text-align: right;">{{#if: {{{challenge|}}} | {{#expr: floor({{{challenge}}} / 4) }} | 0 }} </td> | <td>(Pool / 4)</td><td width="10"></td><td style="text-align: right;">{{#if: {{{challenge|}}} | {{#expr: floor({{{challenge}}} / 4) }} | 0 }} </td> | ||
</tr> | </tr> | ||
− | {{#if: {{{outnumbered_3|}}} | <tr><td>Outnumbered 3-1 </td><td width="10"></td><td style="text-align: right;">+1</td></tr> | + | {{#if: {{{outnumbered_3|}}} | <tr><td>Outnumbered 3-1 </td><td width="10"></td><td style="text-align: right;">+1</td></tr> |
− | }}{{#if: {{{outnumbered_pro|}}} | <tr><td>Outnumbered by Pros</td><td width="10"></td><td style="text-align: right;">+1</td></tr> | + | }}{{#if: {{{outnumbered_pro|}}} | <tr><td>Outnumbered by Pros</td><td width="10"></td><td style="text-align: right;">+1</td></tr> |
− | }}{{#if: {{{six_critters|}}} | <tr><td>Six critters </td><td width="10"></td><td style="text-align: right;">+1</td></tr> | + | }}{{#if: {{{six_critters|}}} | <tr><td>Six critters </td><td width="10"></td><td style="text-align: right;">+1</td></tr> |
− | }}{{#if: {{{three_spirits|}}} | <tr><td>Three spirits </td><td width="10"></td><td style="text-align: right;">+1</td></tr> | + | }}{{#if: {{{three_spirits|}}} | <tr><td>Three spirits </td><td width="10"></td><td style="text-align: right;">+1</td></tr> |
− | }}{{#if: {{{speed_subtlety|}}} | <tr><td>Speed or Subtlety </td><td width="10"></td><td style="text-align: right;">+1</td></tr> | + | }}{{#if: {{{speed_subtlety|}}} | <tr><td>Speed or Subtlety </td><td width="10"></td><td style="text-align: right;">+1</td></tr> |
− | }}{{#if: {{{exposure|}}} | <tr><td>Risked exposure </td><td width="10"></td><td style="text-align: right;">+1</td></tr> | + | }}{{#if: {{{exposure|}}} | <tr><td>Risked exposure </td><td width="10"></td><td style="text-align: right;">+1</td></tr> |
− | }}{{#if: {{{dangerous_lore|}}} | <tr><td>Notably dangerous </td><td width="10"></td><td style="text-align: right;">+1</td></tr> | + | }}{{#if: {{{dangerous_lore|}}} | <tr><td>Notably dangerous </td><td width="10"></td><td style="text-align: right;">+1</td></tr> |
}} | }} | ||
</table> | </table> | ||
Line 29: | Line 29: | ||
</tr> | </tr> | ||
{{#if: {{{died|}}} || <tr><td>Survived</td><td width="10"></td><td style="text-align: right;">+2</td></tr> | {{#if: {{{died|}}} || <tr><td>Survived</td><td width="10"></td><td style="text-align: right;">+2</td></tr> | ||
− | }}{{#switch: {{{objectives|}}} | + | }}{{#switch: {{{objectives|}}} |
| all = <tr><td>Objectives: all </td><td width="10"></td><td style="text-align: right;">+2</td></tr> | | all = <tr><td>Objectives: all </td><td width="10"></td><td style="text-align: right;">+2</td></tr> | ||
| some = <tr><td>Objectives: some</td><td width="10"></td><td style="text-align: right;">+1</td></tr> | | some = <tr><td>Objectives: some</td><td width="10"></td><td style="text-align: right;">+1</td></tr> | ||
Line 36: | Line 36: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | {{RunRewardsBreakdown/ | + | {{RunRewardsBreakdown/Subtotal |
− | |nuyen={{#expr: | + | |nuyen={{#expr: |
− | ( {{#if: {{{challenge|}}} | floor({{{challenge}}} / 4) | 0}} | + | ( {{#if: {{{challenge|}}} | floor({{{challenge}}} / 4) | 0}} |
− | + {{#if: {{{outnumbered_3|}}} | 1 | 0}} | + | + {{#if: {{{outnumbered_3|}}} | 1 | 0}} |
− | + {{#if: {{{outnumbered_pro|}}} | 1 | 0}} | + | + {{#if: {{{outnumbered_pro|}}} | 1 | 0}} |
+ {{#if: {{{six_critters|}}} | 1 | 0}} | + {{#if: {{{six_critters|}}} | 1 | 0}} | ||
− | + {{#if: {{{three_spirits|}}} | 1 | 0}} | + | + {{#if: {{{three_spirits|}}} | 1 | 0}} |
− | + {{#if: {{{speed_subtlety|}}} | 1 | 0}} | + | + {{#if: {{{speed_subtlety|}}} | 1 | 0}} |
− | + {{#if: {{{exposure|}}} | 1 | 0}} | + | + {{#if: {{{exposure|}}} | 1 | 0}} |
+ {{#if: {{{dangerous_lore|}}} | 1 | 0}} ) }} | + {{#if: {{{dangerous_lore|}}} | 1 | 0}} ) }} | ||
|karma={{#expr: | |karma={{#expr: | ||
− | ( {{#if: {{{challenge|}}} | floor({{{challenge}}} / 6) | 0}} | + | ( {{#if: {{{challenge|}}} | floor({{{challenge}}} / 6) | 0}} |
− | + {{#if: {{{died|}}} | 0 | 2}} | + | + {{#if: {{{died|}}} | 0 | 2}} |
+ {{#switch: {{{objectives|}}} | all = 2 | some = 1 | #default = 0}} ) }} | + {{#switch: {{{objectives|}}} | all = 2 | some = 1 | #default = 0}} ) }} | ||
Line 61: | Line 61: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
− | Setting a parameter to something non-blank adds the value from its row in the corresponding reward table. | + | * Setting a parameter to something non-blank adds the value from its row in the corresponding reward table. |
+ | * If the died parameter is omitted or blank, the 2 karma for surviving are added; i.e. only set this parameter if characters actually died. | ||
+ | * The challenge parameter should be set to the dice pool encountered - the template will handle the division and rounding. | ||
+ | * Negotiation should be added as net hits. | ||
+ | * Relative nuyen adjustment: this is multiplied onto the subtotal; set this to 0 to have no nuyen for the run, or a fixed amount using the absolute adjustment below. | ||
+ | * Absolute nuyen adjustment: This is added/subtracted after the relative adjustment; you must include the + if positive, e.g. +21000 | ||
− | + | <pre> | |
+ | {{RunRewardsBreakdown | ||
+ | |challenge= | ||
− | + | |outnumbered_3= | |
+ | |outnumbered_pro= | ||
+ | |six_critters= | ||
+ | |three_spirits= | ||
+ | |speed_subtlety= | ||
+ | |exposure= | ||
+ | |dangerous_lore= | ||
− | + | |objectives=all/some | |
− | + | |behaviour=nuyen/karma | |
− | | | + | |negotiation=net hits |
− | | | + | |relative_nuyen_adjustment=*value |
− | | | + | |absolute_nuyen_adjustment=+/-value |
− | | | + | |karma_per_session= |
− | | | + | |sessions= |
− | | | + | }} |
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:16, 17 May 2022
Nuyen | Karma | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Highest opposed pool | — | ||||||||||
Factors |
|
|
|||||||||
Subtotal |
¥0 |
2 |
|||||||||
Double |
¥0 |
4 |
|||||||||
Final |
¥0 |
4 |
Usage
- Setting a parameter to something non-blank adds the value from its row in the corresponding reward table.
- If the died parameter is omitted or blank, the 2 karma for surviving are added; i.e. only set this parameter if characters actually died.
- The challenge parameter should be set to the dice pool encountered - the template will handle the division and rounding.
- Negotiation should be added as net hits.
- Relative nuyen adjustment: this is multiplied onto the subtotal; set this to 0 to have no nuyen for the run, or a fixed amount using the absolute adjustment below.
- Absolute nuyen adjustment: This is added/subtracted after the relative adjustment; you must include the + if positive, e.g. +21000
{{RunRewardsBreakdown |challenge= |outnumbered_3= |outnumbered_pro= |six_critters= |three_spirits= |speed_subtlety= |exposure= |dangerous_lore= |objectives=all/some |behaviour=nuyen/karma |negotiation=net hits |relative_nuyen_adjustment=*value |absolute_nuyen_adjustment=+/-value |karma_per_session= |sessions= }}