Difference between revisions of "User:Jynx/Sandbox/Template2"
From Jackpoint
| Line 1: | Line 1: | ||
| − | + | <table class="wikitable> | |
| − | + | <tr> | |
| − | + | <th></th><th>Nuyen</th><th>Karma</th> | |
| − | + | </tr> | |
| − | + | <tr> | |
| − | + | <th rowspan="7">Base</td> | |
| − | + | <td colspan="4">Highest opposed pool: {{{challenge|—}}}</td> | |
| − | + | </tr> | |
| − | + | <tr> | |
| − | + | <td> | |
| − | + | <table> | |
| − | + | <tr> | |
| − | + | <td>(Pool / 4)</td><td style="text-align: right;">{{#if: {{{challenge|}}} | {{#expr: floor({{{challenge}}} / 4) }} | 0 }} </td> | |
| − | + | </tr> | |
| − | + | {{#if: {{{outnumbered_3|}}} | <tr><td>Outnumbered 3-1</td></td><td style="text-align: right;">+1</td></tr> }} | |
| + | {{#if: {{{outnumbered_pro|}}} | <tr><td>Outnumbered by Pros</td><td style="text-align: right;">+1</td></tr> }} | ||
| + | {{#if: {{{six_critters|}}} | <tr><td>Six critters</td><td style="text-align: right;">+1</td></tr> }} | ||
| + | {{#if: {{{three_spirits|}}} | <tr><td>Three spirits</td><td style="text-align: right;">+1</td></tr> }} | ||
| + | {{#if: {{{speed_subtlety|}}} | <tr><td>Speed or Subtlety</td><td style="text-align: right;">+1</td></tr> }} | ||
| + | {{#if: {{{exposure|}}} | <tr><td>Risked exposure</td><td style="text-align: right;">+1</td></tr> }} | ||
| + | {{#if: {{{dangerous_lore|}}} | <tr><td>Notably dangerous</td><td style="text-align: right;">+1</td></tr> }} | ||
| + | </table> | ||
| + | </td> | ||
| + | <td>b</td> | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td style="text-align: center;"> | ||
¥{{#expr: (((((( | ¥{{#expr: (((((( | ||
{{#if: {{{challenge|}}} | floor({{{challenge}}} / 4) | 0}} | {{#if: {{{challenge|}}} | floor({{{challenge}}} / 4) | 0}} | ||
| Line 32: | Line 44: | ||
{{#if: {{{absolute_nuyen_adjustment|}}} | + {{{absolute_nuyen_adjustment}}} }} | {{#if: {{{absolute_nuyen_adjustment|}}} | + {{{absolute_nuyen_adjustment}}} }} | ||
}} | }} | ||
| − | + | </td> | |
| + | <td style="text-align: center;"> | ||
{{#expr: (( | {{#expr: (( | ||
{{#if: {{{died|}}} | 0 | 2}} | {{#if: {{{died|}}} | 0 | 2}} | ||
| Line 42: | Line 55: | ||
{{#if: {{{karma_per_session|}}} | + ( {{{karma_per_session}}} * {{#if: {{{sessions|}}} | {{{sessions}}} | 0}} ) }} | {{#if: {{{karma_per_session|}}} | + ( {{{karma_per_session}}} * {{#if: {{{sessions|}}} | {{{sessions}}} | 0}} ) }} | ||
}} | }} | ||
| − | + | </td> | |
| − | + | </tr> | |
| + | </table> | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Revision as of 00:02, 24 February 2021
| Nuyen | Karma | |||
|---|---|---|---|---|
| Base | Highest opposed pool: — | |||
|
b | |||
|
¥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 (as in the example), 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.
{{RunRewards
|died=
|all=1
|some=1
|challenge=4
|bastard=1
|good_feelings=1}}