Thread: Equipment Packs / Kits
-
May 26th, 2018, 21:42 #1
- Join Date
- Dec 2017
- Location
- Bethany, Missouri
- Posts
- 223
Equipment Packs / Kits
Hello everyone,
I am in the gear phase of my new excerpt from the campaign I am designing. One such item is the Ninja's Pack. I would like to be able to make it so that it acts like other packs where the contents listed in the description auto populate with the correct item information on the player's inventory sheet. I can't figure out how to do this and am now stuck both in my FG visual aid of constructing my mod as well as the xml coding that goes behind this. Any pointers?
-
May 26th, 2018, 22:02 #2
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
Create a parcel with the items in it. If you put the cost in the money portion of the parcel as a negative, it will even deduct the cost from the player's money.
-
May 26th, 2018, 22:06 #3
You can't do this within Fantasy Grounds but it should be possible to do it within the XML. The items in the pack go within the tags <subitems></subitems>
So you would have
Code:<ninja_spack> <name></name> <type></type> <cost></cost> <weight></weight> <description></description> <subitems> <backpack></backpack> <hammer></hammer> </subitems> </ninja_spack>
If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here http://fgapp.idea.informer.com/
-
May 26th, 2018, 22:06 #4
- Join Date
- Dec 2017
- Location
- Bethany, Missouri
- Posts
- 223
Now that is a cool trick. I will have to toy around with that a lot more in detail
-
May 26th, 2018, 22:13 #5
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
-
May 26th, 2018, 22:17 #6
- Join Date
- Dec 2017
- Location
- Bethany, Missouri
- Posts
- 223
And this will be a reference > equipmentdata object right?
-
May 26th, 2018, 22:24 #7
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
Just make parcels by dragging and dropping your items, then export to a module.
-
May 26th, 2018, 22:27 #8---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
May 26th, 2018, 22:55 #9
- Join Date
- Dec 2017
- Location
- Bethany, Missouri
- Posts
- 223
Zacchaeus here is my snippet placed inside my <root> - <reference> - <equipmentdata>. There are only two other entries in this element. Both melee weapons. I tested the mod and fantasy grounds didn't have a problem with the two weapons.
<ninjaspack>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Ninja's Pack</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Equipment Packs</subtype>
<cost type="string">40 gp</cost>
<weight type="number">15</weight>
<description type="formattedtext"><p>Includes a backpack, a belt, a bag of 20 caltrops, one days worth of rations, a waterskin, a grappling hook with 50 feet of silk rope, a small steel mirror, a pair of gloves and a set of thieves' tools.</p></description>
<subitems>
<bag>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Bag</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">5 gp</cost>
<weight type="number">0.25</weight>
<description type="formattedtext"><p></p></description>
</bag>
<backpack>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Backpack (Empty)</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">2 gp</cost>
<weight type="number">5</weight>
<description type="formattedtext"><p></p></description>
</backpack>
<belt>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Belt</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">5 cp</cost>
<weight type="number">0.1</weight>
<description type="formattedtext"><p></p></description>
</belt>
<caltrops>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Caltrops (20)</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">1 gp</cost>
<weight type="number">2</weight>
<description type="formattedtext"><p>As an action, you can spend a bag of caltrops to cover a square area that is 5 feet on a side. Any creature that enters the area must succeed on a DC 15 Dexterity saving throw or stop moving this turn and take 1 piercing damage. Taking this damage reduces the creature's walking speed by 10 feet until the creature regains at least 1 hit point. A creature moving through the area at half speed doesn't need to make the save.</p></description>
</caltrops>
<gloves>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Gloves</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">2 gp</cost>
<weight type="number">0.25</weight>
<description type="formattedtext"><p></p></description>
</gloves>
<grapplinghook>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Grappling Hook</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">2 gp</cost>
<weight type="number">4</weight>
<description type="formattedtext"><p></p></description>
</grapplinghook>
<mirror>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Mirror, Steel</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">5 gp</cost>
<weight type="number">0.5</weight>
<description type="formattedtext"><p></p></description>
</mirror>
<rations>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Rations (1 Day)</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">5 sp</cost>
<weight type="number">2</weight>
<description type="formattedtext"><p>Rations consist of dry foods suitable for extended travel, including jerky, dried fruit, hardtack, and </p></description>
</rations>
<thievestools>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Thieves' Tools</name>
<type type="string">Tools</type>
<subtype type="string">Kits / Sets</subtype>
<cost type="string">25 gp</cost>
<weight type="number">1</weight>
<description type="formattedtext"><p>This set of tools includes a small file, a set of lock picks, a small mirror mounted on a metal handle, a set of narrow-bladed scissors, and a pair of pliers. Proficiency with these tools lets you add your proficiency bonus to any ability checks you make to disarm traps or open locks.</p></description>
</thievestools>
<waterskin>
<locked type="number">1</locked>
<isidentified type="number">1</isidentified>
<name type="string">Waterskin</name>
<type type="string">Adventuring Gear</type>
<subtype type="string">Standard</subtype>
<cost type="string">2 sp</cost>
<weight type="number">5</weight>
<description type="formattedtext"><p></p></description>
</waterskin>
</subitems>
</ninjaspack>
-
May 26th, 2018, 22:58 #10
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
Well that's a lot of work that you can just do with drag and drop inside of FG...
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks