5E Product Walkthrough Playlist
  1. #1

    Module Trouble with Linking

    Hey, I've been putting together a UE module for my players, everything was going great with getting all the weapons/armor and magical weapons and armour in. Now I'm working on Wondrous items, and I've tried using the "equipmenttable" window instead of the less functional list used by the basic module that comes with FG, so I can display costs and separate items by section.

    I've setup the links the exact same way, the window reference gets me a window with the section I've created and an accurate list of the items and data, but none of the links work, they don't open a window, and are lacking the link icon beside them, instead they have an empty square. I assume this means there's a problem finding the linked item, I'm not getting any errors in the console, so I'm not sure what's wrong, can't find an error in my code, hoping someone can help.

    Is it ok to post the client.xml file work in progress here for you guys to poke at for me?

  2. #2
    It depends on the ruleset, but here is an excerpt from the 3.5E ruleset for an equipmenttable:

    Code:
            <lists>
    		<equipment>
    			<description type="string">Goods and Services</description>
    			<groups>
    				<section001>
    					<description type="string">Ammunition</description>
    					<equipment>
    						<arrows>
    							<link type="windowreference">
    								<class>referenceequipment</class>
    								<recordname>[email protected] Basic Rules</recordname>
    							</link>
    							<name type="string">Arrows (20)</name>
    							<cost type="string">1 gp</cost>
    							<weight type="string">3 lb.</weight>
    						</arrows>
                                            ...
                                            </equipment>
                                    </section001>
                                    ...
    			</groups>
    		</equipment>
                    ...
           </lists>
    Your links should look similar. I believe that if you leave the "@<module name>" off, it assumes the current module.

    Regards,
    JPG

  3. #3
    ok, so here's one of the reference list items, which is displaying:

    Code:
    	<lists static="true">
    		...
    		<description type="string">Wondrous Items</description>
    			<groups>
    				<section001>
    					<description type="string">Belt Slot Wondrous Items</description>
    					<equipment>
    						<anacondascoils>
    							<listlink type="windowreference">
    								<class>item</class>
    								<recordname>reference.magicitems.anacondascoils@PFRPG Ultimate Equipment</recordname>
    							</listlink>
    							<name type="string">Anaconda's Coils</name>
    							<cost type="string">18,500 gp</cost>
    							<weight type="string">1 lb.</weight>
    						</anacondascoils>
    					</equipment>
    				</section001>
    		</wondrous>
    	</lists>
    And here's it's entry:

    Code:
    	<reference static="true">
    		...
    		<magicitems>
    			<anacondascoils>
    				<name type="string">Anaconda's Coils</name>
    				<description type="formattedtext">
    					<p>This snakeskin belt's buckle is shaped like a serpent's head. The wearer gains a +2 enhancement bonus to Strength and a +2 competence bonus on grapple combat maneuver checks. Treat the enhancement bonus to Strength as temporary ability bonus for the first 24 hours the belt is worn. In addition, the belt grants the wearer the constrict ability (Bestiary 298) for 1d6 points of damage plus the wearer's Strength modifier.</p>
    				</description>
    				<aura type="string">Moderate transmutation</aura>
    				<cl type="number">8</cl>
    				<prerequisites type="string">Craft Wondrous Item, beast shape I, bull's strength, 9,250 gp</prerequisites>
    				<cost type="string">18,500 gp</cost>
    				<type type="string">Wondrous Item</type>
    				<weight type="number">1</weight>
    			</anacondascoils>
    		</magicitems>
    	</reference>
    Link beside the list entry is blank, can't location the item, no error messages in console when loading or attempting to use the module.

    Any ideas?
    Ultimate License Holder

  4. #4
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Without knowing anything more about what is going on -
    Moon Wizard has used <link type="windowreference">
    and you have used <listlink type="windowreference">
    Id try that first.

  5. #5
    Hah, that was easy, thank you! That works. Now I just have to figure out the tags for non id names, and I can continue!
    Ultimate License Holder

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in