Senior Member
Join Date: Jul 2010
Posts: 157
|
I'm need help on how to make an item, such as a suit of armor (magical or mundane) useable only by a certain race. How is this done/scripted in HL?
Thanks! |
#1 |
Member
Join Date: Jun 2010
Posts: 44
|
On the right hand side of the editor for the equipment/armour/weapons (or for that matter most Things), there's a button labeled "Pre-reqs." That's about as far as I've figured out, I'm still working on the exact script for it (I'm terrible at scripting/coding anything).
|
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Find a feat that's only usable by a specific race - look at its "Expr-Reqs" and "Pre-Reqs". Copy that over to your item - the method for restricting something to a specific race doesn't vary between the different types of things.
Let's take the "Fiendish Facade" feat (from Pathfinder 26) - it's restricted to tieflings: In the editor, go to the Feats tab, and at the bottom left, press "New (Copy)". Find "Fiendish Facade" in that list. Now, you'll see that both the "Pre-Reqs" and "Expr-Reqs" buttons are highlighted, so click on each. The message for the pre-req is "Only available at 1st level.", so that's not the one you're looking for - move on to the expr-req. The Expr-Req has the message "Tiefling race required" and the Pre-Requisite Expression: "#hasrace[rTiefling] <> 0" So, copy all of that to your item. Now, select the text "rTiefling" in the expression, and press the "Find Thing" button that's above and to the right of it. Restrict the list of things you're looking at to races, then find and double-click the race you want to restrict your item to, then change the name of the race in the message. |
#3 |
|
|