File tree 3 files changed +21
-0
lines changed
3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 88
88
<!ATTLIST hacks skill-modes (true|false) "false"> <!-- Fate System Toolkit -->
89
89
<!ATTLIST hacks stress-base-count CDATA #IMPLIED>
90
90
<!ATTLIST hacks systems-stress (true|false) "false"> <!-- Mostly for Mindjammer -->
91
+ <!ATTLIST hacks wealth-stress-count CDATA #IMPLIED> <!-- Fate System Toolkit -->
91
92
92
93
<!ELEMENT phase-trio (phase*)>
93
94
<!ELEMENT phase (events*)>
Original file line number Diff line number Diff line change 28
28
<xsl : otherwise >false</xsl : otherwise >
29
29
</xsl : choose >
30
30
</xsl : variable >
31
+ <xsl : variable name =" wealthStressCount" >
32
+ <xsl : choose >
33
+ <xsl : when test =" hacks/@wealth-stress-count" >
34
+ <xsl : value-of select =" hacks/@wealth-stress-count" />
35
+ </xsl : when >
36
+ <xsl : otherwise >0</xsl : otherwise >
37
+ </xsl : choose >
38
+ </xsl : variable >
31
39
<html >
32
40
<xsl : call-template name =" head" >
33
41
<xsl : with-param name =" baseCSS" >fcs</xsl : with-param >
85
93
<xsl : with-param name =" useSystemsStress" >
86
94
<xsl : value-of select =" $useSystemsStress" />
87
95
</xsl : with-param >
96
+ <xsl : with-param name =" wealthStressCount" >
97
+ <xsl : value-of select =" $wealthStressCount" />
98
+ </xsl : with-param >
88
99
</xsl : call-template >
89
100
</section >
90
101
<section id =" consequences" >
Original file line number Diff line number Diff line change 6
6
<xsl : param name =" useCreditStress" />
7
7
<xsl : param name =" useSkillModes" />
8
8
<xsl : param name =" useSystemsStress" />
9
+ <xsl : param name =" wealthStressCount" />
9
10
<xsl : variable name =" stressBaseCount" >
10
11
<xsl : choose >
11
12
<xsl : when test =" /character/hacks/@stress-base-count" >
85
86
</xsl : with-param >
86
87
</xsl : call-template >
87
88
</xsl : if >
89
+ <xsl : if test =" $wealthStressCount > 0" >
90
+ <xsl : call-template name =" generic-stress" >
91
+ <xsl : with-param name =" baseCount" >
92
+ <xsl : value-of select =" $wealthStressCount - 1" />
93
+ </xsl : with-param >
94
+ <xsl : with-param name =" headerName" >Wealth Stress</xsl : with-param >
95
+ </xsl : call-template >
96
+ </xsl : if >
88
97
<xsl : if test =" /character/hacks/@corruption='true'" >
89
98
<xsl : call-template name =" corruption-stress" />
90
99
</xsl : if >
You can’t perform that action at this time.
0 commit comments