Friday, June 15, 2018

Re: [pcgen] PCGen v.6.07.08 - Classes

 

Ok, so what exactly are you trying to accomplish? Grant a class feature because they took a feat? Remove the PREMULT tag that has been inserted for no apparent reason (You are basing this on 2+ different viable options) and make it based upon an actual feat...

Do this:

1 <> ABILITY:Ninja Class Feature|AUTOMATIC|Ninja ~ Martial Arts Style|PREABILITY:1,CATEGORY=FEAT,TYPE.Martial Arts

CHOOSE is for choosing things. PRExxx is for requiring things. CHOOSE should never be used directly in a PRExxx.

Also, coding help should happen on either the LST Help group or the PCGen forum of the same name.

Cheers,
Andrew


On 6/15/2018 12:01 PM, BirkholzS@Bigfoot.com [pcgen] wrote:
Got a new question I am tackling.  Basically, I am creating a Ninja Class and have pretty much everything working.  I have created some Martial Arts styles and sub-styles and they are selectable within the FEATS as I want them to be.

However, I would also like to have the Ninja character have one of the Martial Arts styles automatically known at the time of character creation based on the fact that he has been training with a master before earning the title of Ninja.  The problem is I am getting some errors thrown in the pcgen.log file and am having difficulty trying to figure them out.  The PCGEN documentation seems to say I can't do what I want to do.  Here is what I have done within my Class.lst file.

1 ABILITY:Ninja Class Feature|AUTOMATIC|Ninja ~ Martial Arts Style|PREMULT:1,[CHOOSE:ABILITY|FEAT|TYPE=Martial Arts%]

Here are the errors I am getting.

14:45:26.472 LSTERROR Thread-12 PCClassLoader:311 Error parsing Prerequisite in ABILITY: PREMULT:1,[CHOOSE:ABILITY
  Can not parse 'PREMULT:1,[CHOOSE:ABILITY': Unbalanced [] in PREMULT '[CHOOSE:ABILITY'.
14:45:26.472 LSTERROR Thread-12 PCClassLoader:311    (Did you put feats after the PRExxx tags in ABILITY:?) (Source: file:/C:/Dungeons%20and%20Dragons/PCGen/pcgen-6.07.08/data/35e/homebrew/birkholz/birkholz_classes1.lst )
14:45:26.472 LSTERROR Thread-12 PCClassLoader:311 Failed in parsing typeStr: ABILITY Ninja Class Feature|AUTOMATIC|Ninja ~ Martial Arts Style|PREMULT:1,[CHOOSE:ABILITY|FEAT|TYPE=Martial Arts%] for pcgen.cdom.inst.PCClassLevel Ninja(1)
14:45:26.473 LSTERROR Thread-12 PCClassLoader:311 Illegal Token 'ABILITY' 'Ninja Class Feature|AUTOMATIC|Ninja ~ Martial Arts Style|PREMULT:1,[CHOOSE:ABILITY|FEAT|TYPE=Martial Arts%]' for pcgen.cdom.inst.PCClassLevel Ninja(1) in file:/C:/Dungeons%20and%20Dragons/PCGen/pcgen-6.07.08/data/35e/homebrew/birkholz/birkholz_classes1.lst

The errors seem to say it is not able to parse the list of Martial Arts FEATS that have already been predefined.  I tried to replace FEATS with SKILL and got the same type of errors.



__._,_.___

Posted by: Andrew Maitland <drew0500@yahoo.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

PCGen&#39;s Mailing Lists and Links: http://wiki.pcgen.org/Mailing_Lists_and_PCGen_Links

.

__,_._,___

No comments:

Post a Comment