Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
SeeleyOne
Senior Member
 
Join Date: Nov 2009
Posts: 891

Old May 10th, 2014, 11:54 AM
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.

Evil wins because good rolls poorly .... or the players are not paying enough attention to the game.
SeeleyOne is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old May 10th, 2014, 01:21 PM
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.
ShadowChemosh is offline   #2 Reply With Quote
SeeleyOne
Senior Member
 
Join Date: Nov 2009
Posts: 891

Old May 10th, 2014, 07:03 PM
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.
SeeleyOne is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:14 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.