• 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

Changing Item Prices

SeeleyOne

Well-known member
Sometimes there are items that I just don't like their price. Sure, what I can do is set my own price when buying or selling it, but I would rather make it so that Hero Lab knows my "corrected" price when I load it up. So it would be done in a mechanic (as Pathfinder does not have a standardized Setting Rules option, nor does it really need it).

OK, each item has a field that is its price. For example, for a weapon it is gSizeCost. I figure that an eval script can be made to replace that value.

But what group or other category are all of the different item types? Is there a listing somewhere? The editor has it broken up into Armor, Magic Armor, Gear, Intelligent Item Dedicated Power, Intelligent Item Power, Item Power, Material, Potion, Ring, Rod, Staff, Wand, Weapon, Magic Weapon, and Wondrous.

I would think that using something like
Code:
 perform someincategory[item ID].assign[gSizeCostorWhatever.value]
might work. But I would need to know what sort of group or category the items are in and I have no idea what sort of timing that I would want.
 
You will have to do "Replace Thing ID" from inside the editor to have your new version of the Items override the the base item. Then change the cost.

You will not be able to adjust prices from a script as you would need to adjust the 'Thing' not the 'pick' which can't be done. :(

Basically until you add a gear item to your character its values will be the same as what was setup in the XML or .user file. Once added to your character you could change its values/tags.

The only affect you can do to a Thing from a script is "#appenddesc[]" macro that lets you append additional info to the bottom of the description. So you could add a "Note" to the item to remind people to pay a "different" cost.
 
Back
Top