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

From PCGen Wiki
Jump to: navigation, search
(New page: {| align="right" | __TOC__ |} {| class="wikitable" border="1" |- ! !! Character has AUTO:ARMORPROF|ARMORTYPE=Light !! Character has AUTO:ARMORPROF:Leather |- | Item has PREARMORP...)
 
(Add some guidance text)
 
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
   |}
 
   |}
  
 +
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?
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
!  !!  Character has AUTO:ARMORPROF|ARMORTYPE=Light !! Character has AUTO:ARMORPROF:Leather
+
|| Character has AUTO:ARMORPROF ARMORTYPE=Light || Character has AUTO:ARMORPROF Chainmail || Character has AUTO:ARMORPROF ARMORTYPE=Light,ARMORTYPE=Medium
 
|-
 
|-
| Item has PREARMORPROF:TYPE=Light || Character qualifies for Item || Character qualifies for Item (Leather is TYPE=Light)
+
| Is the character proficient with Chainmail? || No || Yes || Yes
 
|-
 
|-
| Item has PREARMORPROF:1,Leather || (Tom is thinking about this one) || Character qualifies for item
+
| 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"
 +
|-
 +
!  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?
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  || 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
 
|}
 
|}

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