Difference between revisions of "LST Editor Verification"

From PCGen Wiki
Jump to: navigation, search
(Language Editor)
(Add feat editor, formatting fixes)
Line 70: Line 70:
 
# Advanced: BONUS:COMBAT|INITIATIVE|6 and PREFEAT:1,Improved Initiative
 
# Advanced: BONUS:COMBAT|INITIATIVE|6 and PREFEAT:1,Improved Initiative
  
Verify: All as input, debug output as follows:
+
Verify:  
 +
* All as input,  
 +
* Debug output as follows: [http://jira.pcgen.org/browse/CODE-141 CODE-141]
 +
<pre>
 
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'AUTO:WEAPONPROF' '' for pcgen.core.Ability Greater Improved Initiative
 
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'AUTO:WEAPONPROF' '' for pcgen.core.Ability Greater Improved Initiative
 +
</pre>
  
 
Created a fighter, gave them feat Improved Initiative and fighter feat Greater Improved Init. Bonuses as expected (+10)
 
Created a fighter, gave them feat Improved Initiative and fighter feat Greater Improved Init. Bonuses as expected (+10)
Line 83: Line 87:
 
Verify: All as input, no debug output
 
Verify: All as input, no debug output
 
Not available as a bonus language for an Elven fighter. Available as a Linguistics skill choice.
 
Not available as a bonus language for an Elven fighter. Available as a Linguistics skill choice.
 +
 +
==Race Editor==
 +
Create a new race Klingon by copying Dwarf. Race gets a bonus +1 to melee damage as well as bonuses to STR and CHA but penalty to WIS
 +
# Click on Race, select Dwarf and click Copy
 +
# Base: Race Name: Klingon; Display Name: Klingon
 +
# Templates: Remove Dwarf
 +
# Advanced: BONUS:STAT|WIS|-2 ; BONUS:STAT|CON,CHA|2 ; BONUS:COMBAT|DAMAGE.Melee|1
 +
 +
Verify:
 +
* All as input,
 +
* Debug output as follows: [http://jira.pcgen.org/browse/CODE-142 CODE-142]
 +
<pre>
 +
LSTERROR pcgen.rules.context.LoadContext HITDICEADVANCEMENT may not have empty argument
 +
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'HITDICEADVANCEMENT' '' for pcgen.core.Race Klingon
 +
SEVERE plugin.lsttokens.race.MonsterclassToken Number of levels in MONSTERCLASS must be greater than zero: (None):0
 +
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'MONSTERCLASS' '(None):0' for pcgen.core.Race Klingon
 +
LSTERROR pcgen.rules.context.LoadContext FAVCLASS may not have empty argument
 +
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'FAVCLASS' '' for pcgen.core.Race Klingon
 +
LSTERROR pcgen.rules.context.LoadContext LANGAUTO may not have empty argument
 +
LSTERROR pcgen.rules.context.LoadContext Failed in parsing subtoken: LANGAUTO of
 +
LSTERROR pcgen.rules.context.LoadContext Illegal CHOOSE subtoken 'LANGAUTO' '' for Klingon
 +
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'CHOOSE' 'LANGAUTO|' for pcgen.core.Race Klingon
 +
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'AUTO:WEAPONPROF' '' for pcgen.core.Race Klingon
 +
LSTERROR pcgen.rules.context.LoadContext LANGBONUS may not have empty argument
 +
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'LANGBONUS' '' for pcgen.core.Race Klingon
 +
 +
SEVERE pcgen.rules.context.LoadContext !!XTRASKILLPTSPERLVL must be an integer > 0
 +
</pre>
 +
 +
Created character with race Klingon, bonuses to stats and damage as expected.

Revision as of 09:24, 29 June 2010

Introduction

This is a test run on the current (5.16.2) LST editors to identify what paths are safe and the bugs that need to be fixed.

Environment: Windows XP, Java 1.6, PCGen 5.16.2, Pathfinder RPF Gamemode (data release 6)

Class Editor

Create a copy of a spellcasting class. Ensure skills, spells, HD, saves are all picked up and that abilities can be assigned

  1. Click Spells, select Bard and click Copy
  2. Base:
    • Class Name, Display Name: Editor Test – Class
    • ABB: Etc
    • Starting Skill Points : 7
    • Types: Base, PC
  3. Abilities: Spell List: 1|Bard
  4. Levels: Checks – Good reflex, Fort, Avg Will
  5. Skills: Remove Stealth, add Fly
  6. Advanced: ADD: ABILITY|2|FEAT|NORMAL|Alertness

Verify:

  • Add tag was not displayed in advanced tab so added it again.
  • Errors in console: CODE-139
LSTERROR pcgen.rules.context.LoadContext EXCHANGELEVEL may not have empty argument
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'EXCHANGELEVEL' '' for pcgen.core.PCClass Editor Test – Class
LSTERROR pcgen.rules.context.LoadContext EXCLASS may not have empty argument
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'EXCLASS' '' for pcgen.core.PCClass Editor Test – Class
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'AUTO:WEAPONPROF' '' for pcgen.core.PCClass Editor Test – Class
LSTERROR pcgen.rules.context.LoadContext LANGBONUS may not have empty argument
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'LANGBONUS' '' for pcgen.core.PCClass Editor Test - Class
  • Created character of the class.
  • ADD chooser fired 3 times, once with a choice of alertness, twice as no choices. Feat was added. CODE-138
  • Spells, skills all fine

Deity Editor

Create a new deity with associated alignment, domains and favored weapons.

  1. Click on deity, click on new
  2. Base:
    • Name: Ptolemy
    • Holy Item: Almanac
    • Align: NG
    • Weapon: Sword (Short)
    • Source: p109
  3. Domains: Earth, Knowledge, Sun, Travel

Verify: All as input, no debug output

Created a cleric of Ptolemy, could be selected as expected and domains appeared correctly.

Domain Editor

Create a new domain truth and assign spells to each level

  1. Click on Domain, click on new
  2. Base: Domain Name: Truth; Source: p15; Product Identity: yes
  3. Spells: In order: Detect Chaos, Discern Lies, Zone of Truth, Tongues, Touch of Fatigue, Tiny Hut, Touch of Idiocy, Transformation, Time Stop
  4. Save

Verify: Spells lost CODE-140

Feat Editor

Copy the Improved Initiative feat to a new Greater Improved Initiative feat that requires the Improved Initiative feat and change the bonus to be +6 to init.

  1. Click on Feat, select Improved Initiative and click Copy
  2. Base: Feat Name: Greater Improved Initiative, Type: Combat
  3. Advanced: BONUS:COMBAT|INITIATIVE|6 and PREFEAT:1,Improved Initiative

Verify:

  • All as input,
  • Debug output as follows: CODE-141
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'AUTO:WEAPONPROF' '' for pcgen.core.Ability Greater Improved Initiative

Created a fighter, gave them feat Improved Initiative and fighter feat Greater Improved Init. Bonuses as expected (+10)

Language Editor

Create a new language Klingon with both a spoken and written form.

  1. Click on Language, click New
  2. Case: Language: Klingon; Types: Spoken, Written, Source: p17
  3. Save

Verify: All as input, no debug output Not available as a bonus language for an Elven fighter. Available as a Linguistics skill choice.

Race Editor

Create a new race Klingon by copying Dwarf. Race gets a bonus +1 to melee damage as well as bonuses to STR and CHA but penalty to WIS

  1. Click on Race, select Dwarf and click Copy
  2. Base: Race Name: Klingon; Display Name: Klingon
  3. Templates: Remove Dwarf
  4. Advanced: BONUS:STAT|WIS|-2 ; BONUS:STAT|CON,CHA|2 ; BONUS:COMBAT|DAMAGE.Melee|1

Verify:

  • All as input,
  • Debug output as follows: CODE-142
LSTERROR pcgen.rules.context.LoadContext HITDICEADVANCEMENT may not have empty argument
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'HITDICEADVANCEMENT' '' for pcgen.core.Race Klingon
SEVERE plugin.lsttokens.race.MonsterclassToken Number of levels in MONSTERCLASS must be greater than zero: (None):0
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'MONSTERCLASS' '(None):0' for pcgen.core.Race Klingon
LSTERROR pcgen.rules.context.LoadContext FAVCLASS may not have empty argument
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'FAVCLASS' '' for pcgen.core.Race Klingon
LSTERROR pcgen.rules.context.LoadContext LANGAUTO may not have empty argument
LSTERROR pcgen.rules.context.LoadContext Failed in parsing subtoken: LANGAUTO of 
LSTERROR pcgen.rules.context.LoadContext Illegal CHOOSE subtoken 'LANGAUTO' '' for Klingon
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'CHOOSE' 'LANGAUTO|' for pcgen.core.Race Klingon
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'AUTO:WEAPONPROF' '' for pcgen.core.Race Klingon
LSTERROR pcgen.rules.context.LoadContext LANGBONUS may not have empty argument
LSTERROR pcgen.rules.context.LoadContext Illegal Token 'LANGBONUS' '' for pcgen.core.Race Klingon

SEVERE pcgen.rules.context.LoadContext !!XTRASKILLPTSPERLVL must be an integer > 0

Created character with race Klingon, bonuses to stats and damage as expected.