Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
Dortamur
Junior Member
 
Join Date: May 2018
Posts: 1

Old May 25th, 2018, 08:30 PM
I am working on some XSL Templates for custom data output (using the Save Custom Output option), and am running into a few issues relating to how items are represented in the XML output, vs what is shown in Hero Lab. I am working with 5e characters, but I don't think these are system-specific.


The first issue is that Tool Proficiencies are included as Items, even if the character does not have those tools. So any inventory lists include these Tools, even if the character doesn't have them.

For example, one character has Proficiency with Dice Set, Forgery Kit and Thieves' Tools, but under Gear, owns 1 Dice Set, 0 Forgery Kits, and 2 Thieves' Tools. In the XML, there are gear/item entries for 2 Dice Sets, 1 Forgery Kit, and 3 Thieves' Tools. There are no extra attributes to differentiate between owned gear, and the proficiency.

Tool proficiencies are already listed in <toolproficiencies>, so they don't need to be added as items - although expanding <toolproficiencies> from a simple text list to have more data about the tools would be useful.


The second issue is that Money is shown as an item in gear in Hero Lab, and can be put in a Container, but in the XML data, Money is not listed in gear/item. There is a separate <money> tag, but it does not include "heldin", and doesn't follow the normal item tags.

It would be nice if Money could also be represented in gear/item, similar to how the app shows it - or alternatively if a "heldin" attribute could be added to <money>, so templates can at least link it that way.


The third issue is inconsistencies between standard Containers vs custom Containers. The standard containers include in their title a qualifier of "(qty @ weight)" to indicate how many items are in the container, and what the total weight is. However, custom containers do not include this. Ideally, I'd prefer some extra attributes to be able to get the Container name without this extra text, along with attributes to get the quantity and total weight, so we can format this information however we like.

Following on from this Container discrepancies is the issue that the Container items have no data to indicate that they actually are a Container. This can be derived through checking for other items with a matching "heldin", but this doesn't work for empty containers, so there's no way to know that an item is actually an empty container.


One last semi-related issue, is that Equipment Sets don't seem to be included in the XML. It would be really nice to use Equipment Sets on a sheet output instead of the list of all carried weapons.

Thanks!
Dortamur is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old May 30th, 2018, 08:45 AM
Each game system needs to define it's own custom output, so these are bugs you should report for this particular system.
Mathias is offline   #2 Reply With Quote
Reply

Thread Tools
Display Modes

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 02:36 AM.


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