Difference between revisions of "Template:RunRewardsBreakdown"

From Jackpoint
Line 36: Line 36:
 
   </td>
 
   </td>
 
  </tr>
 
  </tr>
<tr>
+
{{RunRewardsBreakdown/1
  <th>Subtotal</th>
+
|challenge={{{challenge|}}}
  <td style="text-align: center;">
+
|outnumbered_3={{{outnumbered_3|}}}
¥{{#expr: ((((((
+
|outnumbered_pro={{{outnumbered_pro|}}}
{{#if: {{{challenge|}}} | floor({{{challenge}}} / 4) | 0}}
+
|six_critters={{{six_critters|}}}
+ {{#if: {{{outnumbered_3|}}} | 1 | 0}}
+
|three_spirits={{{three_spirits|}}}
+ {{#if: {{{outnumbered_pro|}}} | 1 | 0}}
+
|speed_subtlety={{{speed_subtlety|}}}
+ {{#if: {{{six_critters|}}} | 1 | 0}}
+
|exposure={{{exposure|}}}
+ {{#if: {{{three_spirits|}}} | 1 | 0}}
+
|dangerous_lore={{{dangerous_lore|}}}
+ {{#if: {{{speed_subtlety|}}} | 1 | 0}}
+
|died={{{died|}}}
+ {{#if: {{{exposure|}}} | 1 | 0}}
+
|objectives={{{objectives|}}}
+ {{#if: {{{dangerous_lore|}}} | 1 | 0}} )
+
|bastard={{{bastard|}}}
* 3000)
+
|good_feelings={{{good_feelings|}}}
{{#if: {{{bastard|}}} | * 1.2 }}
+
|negotiation={{{negotiation|}}}
{{#if: {{{good_feelings|}}} | * 0.8 }}
+
|relative_nuyen_adjustment={{{relative_nuyen_adjustment|}}}
)
+
|absolute_nuyen_adjustment={{{absolute_nuyen_adjustment|}}}
{{#if: {{{negotiation|}}} | * ( 1 + ( {{{negotiation}}} * 0.1 ) ) }} )
+
|karma_per_session={{{karma_per_session|}}}
* 2)
+
|sessions={{{sessions|}}}
{{#if: {{{relative_nuyen_adjustment|}}} | * {{{relative_nuyen_adjustment}}} }} )
 
{{#if: {{{absolute_nuyen_adjustment|}}} | + {{{absolute_nuyen_adjustment}}} }}
 
}}
 
  </td>
 
  <td style="text-align: center;">
 
{{#expr: ((
 
{{#if: {{{died|}}} | 0 | 2}}  
 
+ {{#switch: {{{objectives|}}} | all = 2 | some = 1 | #default = 0}}
 
+ {{#if: {{{challenge|}}} | floor({{{challenge}}} / 6) | 0}}
 
+ {{#if: {{{bastard|}}} | (-2) | 0}}  
 
+ {{#if: {{{good_feelings|}}} | 2 | 0}}
 
) * 2)
 
{{#if: {{{karma_per_session|}}} | + ( {{{karma_per_session}}} * {{#if: {{{sessions|}}} | {{{sessions}}} | 0}} ) }}
 
 
}}
 
}}
  </td>
 
</tr>
 
 
</table>
 
</table>
 
<noinclude>
 
<noinclude>

Revision as of 14:30, 24 February 2021

NuyenKarma
Highest opposed pool
Factors
(Pool / 4)0
(Pool / 6)0
Survived+2
Subtotal

¥0

0

Double

¥0

0

Final

¥0

0

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}}