Further Notes on CMP to RSRD Migration, part2
This really is just a cut and paste from a scratch file I used whilst converting data Some of this (most?) is possibly done by PrettyLst (I wasnt using the right options initially!)
Several of these commands are search and replace regex expressions for VIM (my editor of choice), the concept should be clear though as to the intent, and updating to your editor of choice. I copy the line from the scratch file, and in vim, press ':' to enter command mode, and then just paste and hit return.
replace % with %% in descriptions
Contents
=========================
spells file changed all to .mod other than specific few (20 odd non-srd spells) note - we only really want the descriptions, not the mechanics..
=========================
feats file changed all to .mod note - we only really want the descriptions, not the mechanics.. ExtraTurning - CHOOSE: nochoice Typo???!!! Type=ExtraTurnig.STACK ??? - updated to match pcgen srd original CHOOSE:Exotic :- CHOOSE:PROFICIENCY|WEAPON|UNIQUE|TYPE=Exotic CHOOSE:Blah|1 := CHOOSE:Blah PRELEVEL:x := PRELEVEL:MIN=x PREVARLT:CL=Shaaryan Hunter,6 := PRECLASSLEVELMAX:1,Shaaryan Hunter=5 PREVARGTEQ:CL=Shaaryan Hunter,6 := PRECLASS:1,Shaaryan Hunter=6
AUTO.SHIELDPROF|TYPE := AUTO.SHIELDPROF|SHIELDTYPE CHOOSE:Martial := CHOOSE:PROFICIENCY|WEAPON|UNIQUE|TYPE=Martial CHOOSE:SKILLSNAMED|blah|1 :- CHOOSE:SKILLSNAMED|blah
feats_hidden file ADD:FEAT(blah)|x :- ADD:FEAT|x|blah SPELL:Blah|x|Innate := SPELLS:Innate|TIMES=x|Blah SPELLS:Innate|CASTERLEVEL=max(classlevel("Mage"),1)|Blah CHOOSE:NUMCHOICES=x| := CHOOSE:x|
TODO Favoured Enemy / Favoured Bonus - all disabled, seems style is quite different
Rogue Bonus - CHOOSE:SKILLS|3+INT := SELECT:3+INT CHOOSE:SKILLS
=========================
skills file changed all to .mod note - we only really want the descriptions, not the mechanics.. PREMOVE:Blah := PREMOVE:1,Blah CHOOSE:Language(Spoken) :- CHOOSE:LANGUAGE|Spoken
SA: := SAB: AUTO.ARMORPROF|TYPE := AUTO.ARMORPROF|ARMORTYPE
=========================
updates to dieties file Tag Name: PREALIGN:x,x Variables Used (x):LG,LN,LE,NG,TN,NE,CG,CN,CE,Deity (Alignment abbreviation). Variables Used (x):0,1,2,3,4,5,6,7,8,10 (Alignment array number). LG,LN,LE,NG,TN,NE,CG,CN,CE, Deity
0, 1, 2, 3, 4, 5, 6, 7, 8, 10
%s/ [ ]*FOLLOWERALIGN:147/|PREALIGN:LN,TN,CN / %s/ [ ]*FOLLOWERALIGN:13457/|PREALIGN:LN,NG,TN,NE,CN / %s/ [ ]*FOLLOWERALIGN:258/|PREALIGN:LE,NE,CE / %s/ [ ]*FOLLOWERALIGN:012/|PREALIGN:LG,LN,LE / %s/ [ ]*FOLLOWERALIGN:125/|PREALIGN:LN,LE,NE / %s/ [ ]*FOLLOWERALIGN:036/|PREALIGN:LG,NG,CG / %s/ [ ]*FOLLOWERALIGN:013/|PREALIGN:LG,LN,NG / %s/ [ ]*FOLLOWERALIGN:578 /|PREALIGN:NE,CN,CE / %s/ [ ]*FOLLOWERALIGN:678 /|PREALIGN:CG,CN,CE / %s/ [ ]*FOLLOWERALIGN:367 /|PREALIGN:NG,CG,CN / %s/ [ ]*FOLLOWERALIGN:012345678 /|PREALIGN:LG,LN,LE,NG,TN,NE,CG,CN,CE / %s/ [ ]*FOLLOWERALIGN:013467 /|PREALIGN:LG,LN,NG,TN,CG,CN / %s/ [ ]*FOLLOWERALIGN:012345 /|PREALIGN:LG,LN,LE,NG,TN,NE / %s/ [ ]*FOLLOWERALIGN:3467 /|PREALIGN:NG,TN,CG,CN / %s/ [ ]*FOLLOWERALIGN:345678 /|PREALIGN:NG,TN,NE,CG,CN,CE / %s/ [ ]*FOLLOWERALIGN:0123457 /|PREALIGN:LG,LN,LE,NG,TN,NE,CN / %s/ [ ]*FOLLOWERALIGN:01236 /|PREALIGN:LG,LN,LE,NG,CG / %s/ [ ]*FOLLOWERALIGN:2458 /|PREALIGN:LE,TN,NE,CE / %s/ [ ]*FOLLOWERALIGN:0346 /|PREALIGN:LG,NG,TN,CG / %s/ [ ]*FOLLOWERALIGN:4678 /|PREALIGN:TN,CG,CN,CE /
PREVARxx| becomes PREVARxx:Var,Value
%s/|PREDEFAULTMONSTER:Y//g %s/MFEAT/FEAT/g
- note - need BOTH of the following, first one splits, second one cleans
%s/HITDICE:[0-9]*,/HD:,&HITDICE:\tHITDIE:/ %s/,HITDICE://g
or just remove it completely... %s/HITDICE:[0-9]*,[0-9]*//g
>>>No Longer using HITDICE, please remove and just use MONSTERCLASS
=========================
SPELL: becomes SPELLS:Innate|TIMES=x|CASTERLEVEL=x|SpellName1,DC|SpellName2,DC
=========================
Typically replace 'Heavy blah' with 'blah (Heavy)' etc.
=========================
NOTE D:\utils\PCGen\PCGen5164\data\d20ogl\srd35\basics\rsrd_equipmods_enhancing.lst NOTE D:\utils\PCGen\PCGen5164\data\d20ogl\srd35\basics\rsrd_equipmods_base.lst
%s/Willpower/Will/g %s/ARMR_MWORK/MWORKA/g %s/ARMR_PLUS_2/PLUS2A/g %s/ARMR_STEEL/STEEL/g %s/ARMR_PLUS_3/PLUS3W/g %s/ARMR_PLUS_1/PLUS1W/g %s/SHLD_MWORK/MWORKS/g %s/SHLD_STEEL/STEEL/g %s/SHLD_WOOD/WOOD/g %s/SHLD_PLUS_1/PLUS1S/g %s/SHLD_PLUS_2/PLUS2S/g %s/WEAP_PLUS_1/PLUS1W/g %s/WEAP_PLUS_2/PLUS2W/g %s/WEAP_PLUS_3/PLUS3W/g %s/WEAP_PLUS_4/PLUS4W/g %s/WEAP_PLUS_5/PLUS5W/g %s/WEAP_STEEL/STEEL/g
%s/WEAP_MWORK/MWORKW/g
=========================
FRCS/ue_feats.lst - Ice Troll Berserker should modify the rage special ability for natural armor...