Thread: AD&D 2e
View Single Post
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old September 20th, 2013, 03:15 PM
Mathias,

I'm working on the language prereq. Do I need a Match item in the component?

This is what I've got so far, and it's working like I wanted it to for the languages added on the background portal. But now how to get it to validate for languages added via the Personal tab?

Code:
    <prereq message="Your background does not allow you to learn this language as a starting language.">

      <match><![CDATA[
        LangAllow.?
        ]]></match>

      <validate><![CDATA[
         ~if we have the right LangAllow tag, we're valid
         validif (altthing.intersect[Language,LangAllow] <> 0)
        ]]></validate>
      </prereq>

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.

Last edited by RavenX; September 20th, 2013 at 03:39 PM.
RavenX is offline   #36 Reply With Quote