Difference between revisions of "Prerequisites for Armor and Shield Proficiencies"

From PCGen Wiki
Jump to: navigation, search
m
(Add some guidance text)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
* Mithril Chainmail  TYPE:Armor.Light  PROFICIENCY:ARMOR|Chainmail
 
* Mithril Chainmail  TYPE:Armor.Light  PROFICIENCY:ARMOR|Chainmail
  
 +
1. What armor is a character proficient in?
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
|| Interpretation || Character has AUTO:ARMORPROF ARMORTYPE=Light || Character has AUTO:ARMORPROF Chainmail || Character has AUTO:ARMORPROF ARMORTYPE=Light,ARMORTYPE=Medium
+
!  || Character has AUTO:ARMORPROF ARMORTYPE=Light || Character has AUTO:ARMORPROF Chainmail || Character has AUTO:ARMORPROF ARMORTYPE=Light,ARMORTYPE=Medium
 +
|-
 +
| Is the character proficient with Chainmail? || No || Yes || Yes
 +
|-
 +
| Is the character proficient with Mithril Chainmail? || Yes || Yes || Yes
 +
|}
 +
 
 +
2. How should a PREARMORPROF:1,TYPE=Light in an item be interpreted? NB: Remember that chainmail is medium and mithral chain is light and that mithril might be defined in a different set (e.g. advanced while chainmail is in basic).
 +
 
 +
{| class="wikitable" border="1"
 
|-
 
|-
| Character is proficient with Chainmail || || No || Yes || Yes
+
!  Interpretation || Character has AUTO:ARMORPROF ARMORTYPE=Light || Character has AUTO:ARMORPROF Chainmail || Character has AUTO:ARMORPROF ARMORTYPE=Light,ARMORTYPE=Medium
 
|-
 
|-
| Character is proficient with Mithril Chainmail || || Yes || Yes || Yes
+
| a) TYPE= is a TYPE on the ArmorProf only (non-sensical, given structure of our data) || Character does NOT qualify for Item || Character does NOT qualify for Item || Character does NOT qualify for Item
 
|-
 
|-
| Item has PREARMORPROF:1,TYPE=Light || TYPE= is a TYPE on the ArmorProf only (non-sensical, given structure of our data) || Character does NOT qualify for Item || Character does NOT qualify for Item || Character does NOT qualify for Item
+
| b) TYPE= is a TYPE on the ArmorProf or matches ARMORTYPE= in AUTO:ARMORPROF || Character qualifies for Item || Character does NOT qualify for Item || Character qualifies for Item
 
|-
 
|-
| Item has PREARMORPROF:1,TYPE=Light || TYPE= is a TYPE on the ArmorProf or matches ARMORTYPE= in AUTO:ARMORPROF || Character qualifies for Item || Character does NOT qualify for Item || Character qualifies for Item
+
| c) TYPE= is a TYPE on the Armor, e.g. ARMORTYPE= || Character qualifies for Item || Character qualifies for Item || Character qualifies for Item
 
|-
 
|-
| Item has PREARMORPROF:1,TYPE=Light || TYPE= is a TYPE on the Armor, e.g. ARMORTYPE= || Character qualifies for Item || Character qualifies for Item || Character qualifies for Item
+
| d) TYPE= is a TYPE on the Armor, e.g. ARMORTYPE=, BUT only tests items where Proficiency Key == Equipment Key || Character qualifies for Item || Character does NOT qualify for Item || Character qualifies for Item
 +
|}
 +
 
 +
 
 +
3. How should a PREARMORPROF of a specific name be interpreted?
 +
 
 +
{| class="wikitable" border="1"
 
|-
 
|-
| Item has PREARMORPROF:1,TYPE=Light || TYPE= is a TYPE on the Armor, e.g. ARMORTYPE=, BUT only tests items where Proficiency Key == Equipment Key || Character qualifies for Item || Character does NOT qualify for Item || Character qualifies for Item
+
|| Interpretation || Character has AUTO:ARMORPROF ARMORTYPE=Light || Character has AUTO:ARMORPROF Chainmail || Character has AUTO:ARMORPROF ARMORTYPE=Light,ARMORTYPE=Medium
 
|-
 
|-
| Item has PREARMORPROF:1,Chainmail  || Primitive item is an ArmorProf || Character does NOT qualify for item (ArmorProf has no TYPE in ArmorProf file) || Character qualifies for Item || Character does NOT qualify for item (ArmorProf has no TYPE in ArmorProf file)
+
| Item has PREARMORPROF:1,Chainmail  || a) Primitive item is an ArmorProf || Character does NOT qualify for item (ArmorProf has no TYPE in ArmorProf file) || Character qualifies for Item || Character does NOT qualify for item (ArmorProf has no TYPE in ArmorProf file)
 
|-
 
|-
| Item has PREARMORPROF:1,Mithril Chainmail || Primitive item is an ArmorProf || Should fail on load? || Should fail on load? || Should fail on load?
+
| Item has PREARMORPROF:1,Mithril Chainmail || a) Primitive item is an ArmorProf || Should fail on load? || Should fail on load? || Should fail on load?
 
|-
 
|-
| Item has PREARMORPROF:1,Chainmail || Primitive item is an ArmorProf or Equipment where ArmorProf Key == Equipment Key || Character does NOT qualify for Item || Character qualifies for Item  || Character qualifies for Item  
+
| Item has PREARMORPROF:1,Chainmail || b) Primitive item is an ArmorProf or Equipment where ArmorProf Key == Equipment Key || Character does NOT qualify for Item || Character qualifies for Item  || Character qualifies for Item  
 
|-
 
|-
| Item has PREARMORPROF:1,Mithril Chainmail || Primitive item is an ArmorProf or Equipment where ArmorProf Key == Equipment Key || Should fail on load? || Should fail on load? || Should fail on load?
+
| Item has PREARMORPROF:1,Mithril Chainmail || b) Primitive item is an ArmorProf or Equipment where ArmorProf Key == Equipment Key || Should fail on load? || Should fail on load? || Should fail on load?
 
|-
 
|-
| Item has PREARMORPROF:1,Chainmail || Primitive item is Equipment, test effectively can be thought of as PREPROFICIENTWITHARMOR: || Character does NOT qualify for Item || Character qualifies for Item  || Character qualifies for Item  
+
| Item has PREARMORPROF:1,Chainmail || c) Primitive item is Equipment, test effectively can be thought of as PREPROFICIENTWITHARMOR: || Character does NOT qualify for Item || Character qualifies for Item  || Character qualifies for Item  
 
|-
 
|-
| Item has PREARMORPROF:1,Mithril Chainmail || Primitive item is Equipment, test effectively can be thought of as PREPROFICIENTWITHARMOR:  || Character qualifies for Item  || Character qualifies for item || Character qualifies for Item  
+
| Item has PREARMORPROF:1,Mithril Chainmail || c) Primitive item is Equipment, test effectively can be thought of as PREPROFICIENTWITHARMOR:  || Character qualifies for Item  || Character qualifies for item || Character qualifies for Item  
 
|}
 
|}

Latest revision as of 03:36, 7 November 2008

Assume two pieces of Equipment:

  • Chainmail TYPE:Armor.Medium PROFICIENCY:ARMOR|Chainmail
  • Mithril Chainmail TYPE:Armor.Light PROFICIENCY:ARMOR|Chainmail

1. What armor is a character proficient in?

Character has AUTO:ARMORPROF ARMORTYPE=Light Character has AUTO:ARMORPROF Chainmail Character has AUTO:ARMORPROF ARMORTYPE=Light,ARMORTYPE=Medium
Is the character proficient with Chainmail? No Yes Yes
Is the character proficient with Mithril Chainmail? Yes Yes Yes

2. How should a PREARMORPROF:1,TYPE=Light in an item be interpreted? NB: Remember that chainmail is medium and mithral chain is light and that mithril might be defined in a different set (e.g. advanced while chainmail is in basic).

Interpretation Character has AUTO:ARMORPROF ARMORTYPE=Light Character has AUTO:ARMORPROF Chainmail Character has AUTO:ARMORPROF ARMORTYPE=Light,ARMORTYPE=Medium
a) TYPE= is a TYPE on the ArmorProf only (non-sensical, given structure of our data) Character does NOT qualify for Item Character does NOT qualify for Item Character does NOT qualify for Item
b) TYPE= is a TYPE on the ArmorProf or matches ARMORTYPE= in AUTO:ARMORPROF Character qualifies for Item Character does NOT qualify for Item Character qualifies for Item
c) TYPE= is a TYPE on the Armor, e.g. ARMORTYPE= Character qualifies for Item Character qualifies for Item Character qualifies for Item
d) TYPE= is a TYPE on the Armor, e.g. ARMORTYPE=, BUT only tests items where Proficiency Key == Equipment Key Character qualifies for Item Character does NOT qualify for Item Character qualifies for Item


3. How should a PREARMORPROF of a specific name be interpreted?

Interpretation Character has AUTO:ARMORPROF ARMORTYPE=Light Character has AUTO:ARMORPROF Chainmail Character has AUTO:ARMORPROF ARMORTYPE=Light,ARMORTYPE=Medium
Item has PREARMORPROF:1,Chainmail a) Primitive item is an ArmorProf Character does NOT qualify for item (ArmorProf has no TYPE in ArmorProf file) Character qualifies for Item Character does NOT qualify for item (ArmorProf has no TYPE in ArmorProf file)
Item has PREARMORPROF:1,Mithril Chainmail a) Primitive item is an ArmorProf Should fail on load? Should fail on load? Should fail on load?
Item has PREARMORPROF:1,Chainmail b) Primitive item is an ArmorProf or Equipment where ArmorProf Key == Equipment Key Character does NOT qualify for Item Character qualifies for Item Character qualifies for Item
Item has PREARMORPROF:1,Mithril Chainmail b) Primitive item is an ArmorProf or Equipment where ArmorProf Key == Equipment Key Should fail on load? Should fail on load? Should fail on load?
Item has PREARMORPROF:1,Chainmail c) Primitive item is Equipment, test effectively can be thought of as PREPROFICIENTWITHARMOR: Character does NOT qualify for Item Character qualifies for Item Character qualifies for Item
Item has PREARMORPROF:1,Mithril Chainmail c) Primitive item is Equipment, test effectively can be thought of as PREPROFICIENTWITHARMOR: Character qualifies for Item Character qualifies for item Character qualifies for Item