|
From: SourceForge.net <no...@so...> - 2009-01-02 05:21:09
|
Output Sheet Feature Requests item #1874811, was opened at 2008-01-18 09:20 Message generated for change (Comment added) made by chuckpint You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=748297&aid=1874811&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Other (default) Group: Unscheduled Status: Open Resolution: None Priority: 5 Private: No Submitted By: William Westwater (artoomis) Assigned to: Martijn Verburg (karianna) Summary: Add indicator for "Skill Mastery" skills on skills list Initial Comment: Please add some sort of indicator for selected skills on which the chracter may "take 10" at any time per the Skill Mastery feat (normally available to Rogues only). I've attached my fantasy_master_std.xslt (from 5.12.1) with changes to implement this - note that I also chnged some font sizes inb the Skill tabel to be able to display more skills on the first page. Here are the changes I made to fantasy_master_std.xslt file (except for font sizes in the skills table): 1. In the top section for defining variables: <!-- ======================================================================================= ======================================================================================= New... Check for Skill Mastery and place associated list of skills in a variable ======================================================================================= =======================================================================================--> <xsl:variable name = "skillmastery"> <xsl:if test="count(/character/feats/feat) > 0"> <xsl:for-each select="/character/feats/feat[substring(name,1,13)='Skill Mastery']"> <xsl:value-of select="associated"/> </xsl:for-each> </xsl:if> </xsl:variable> <!-- ======================================================================================= ======================================================================================= End of Check for Skill Mastery and place associated list of skills in a variable ======================================================================================= =======================================================================================--> 2. In the Skills Table I replaced <xsl:value-of select="skill_mod"/> with <!-- ================================================ ================================================ Add a "*" if Skill Mastery applied to this skill ================================================ ================================================--> <xsl:choose> <xsl:when test="contains($skillmastery,name)"> <xsl:value-of select="concat(skill_mod,'*')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="skill_mod"/> </xsl:otherwise> </xsl:choose> <!-- ================================================ ================================================ Add a "*" if Skill Mastery applied to this skill ================================================ ================================================--> and also <!-- ============================================= ============================================= Added "*Skill Mastery to Skills footnotes ============================================= =============================================--> <fo:inline font-family="ZapfDingbats">✗</fo:inline>: exclusive skills *Skill Mastery <!-- ============================================= ============================================= End Added "*Skill Mastery to Skills footnotes ============================================= =============================================--> ---------------------------------------------------------------------- >Comment By: Chuck Pint (chuckpint) Date: 2009-01-01 23:21 Message: PDF std sheets updated. ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2008-12-16 10:59 Message: Right, after much %$^ing about with the OS tokens and Javascript I've managed to get this working on combined fantasy HTML. I'll slowly start applying it to the other relevant sheets (and perhaps the preview sheets as well). ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2008-12-16 08:38 Message: Oh, interestingly in the HTML sheets Skill Mastery is reported as a Special Quality ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2008-12-16 08:27 Message: If you're happy to that would be cool! For the record I tried: <xsl:variable name="skillmastery"> <xsl:if test="count(/character/special_abilities/ability) > 0"> <xsl:for-each select="/character/special_abilities/ability[substring(name,1,13)='Skill Mastery']"> <xsl:value-of select="associated"/> </xsl:for-each> </xsl:if> </xsl:variable> As the extra variable. I'll try get the HTML versions going, if so then I'll assign this to you :) ---------------------------------------------------------------------- Comment By: Chuck Pint (chuckpint) Date: 2008-12-16 08:09 Message: I'm working on getting PDF output with Special Abilities. Why don't I see if I can roll this into the same work? ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2008-12-16 07:46 Message: I've started work on this but unfortunately Skill Mastery is no longer a Feat, but a Special Ability. I'm having trouble getting base.xml/the xslt file to recognize and print Special Abilities ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=748297&aid=1874811&group_id=25576 |