• 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

Equipment and Prerequisites

Monkey God

Well-known member
I have a question about creating some custom gear.

I want to have some of the new gear to require a license. Right now I have it so that the license is a prerequisite for purchasing the gear. Instead of that, I don’t want to preclude any gear just because the character does not have a license. I would like hero lab to check to see if a license is present. If no license is present, I would like the program to increase the price of the item to represent purchasing the item through illegal means.

For example: say a character wants to purchase a weapon, the price of which is 500 (using GP as the default) if the character has the proper license. If the character does not have the proper license, I would like him to still be able to purchase the weapon, but at a cost that is 1.5 times higher or 750.

Is this even possible?
 
I'm not sure how to change the cost of an item through scripts, though I assume it is possible. It can also be done manually.
 
I thought about making multiple items, one licensed one not, but I have a lot of equipment (not only weapons) that required differnt kinds of licenses. Making duplicate or even triplicates of some things seems messy to me, not to mention the increased amount of time it would take. I was hoping for a script that would change the price in the program. If that is not possible then I think I would rather adjust the price on the fly during play than clutter up the lists with multiple items.
 
What if you made the License itself as an item, with a drop down menu to select the particular type of item you're licensing? Something like the 'Weapon Focus' feat's drop box for selecting the weapon, only done as an item. You could probably then assign different costs to the different licenses, and have the characters purchase the license in addition to the item.
 
Unfortunately, you can only alter fields on a pick - once it's been added to a character, and not on a thing (before it's on the character). Therefore, you can't change the cost of a thing that you haven't purchased yet from something else (and any modifiers to the cost of the thing itself need to be hard-coded in the scripts that figure out how much you should pay).

You may have to trust the user to implement all this. I'm afraid I can't think of a good way to handle it, other than risner's separate items idea (I agree with you though - that has the downside of a lot of clutter).
 
Would it be possible to add a multiplier option when purchasing/selling an item? Perhaps a box where a player could write in a percentage amount to change the cost of the item. You could also have a few checkboxes for the more commonly used numbers (whatever those may be). I know in my campaigns, we typically choose something like 30-50% base cost when selling items in the market. For something like this, the player could put in 150% when buying without a license. It still puts the onus on the players, but it might be a nice feature to add. Who knows, maybe it could even be a jumping off point to something more extensive, like a market place type of feature.
 
Last edited:
That would indeed be a nice feature...but what I think I am going to do for now is just price the items at the higher price and have the "with license" price in the description. This assumes the character does not have a licenses - but my players are really all about the ill gotten gains anyway :) - and they can just type in the discount price if they do indeed have the license. Not perfect, but it works.
 
Ok, I have decided to do the license as a prerequisite and accept the error generated in purchasing equipment without the license as a way to keep track of the items a character has illegally since the error does not alter game play.

My next question is this: Is there a simple “either/or” script I can use to check for multiple pieces of gear, as in multiple licenses? This would be similar to
#hasfeat[fxxxxx] + #hasfeat[fyyyyy] <> 0 script to check if a character has either one feat or the other in order to satisfy the prerequisite, only for gear.

I’ve looked around but can’t find anything that fits the bill.
 
This has come up before, I think it was something like:

#hasfeat[fXxxxx] + #hasfeat[fYyyyy] <> 0


However I also remember a coding prereq that made use of: |
But I can't find it at the moment.
 
Last edited:
correct...I have the feat one...I was using it as an example. I want something similar for gear. Before a character can purcase an item of gear he needs a license. there are 2 licenses that would do and he can have either to fulfill the prerequisite. My bad if I hadn't made myself clear enough.
 
childlives[XXXXXX]

is whether or not something exists on the hero. Like #hasfeat, yes = 1 and no = 0, so you can add them together to ask an "or" question.

(it's not used for feats because that test will still detect the Scribe Scroll feat for a Pathfinder Society Wizard, who gets Spell Focus instead of Scribe Scroll, but #hasfeat[] will not)
 
Awesome!! Perfect!! That was exaclty what I was looking for. Thank you once again Mathias. Incase no has told you lately, you are a god among men....

Too much?
well, anyway, thanks again.
 
Back
Top