Loading ...
Sorry, an error occurred while loading the content.

Re: [pcgen] Re: New to PCGen, which Output sheet to use?

Expand Messages
  • Kent P
    On 12/1/06, David M. Bebber wrote ... The notes actually say that the character is a deliberate mess, to illustrate some of the sheet s capabilities. Kent
    Message 1 of 9 , Dec 1, 2006
    • 0 Attachment
      On 12/1/06, David M. Bebber wrote
      > Egads.... I feel sorry for this character.

      > No offence intended :)

      The notes actually say that the character is a deliberate mess, to
      illustrate some of the sheet's capabilities.

      Kent
    • Bradley Bristow-Stagg
      ... I am actually converting this sheet, (with some small success I might add) as well and am stuck on the DFOR I m using for the Equipment List. The problem
      Message 2 of 9 , Dec 12, 2006
      • 0 Attachment
        --- In pcgen@yahoogroups.com, "astrocat01" <astrocat@...> wrote:
        >
        > Here is a preview of Art's sheet:
        >
        > http://www.users.qwest.net/~aturban/eTools/Preview.html
        >
        > I am trying to edit the current sheet to look something like Art's
        > but it's tough. I got a few simple things going, like bigger fonts
        > here and there and moving some minor text around.

        I am actually converting this sheet, (with some small success I might
        add) as well and am stuck on the DFOR
        I'm using for the Equipment List. The problem being, how does one
        enclose an OIF statment inside the DFOR
        E.G.:
        |DFOR.0,(COUNT[EQUIPMENT]+1)/2,1,COUNT[EQUIPMENT], (COUNT[EQUIPMENT]+1)/2,
        <td align="center" style="border-bottom: 1px solid black"
        class="v7"><span class="symbol8">y</span></td>
        <td style="border-bottom: 1px solid black"
        class="v7">\EQ.%.NAME.MAGIC\</td>
        <td align="center" style="border-bottom: 1px solid black"
        class="v7">\EQ.%.COST\</td>
        <td align="center" style="border-bottom: 1px solid black"
        class="v7">\EQ.%.QTY\</td>
        <td align="center" style="border-bottom: 1px solid black;
        border-right: 1px solid black" class="v7">\EQ.%.WT\</td>
        ,\OIF(EVEN:%,<tr bgcolor="#DDDDDD">,<tr bgcolor="white">)\ ,</tr>,0|

        This of course has to be all on the one line else it doesn't seem to
        work. The OIF is so that every even row is highlighted to make
        reading slightly easier as per the original.

        Alternately I'd use a FOR loop as below:
        |FOR,%eq,0,((COUNT[EQUIPMENT])/2)-1,1,0|
        |OIF(EVEN:%eq,<tr bgcolor="#DDDDDD">,<tr bgcolor="white">)|
        <td align="center" style="border-bottom: 1px solid black"
        class="v7"><span class="symbol8">y</span></td>
        <td style="border-bottom: 1px solid black"
        class="v7">|EQ.%eq.NAME.MAGIC|</td>
        <td align="center" style="border-bottom: 1px solid black"
        class="v7">|EQ.%eq.COST|</td>
        <td align="center" style="border-bottom: 1px solid black"
        class="v7">|EQ.%eq.QTY|</td>
        <td align="center" style="border-bottom: 1px solid black;
        border-right: 1px solid black" class="v7">|EQ.%eq.WT|</td>

        <td align="center" style="border-bottom: 1px solid black"
        class="v7"><span class="symbol8">y</span></td>
        <td style="border-bottom: 1px solid black"
        class="v7">|EQ.((%eq+7).INTVAL).NAME.MAGIC|</td>
        <td align="right" style="border-bottom: 1px solid black"
        class="v7">|EQ.((%eq+7).INTVAL).COST|</td>
        <td align="center" style="border-bottom: 1px solid black"
        class="v7">|EQ.((%eq+7).INTVAL).QTY|</td>
        <td align="center" style="border-bottom: 1px solid black;
        border-right: 1px solid black" class="v7">|EQ.((%eq+7).INTVAL).WT|</td>
        </TR>
        |ENDFOR|

        But this requires that we can establish %eq+(COUNT[EQUIPMENT]/2) in
        order to work. (I've fudged this for my working character hence the +7)


        Also how does one test if TOTAL.WEIGHT is > WEIGHT.LIGHT/MEDIUM/HEAVY ??

        Suggestions?
      Your message has been successfully submitted and would be delivered to recipients shortly.