From: <tir...@us...> - 2008-04-05 13:35:00
|
Revision: 5821 http://pcgen.svn.sourceforge.net/pcgen/?rev=5821&view=rev Author: tir-gwaith Date: 2008-04-05 06:35:04 -0700 (Sat, 05 Apr 2008) Log Message: ----------- [ 1935376 ] New files: Armorprof and Shieldprof Modified Paths: -------------- Trunk/utilities/prettylst/prettylst.pl Modified: Trunk/utilities/prettylst/prettylst.pl =================================================================== --- Trunk/utilities/prettylst/prettylst.pl 2008-04-05 10:48:07 UTC (rev 5820) +++ Trunk/utilities/prettylst/prettylst.pl 2008-04-05 13:35:04 UTC (rev 5821) @@ -109,12 +109,15 @@ 'SPELL' => \&FILETYPE_parse, 'TEMPLATE' => \&FILETYPE_parse, 'WEAPONPROF' => \&FILETYPE_parse, + 'ARMORPROF' => \&FILETYPE_parse, + 'SHIELDPROF' => \&FILETYPE_parse, '#EXTRAFILE' => 1, ); # The file type that will be rewritten. my %writefiletype = ( 'ABILITY' => 1, + 'ABILITYCATEGORY' => 0, # Not sure how we want to do this, so leaving off the list for now. - Tir Gwaith 'BIOSET' => 1, 'CLASS' => 1, 'CLASS Level' => 1, @@ -136,6 +139,8 @@ 'SPELL' => 1, 'TEMPLATE' => 1, 'WEAPONPROF' => 1, + 'ARMORPROF' => 1, + 'SHIELDPROF' => 1, '#EXTRAFILE' => 0, ); @@ -1383,6 +1388,28 @@ ValidateKeep => YES, }, ], + + ARMORPROF => [ + \%SOURCE_file_type_def, + { Linetype => 'ARMORPROF', + RegEx => qr(^([^\t:]+)), + Mode => MAIN, + Format => BLOCK, + Header => BLOCK_HEADER, + ValidateKeep => YES, + }, + ], + + SHIELDPROF => [ + \%SOURCE_file_type_def, + { Linetype => 'SHIELDPROF', + RegEx => qr(^([^\t:]+)), + Mode => MAIN, + Format => BLOCK, + Header => BLOCK_HEADER, + ValidateKeep => YES, + }, + ], ); # The PRExxx tags. They are used in many of the line types. @@ -1759,6 +1786,66 @@ 'UNENCUMBEREDMOVE', ], + 'ARMORPROF' => [ + '000ArmorName', + 'KEY', + 'NAMEISPI', + 'OUTPUTNAME', + 'TYPE', + 'HANDS', + @PRE_Tags, + @SOURCE_Tags, + 'BONUS:ABILITYPOOL:*', + 'BONUS:CASTERLEVEL:*', + 'BONUS:CHECKS:*', + 'BONUS:COMBAT:*', + 'BONUS:DAMAGE:*', + 'BONUS:DEFINE:*', + 'BONUS:DOMAIN:*', + 'BONUS:DC:*', + 'BONUS:DR:*', + 'BONUS:EQM:*', + 'BONUS:EQMARMOR:*', + 'BONUS:EQMWEAPON:*', + 'BONUS:ESIZE:*', + 'BONUS:FEAT:*', + 'BONUS:HD:*', + 'BONUS:HP:*', + 'BONUS:LANGUAGES:*', + 'BONUS:MISC:*', + 'BONUS:MOVEADD:*', + 'BONUS:MOVEMULT:*', + 'BONUS:POSTMOVEADD:*', + 'BONUS:POSTRANGEADD:*', + 'BONUS:PCLEVEL:*', + 'BONUS:RANGEADD:*', + 'BONUS:RANGEMULT:*', + 'BONUS:REPUTATION:*', + 'BONUS:RING:*', + 'BONUS:SCHOOL:*', + 'BONUS:SIZEMOD:*', + 'BONUS:SKILL:*', + 'BONUS:SKILLPOINTS:*', + 'BONUS:SKILLPOOL:*', + 'BONUS:SKILLRANK:*', + 'BONUS:SPELL:*', + 'BONUS:SPELLCAST:*', + 'BONUS:SPELLCASTMULT:*', + 'BONUS:SPELLKNOWN:*', + 'BONUS:VISION:*', + 'BONUS:STAT:*', + 'BONUS:TOHIT:*', + 'BONUS:UDAM:*', + 'BONUS:VAR:*', + 'BONUS:WEAPON:*', + 'BONUS:WEAPONPROF:*', + 'BONUS:WIELDCATEGORY:*', + 'SA:.CLEAR', + 'SA:*', + 'SAB:.CLEAR', + 'SAB:*', + ], + 'BIOSET AGESET' => [ 'AGESET', 'BONUS:STAT:*', @@ -2703,6 +2790,7 @@ 'PUBNAMELONG', 'PUBNAMESHORT', 'PUBNAMEWEB', + 'RANK', 'SETTING', 'TYPE', 'SHOWINMENU', # [ 1718370 ] SHOWINMENU tag missing for PCC files @@ -2722,9 +2810,12 @@ 'BIOSET', 'HIDETYPE', 'COMPANIONLIST', # [ 1672551 ] PCC tag COMPANIONLIST + 'REQSKILL', # These tags load files 'ABILITY', + 'ABILITYCATEGORY', + 'ARMORPROF', 'CLASS', 'CLASSSKILL', 'CLASSSPELL', @@ -2739,12 +2830,10 @@ 'LSTEXCLUDE', 'PCC', 'RACE', - 'RANK', - 'REQSKILL', + 'SHIELDPROF', 'SKILL', 'SPELL', - 'TEMPLATE:.CLEAR', - 'TEMPLATE:*', + 'TEMPLATE', 'WEAPONPROF', '#EXTRAFILE', ], @@ -2865,6 +2954,66 @@ 'KIT', ], + 'SHIELDPROF' => [ + '000ShieldName', + 'KEY', + 'NAMEISPI', + 'OUTPUTNAME', + 'TYPE', + 'HANDS', + @PRE_Tags, + @SOURCE_Tags, + 'BONUS:ABILITYPOOL:*', + 'BONUS:CASTERLEVEL:*', + 'BONUS:CHECKS:*', + 'BONUS:COMBAT:*', + 'BONUS:DAMAGE:*', + 'BONUS:DEFINE:*', + 'BONUS:DOMAIN:*', + 'BONUS:DC:*', + 'BONUS:DR:*', + 'BONUS:EQM:*', + 'BONUS:EQMARMOR:*', + 'BONUS:EQMWEAPON:*', + 'BONUS:ESIZE:*', + 'BONUS:FEAT:*', + 'BONUS:HD:*', + 'BONUS:HP:*', + 'BONUS:LANGUAGES:*', + 'BONUS:MISC:*', + 'BONUS:MOVEADD:*', + 'BONUS:MOVEMULT:*', + 'BONUS:POSTMOVEADD:*', + 'BONUS:POSTRANGEADD:*', + 'BONUS:PCLEVEL:*', + 'BONUS:RANGEADD:*', + 'BONUS:RANGEMULT:*', + 'BONUS:REPUTATION:*', + 'BONUS:RING:*', + 'BONUS:SCHOOL:*', + 'BONUS:SIZEMOD:*', + 'BONUS:SKILL:*', + 'BONUS:SKILLPOINTS:*', + 'BONUS:SKILLPOOL:*', + 'BONUS:SKILLRANK:*', + 'BONUS:SPELL:*', + 'BONUS:SPELLCAST:*', + 'BONUS:SPELLCASTMULT:*', + 'BONUS:SPELLKNOWN:*', + 'BONUS:VISION:*', + 'BONUS:STAT:*', + 'BONUS:TOHIT:*', + 'BONUS:UDAM:*', + 'BONUS:VAR:*', + 'BONUS:WEAPON:*', + 'BONUS:WEAPONPROF:*', + 'BONUS:WIELDCATEGORY:*', + 'SA:.CLEAR', + 'SA:*', + 'SAB:.CLEAR', + 'SAB:*', + ], + 'SKILL' => [ '000SkillName', 'KEY', # [ 1695877 ] KEY tag is global @@ -3522,6 +3671,10 @@ '000AbilityName', ], + 'ARMORPROF' => [ + '000ArmorName', + ], + 'CLASS' => [ '000ClassName', ], @@ -3566,6 +3719,10 @@ '000RaceName', ], + 'SHIELDPROF' => [ + '000ShieldName', + ], + 'SKILL' => [ '000SkillName', ], @@ -3832,6 +3989,8 @@ '000TemplateName' => '# Template Name', '000WeaponName' => '# Weapon Name', + '000ArmorName' => '# Armor Name', + '000ShieldName' => '# Shield Name', 'ACCHECK' => 'AC Penalty Check', 'ACHECK' => 'Skill Penalty Apply', @@ -14734,6 +14893,8 @@ =head2 v1.39 -- -- NOT YET RELEASED +[ 1935376 ] New files: Armorprof and Shieldprof + KIT FUNDS lines in Kit file LANGAUTO:.CLEAR This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |