Difference between revisions of "Template:RunRewardsBreakdown"

From Jackpoint
Line 37: Line 37:
 
  </tr>
 
  </tr>
 
{{RunRewardsBreakdown/1
 
{{RunRewardsBreakdown/1
|challenge={{{challenge|}}}
+
|nuyen={{#expr:
|outnumbered_3={{{outnumbered_3|}}}
+
( {{#if: {{{challenge|}}} | floor({{{challenge}}} / 4) | 0}}  
|outnumbered_pro={{{outnumbered_pro|}}}
+
+ {{#if: {{{outnumbered_3|}}} | 1 | 0}}  
|six_critters={{{six_critters|}}}
+
+ {{#if: {{{outnumbered_pro|}}} | 1 | 0}}  
|three_spirits={{{three_spirits|}}}
+
+ {{#if: {{{six_critters|}}} | 1 | 0}}
|speed_subtlety={{{speed_subtlety|}}}
+
+ {{#if: {{{three_spirits|}}} | 1 | 0}}  
|exposure={{{exposure|}}}
+
+ {{#if: {{{speed_subtlety|}}} | 1 | 0}}  
|dangerous_lore={{{dangerous_lore|}}}
+
+ {{#if: {{{exposure|}}} | 1 | 0}}  
|died={{{died|}}}
+
+ {{#if: {{{dangerous_lore|}}} | 1 | 0}} ) }}
|objectives={{{objectives|}}}
+
|karma={{#expr: 0}}
 
|bastard={{{bastard|}}}
 
|bastard={{{bastard|}}}
 
|good_feelings={{{good_feelings|}}}
 
|good_feelings={{{good_feelings|}}}

Revision as of 18:25, 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}}