• 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

entitlement prerequisites

jonbartels

Well-known member
I'm using the editor to input an entitlement that has an prerequisite of a Craft: Construction.
What is the coding for it.
 
Please make sure to point out what game system you're using when posting in this general forum. If I hadn't been discussing this with you in the WoD forum, I wouldn't have context to be able to help out. :-)

Oh, and you're welcome to post stuff like this in the WoD forum if you want, as it's of specific interest to WoD players. :-)

The first thing you need to do is create the new specialization so that a dependency can be established upon it. Go to the Specialization tab in the Editor and create it as a copy of an existing Crafts specialization, such as Painting. I'm going to assume you give it the id "zConstruct".

If you add any specialization to the character, the identity tag of that specialization is automatically forwarded up to the character. So you can easily verify whether a particular specialization is on the character by checking for that tag.

You can look at the Bishopric of Blackbirds for an example of a pre-requisite on a skill. Switching that to a specialization is easy. Copy the pre-req script and change the "validif" statement to check for the tag instead of the skill level. The new line will look like below.
Code:
validif (hero.tagis[Specialize.zConstruct)

Since you don't have to check for a skill rating with a specialization, though, there is an even easier way to do this. Click the button to add a "Pick-Req" instead of a general "Pre-Req" to your entitlement. Enter the id of your specialization (zConstruct). And save. That's all you need to do to establish a pre-req on the existence of another selection for the character.

Hope this helps!
 
Back
Top