OPTION in pcc files no longer working.

Description

I'm noticing that OPTION is no longer functioning in my homebrew sets that I decided to make a character in.

AS an example:
OPTIONcgen.options.showHPDialogAtLevelUp=false

Environment

None

Activity

Show:
Andrew Maitland
October 19, 2012, 6:50 PM

From my initial testing, it would appear the options aren't being used. I am using the correct preference setting to allow it as well.

I'll have to hammer down to test each option.

James Dempsey
October 20, 2012, 3:36 AM

Confirmed not to be working

James Dempsey
October 20, 2012, 6:53 AM

OPTIONS support reinstated and some existing preferences standardised to start with pcgen.options. to work with the OPTIONS tag.

I've also updated the tag docs. Hope that's ok Eric.

Andrew Maitland
October 20, 2012, 8:25 AM

What it does:
Specifies an option which should be set when the campaign is loaded. The format is the same as in the options.ini or legacy.ini files. For options from legacy.ini only the pcgen.options lines may be used and they need to have the pcgen.options. part removed from their key when provided here.
The user can stop these options from being set by unselecting the PCGen -> Sources -> Allow options to be set by sources setting in the Preferences dialog.

Examples:
OPTION:hpMaxAtFirstLevel=true
Set the pcgen.options.hpMaxAtFirstLevel preference stored in legacy.ini to true.
OPTION:gameMode.Pathfinder_RPG.purchaseMethodName=Epic Fantasy
Set the selected stats purchase mode (stored in options.ini) for the Pathfinder_RPG game mode to "Epic Fantasy".
OPTIONcgen.options.autoResizeEquip=true
Set the auto resize equipment for PC option (stored in options.ini) to true.

Should we be stripping all the 'pcgen.options' out, or only the LEGACY.INI file ones?

James Dempsey
October 20, 2012, 3:12 PM

Only the legacy.ini ones.For backwards compatibility I have supported stripping 'pcgen.options' out for options,ini entries but it is not necessary and I don't think we need to advertise it.

Fixed

Assignee

James Dempsey

Reporter

Andrew Maitland

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Fix versions

Affects versions

Priority

Minor
Configure