Varsuuk
March 17th, 2019, 03:23
Is there a place where using this is described? If so, link that so I can read in case it answers all I want to know ;)
But in the event it isn't so I can get ahead of the game:
I am trying to setup an option for my ruleset where you have a choice of default or categories style saving throws. As usual, I looked in 5E and AD&D rulesets for clues.
From Celestian's work of AD&D goodness:
OptionsManager.registerOption2("HouseRule_CRIT_TYPE", false, "option_header_houserule", "option_label_HR_CRIT", "option_entry_cycler",
{ labels = "option_val_hr_crit_maxdmg|option_val_hr_crit_times two|option_val_hr_crit_none", values = "max|timestwo|none", baselabel = "option_val_hr_crit_doubledice", baseval = "doubledice", default = "doubledice" });
So I started by doing
OptionsManager.registerOption2("HR_SAVES", false, "option_header_houserules", "option_label_HR_SAVES",
"option_entry_cycler",
{ labels = "option_val_hr_default|option_val_hr_categories", values = "default|categories",
--> Left off here, wondered what to put here: baselabel = "option_val_hr_crit_doubledice", baseval = "doubledice", default = "doubledice" });
I am confused about baselabel. In the AD&D case it appears to be an option for double-dice, but I do not see that in the option_val labels or values entries preceding baselabel.
default is the baseball of double dice.
Is baselabel options described somewhere? I figure I need to put
default = "default" to select my default (sorry) option which is named "default" ;)
Just lost on integrating my understanding with baselabel and baseval and ASSUME I "got" default at end.
But in the event it isn't so I can get ahead of the game:
I am trying to setup an option for my ruleset where you have a choice of default or categories style saving throws. As usual, I looked in 5E and AD&D rulesets for clues.
From Celestian's work of AD&D goodness:
OptionsManager.registerOption2("HouseRule_CRIT_TYPE", false, "option_header_houserule", "option_label_HR_CRIT", "option_entry_cycler",
{ labels = "option_val_hr_crit_maxdmg|option_val_hr_crit_times two|option_val_hr_crit_none", values = "max|timestwo|none", baselabel = "option_val_hr_crit_doubledice", baseval = "doubledice", default = "doubledice" });
So I started by doing
OptionsManager.registerOption2("HR_SAVES", false, "option_header_houserules", "option_label_HR_SAVES",
"option_entry_cycler",
{ labels = "option_val_hr_default|option_val_hr_categories", values = "default|categories",
--> Left off here, wondered what to put here: baselabel = "option_val_hr_crit_doubledice", baseval = "doubledice", default = "doubledice" });
I am confused about baselabel. In the AD&D case it appears to be an option for double-dice, but I do not see that in the option_val labels or values entries preceding baselabel.
default is the baseball of double dice.
Is baselabel options described somewhere? I figure I need to put
default = "default" to select my default (sorry) option which is named "default" ;)
Just lost on integrating my understanding with baselabel and baseval and ASSUME I "got" default at end.