From: SourceForge.net <no...@so...> - 2010-05-24 09:11:37
|
Feature Requests item #1291071, was opened at 2005-09-14 15:51 Message generated for change (Comment added) made by karianna You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384722&aid=1291071&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tag modification Group: Unscheduled Status: Open Resolution: None Priority: 2 Private: No Submitted By: Eddy Anthony (eddyanthony) Assigned to: Nobody/Anonymous (nobody) Summary: Add .CLEAR function to AUTO tags Initial Comment: How difficult would it be to add .CLEAR functions to the AUTO tags? Specifically: AUTO:EQUIP AUTO:ARMORPROF AUTO:SHIELDPROF and AUTO:WEAPONPROF These currently cannot be cleared and being able to do so would make implementing the Weapon Groups proficiency variant rule from Unearthed Arcana easier. ---------------------------------------------------------------------- >Comment By: Martijn Verburg (karianna) Date: 2010-05-24 10:11 Message: Now NEWTAG-34 in new JIRA system ---------------------------------------------------------------------- Comment By: Tom Parker (thpr) Date: 2008-07-30 21:41 Message: Logged In: YES user_id=1037926 Originator: NO simple syntax item, but we should still do the spec just in case ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2006-08-28 12:51 Message: Logged In: YES user_id=252169 OK, here's my limited knowledge of this all... There's the plugin.lsttokens.AutoLst class which reads in a AUTO token: public boolean parse(PObject obj, String value, int anInt) { obj.addAutoArray(value); return true; } The addAutoArray(value) in PObject, doesn't seem to deal with subtokens? I can't see where/how it deals with sub tokens like EQUIP and ARMORPROF etc mentioned above. I assume I'm looking in totally the worng place... James, might need your help on this one - K ---------------------------------------------------------------------- Comment By: Devon Jones (soulcatcher) Date: 2006-01-12 03:14 Message: Logged In: YES user_id=107647 when you get back, can you explain what you mean? sorry, I know I've been kind of off in the weeds for a few months, but I'm ready to get this stuff movign again. I suspect the answer is this: AUTO is kind of special, and most Tokens do *not* have this level of sub parsing. ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2005-10-05 16:01 Message: Logged In: YES user_id=252169 Actually Devon, the AutoLst.parse() method simply adds the passed in value to the appropriate list, without seeming to do any parsing of _any_ subtokens Is that level of sub token parsing done previously to the call to AutoLst.parse()? I'm assuming this is 'common' with all calls to the new token classes. K ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2005-10-05 15:42 Message: Logged In: YES user_id=252169 Right, I've spotted a method that will do the clearing for us. I just need to carefully integrate it (as AUTO has recently been moved to its own plug-in). Hopefully will have this done tomorrow. K ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2005-09-14 16:16 Message: Logged In: YES user_id=252169 As agreed I'll see if I can do this - K ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384722&aid=1291071&group_id=25576 |