From: JIRA (f. T. P. ) <ji...@pc...> - 2011-12-14 00:07:07
|
[ http://jira.pcgen.org/browse/NEWTAG-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895#action_12895 ] Tom Parker commented on NEWTAG-15: ---------------------------------- I think the reason this wasn't done previously was that AUTO: doesn't support .CLEAR, and LANGAUTO does. The problem being that there can be multiple AUTO: tags, and thus we end up with having to implement AUTO:LANG|.CLEAR ... which is more complicated than just a simple token swap (and clears come with consequences to the loading system...). It also becomes a problem because LANGUAGE: became AUTO:LANG, so on the off chance of something having both LANGUAGE: and LANGAUTO: .... we end up with a .CLEAR changing something that it didn't change previously. Yes, the syntax (%LIST and the like) is intentional, and some of it is already implemented.... it was done to support the ability to select a LANGUAGE in a CHOOSE and then grant the language to the character (done as part of converting LANGUAGE) IMHO, This FREQ should not include PRExxx support - it is designed to do the conversion from LANGAUTO (Which will have its own set of issues per above) and the PRExxx thing can be added later (could be a separate NEWTAG item if required). I'm happy to be overridden on this if Devon is up for doing the PRExxx work as well. Note that the intended (future) PRExxx format is a trailing pipe: AUTO:BLAH|<name>|PRExxx:Foo,1 ^^^ this is supported on AUTO:FEAT, while AUTO:*PROF uses the old brackets... again another FREQ to be done (we should check if those are in the NEWTAG queue) The PRExxx behavior tags on AUTO: is not universal, just as a note. As Andrew says, !TYPE=Latin would return all items that are not TYPE=Latin... That !TYPE= syntax is supported just about everywhere TYPE= is supported, even though it is rarely used. > Deprecate LANGAUTO in favor of AUTO:LANG > ---------------------------------------- > > Key: NEWTAG-15 > URL: http://jira.pcgen.org/browse/NEWTAG-15 > Project: New Tag > Issue Type: Modify Token > Components: LST Tag > Affects Versions: 5.17.1, 5.17.2 > Reporter: Tom Parker > Assignee: Devon Jones > > AUTO:LANG|x|x > Variables Used (x): Text (Language Name) > Variables Used (x): TYPE=Y.Y (Languages of type Y, dot delimited, more than one optional) > Variables Used (x): !TYPE=Y.Y (Languages not of type Y, dot delimited, more than one optional) > Variables Used (x): ALL (All Languages) > Variables Used (x): %LIST (result of CHOOSE) > What it does: > * This is a pipe-delimited (|) list of languages by name or type, that are granted as free languages > * When including the TYPE= sub-tag you may use a period-delimited (.) list of language types. This will grant the character languages of all of the listed language types. > Examples: > AUTO:LANG|Common > Common is given as a free language > AUTO:LANG|TYPE=Latin > Latin-type Languages are given as free languages -- 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 |