Hm, ok, I need to change some loops.
My starting idea to mod the ABB in the mpc_stats.lst file like this:
Weisheit SORTKEY:5 ABB:WE KEY:WIS STATMOD:floor(SCORE/2)-5 DEFINE:MAXLEVELSTAT=WIS|WISSCORE-10
so there is the wanted text in ABB.
Now I'd want to have the output loop grab this item. Interestingly the long text "Weisheit" from the above homebrew entry immediately is printed on the pdf without further changes, but the short text everywhere is still "WIS".
Sadly the naming in all files different.
1)
In block_stat_block.xslt I find "<xsl:value-of select="name/short"/>" which I would believe to be the three letters for a stat.
2)
In outputsheets\base.xml.ftl I find the following section
"<long>${pcstring('STAT.${stat}.LONGNAME')}</long>
<short>${pcstring('STAT.${stat}.NAME')}</short>"
I just don't see how and where I would need to change something to connect the code in the output sheet to the ABB tag. Somewhere there must be connection between the stats.lst file entries and the expressions in the xslt and ftl files.
I am happy to ask in some other group if that is the right place.
For outsiders this all is not so easy to understand and editing the resulting pdf is like handwriting with a pencil - not really an option.
Posted by: oe.oe@chefmail.de
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (19) |
No comments:
Post a Comment