Senior Member
Join Date: Nov 2009
Posts: 891
|
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] Evil wins because good rolls poorly .... or the players are not paying enough attention to the game. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: Nov 2009
Posts: 891
|
OK, thanks. At least we can manually adjust prices when buying or selling.
Evil wins because good rolls poorly .... or the players are not paying enough attention to the game. |
#3 |
|
|