• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

conditional preclude

Phrll

Well-known member
I'm working on adding the Traits and Gadgets from the Doctor Who sourcebooks to a Doctor Who dataset, using the editor to create .user files for each sourcebook and I've run into a problem that I haven't figured out how to handle yet. Some of the Traits are in more than one sourcebook; for example Arrogant is in the 4th and 7th Doctor books. I added them to both files (different IDs) and both show up in the Chooser but since they're the same, I'd like to set up something so only one shows up even if both sources are being used. I added a Preclude to the 7th Doctor .user file to exclude the 4th Doctor Trait and it works fine as long as both files are present but if the 4th Doctor file is missing, I get "Preclude - Reference to non-existent thing "ab4dArrog". Is there a way to do a conditional preclude that checks for a source?

Thanks!
 
You say "they're both the same", so it sounds to me like the best strategy for this would be to build just one generic version of Arrogant that has the sources for each of those doctors. Then, only a user who has turned on one or the other of those books will see that option, and you won't need a preclude.
 
Thanks for the quick reply! That's what I've been doing so far but was hoping there was a way to do a conditional preclude. So much to learn :).
 
Back
Top