Would be nice to get an Error if COMPANIONLIST tags are out order.

Description

Valid COMPANIONLIST:s|t,t,t|u|v

S = TYPE of the Companion List
T = Race Key, RACETYPE, RACESUBTYPE
U = (Optional) FOLLOWERADJUSTMENT
V = PRExxx Tag

V and U can mistakenly get swapped. An error letting the user know this is invalid would be nice. (U must ALWAYS proceed any PRExxx tags if present)

Cheers,

Environment

None

Activity

Show:
James Dempsey
October 6, 2012, 3:09 PM

Existing error if U and V are out of order

08:05:35.687 LSTERROR Thread-7 AbilityLoader:116 Error parsing Prerequisite in COMPANIONLIST: FOLLOWERADJUSTMENT:-3
Can not determine which parser to use for 'FOLLOWERADJUSTMENT:-3'
08:05:35.687 LSTERROR Thread-7 AbilityLoader:116 (Did you put items after the PRExxx tags in COMPANIONLIST:?) (Source: file:/D:/Projects/pcgendev/data/d20ogl/paizo/pathfinder_rpg/core_rulebook/pfcr_feats.lst)
08:05:35.687 LSTERROR Thread-7 AbilityLoader:116 Illegal Token 'COMPANIONLIST' 'Familiar|Familiar (Rat/Dire)|PRECLASS:1,SPELLCASTER.Arcane=3|PREFEAT:1,Improved Familiar|FOLLOWERADJUSTMENT:-3' for pcgen.core.Ability Improved Familiar in file:/D:/Projects/pcgendev/data/d20ogl/paizo/pathfinder_rpg/core_rulebook/pfcr_feats.lst

New error if T and V are out of order

08:05:35.765 LSTERROR Thread-7 AbilityLoader:116 COMPANIONLIST Error: PRERACE:1 found where companion race expected. (Source: file:/D:/Projects/pcgendev/data/d20ogl/paizo/pathfinder_rpg/core_rulebook/pfcr_abilities_class.lst)
08:05:35.766 LSTERROR Thread-7 AbilityLoader:116 Illegal Token 'COMPANIONLIST' 'Animal Companion|PRERACE:1,Human|RACETYPE=Companion' for pcgen.core.Ability Animal Companion in file:/D:/Projects/pcgendev/data/d20ogl/paizo/pathfinder_rpg/core_rulebook/pfcr_abilities_class.lst

Fixed

Assignee

James Dempsey

Reporter

Andrew Maitland

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Fix versions

Affects versions

Priority

Trivial
Configure