[ http://jira.pcgen.org/browse/NEWTAG-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Dempsey updated NEWTAG-246:
---------------------------------
Description:
After reviewing the proposals NEWTAG-90 and NEWTAG-91, it would seem prudent to add more functionality to keep the list of vars returned manageable and prevent accidental bonusing and really drive the Help Desk monkeys crazy.
Today - 'DEFINE:Blah|0' is the standard, but perhaps 'DEFINE:VARLIST=x|Blah|0' might be a better idea. It would mean redefining several vars, but it would prevent the wrong vars from getting touched, things that would throw many variable numbers we rely on being precise out of whack. Since I know it will happen, we should include the ability to define multiple lists, I think period separated is acceptable in this instance?
I like VARLIST but VARTYPE is also acceptable to me. I'll use VARLIST in the following examples for now.
DEFINE:VARLIST=x.x|y|z
x = Text (Defines the LIST/TYPE this Var belongs to)
z = Text (Defines the Variable Name)
z = numerical or formula (Defines the starting Variable Number or Formula)
Example:
DEFINE:VARLIST=AbilityDC|BigBadMonsterDC|0
Sets the BigBadMonster DC to 0 and assigns it to the 'AbilityDC' list
DEFINE:VARLIST=AbilityDC.MonsterAbilityDC|SecondBigBadMonsterDC|0
Sets the SecondBigBadMonster DC to 0, and assigns it to the 'AbilityDC' and 'MonsterAbilityDC' lists.
Usage for the New Choose Proposal would:
CHOOSE:VARIABLE|VARLIST=AbilityDC
Would return any Variable listed as 'AbilityDC'
BONUS:VAR|%LIST|2
Would add 2 to the Chosen Variable Name.
NOTE: Backwards compatibility would be maintained as 'VARLIST=' is an optional tag.
was:
After reviewing the proposals NEWTAG-90 and NEWTAG 91, it would seem prudent to add more functionality to keep the list of vars returned manageable and prevent accidental bonusing and really drive the Help Desk monkeys crazy.
Today - 'DEFINE:Blah|0' is the standard, but perhaps 'DEFINE:VARLIST=x|Blah|0' might be a better idea. It would mean redefining several vars, but it would prevent the wrong vars from getting touched, things that would throw many variable numbers we rely on being precise out of whack. Since I know it will happen, we should include the ability to define multiple lists, I think period separated is acceptable in this instance?
I like VARLIST but VARTYPE is also acceptable to me. I'll use VARLIST in the following examples for now.
DEFINE:VARLIST=x.x|y|z
x = Text (Defines the LIST/TYPE this Var belongs to)
z = Text (Defines the Variable Name)
z = numerical or formula (Defines the starting Variable Number or Formula)
Example:
DEFINE:VARLIST=AbilityDC|BigBadMonsterDC|0
Sets the BigBadMonster DC to 0 and assigns it to the 'AbilityDC' list
DEFINE:VARLIST=AbilityDC.MonsterAbilityDC|SecondBigBadMonsterDC|0
Sets the SecondBigBadMonster DC to 0, and assigns it to the 'AbilityDC' and 'MonsterAbilityDC' lists.
Usage for the New Choose Proposal would:
CHOOSE:VARIABLE|VARLIST=AbilityDC
Would return any Variable listed as 'AbilityDC'
BONUS:VAR|%LIST|2
Would add 2 to the Chosen Variable Name.
NOTE: Backwards compatibility would be maintained as 'VARLIST=' is an optional tag.
> DEFINE - Add 'VARLIST=' or 'VARTYPE'
> -------------------------------------
>
> Key: NEWTAG-246
> URL: http://jira.pcgen.org/browse/NEWTAG-246
> Project: New Tag
> Issue Type: Modify Token
> Components: LST Tag
> Reporter: Andrew Maitland
>
> After reviewing the proposals NEWTAG-90 and NEWTAG-91, it would seem prudent to add more functionality to keep the list of vars returned manageable and prevent accidental bonusing and really drive the Help Desk monkeys crazy.
> Today - 'DEFINE:Blah|0' is the standard, but perhaps 'DEFINE:VARLIST=x|Blah|0' might be a better idea. It would mean redefining several vars, but it would prevent the wrong vars from getting touched, things that would throw many variable numbers we rely on being precise out of whack. Since I know it will happen, we should include the ability to define multiple lists, I think period separated is acceptable in this instance?
> I like VARLIST but VARTYPE is also acceptable to me. I'll use VARLIST in the following examples for now.
> DEFINE:VARLIST=x.x|y|z
> x = Text (Defines the LIST/TYPE this Var belongs to)
> z = Text (Defines the Variable Name)
> z = numerical or formula (Defines the starting Variable Number or Formula)
> Example:
> DEFINE:VARLIST=AbilityDC|BigBadMonsterDC|0
> Sets the BigBadMonster DC to 0 and assigns it to the 'AbilityDC' list
> DEFINE:VARLIST=AbilityDC.MonsterAbilityDC|SecondBigBadMonsterDC|0
> Sets the SecondBigBadMonster DC to 0, and assigns it to the 'AbilityDC' and 'MonsterAbilityDC' lists.
> Usage for the New Choose Proposal would:
> CHOOSE:VARIABLE|VARLIST=AbilityDC
> Would return any Variable listed as 'AbilityDC'
> BONUS:VAR|%LIST|2
> Would add 2 to the Chosen Variable Name.
> NOTE: Backwards compatibility would be maintained as 'VARLIST=' is an optional tag.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.pcgen.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|