FG Spreadshirt Swag
  1. #1

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    351

    Is there a way to automatically categorize items/entities in a module.

    I'm creating a module that will have more that two hundred new items. If possible I'd like to sort them into categories already in the module, so that it becomes easier for the players to find the stuff they are interested in. Is there a way to do this, besides manually in the campaign?

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    Are you creating the module XML yourself? IF so, you can add <category name="Group 1"> entries around the data you want in the category.

    Here's a simple example of a module I created using two story entries in two different categories:

    Code:
    	<encounter>
    		<category name="Group 1">
    			<id-00001>
    				<name type="string">Test 1</name>
    				<text type="formattedtext">
    					<p>Test data</p>
    				</text>
    			</id-00001>
    		</category>
    		<category name="Group 2">
    			<id-00002>
    				<name type="string">Test 2</name>
    				<text type="formattedtext">
    					<p>Test data 2</p>
    				</text>
    			</id-00002>
    		</category>
    	</encounter>
    Please provide more information if this isn't what you're referring to.
    Attached Images Attached Images
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  3. #3

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    351
    Thanks! That was exactly what I was looking for!

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
  •  
STAR TREK 2d20

Log in

Log in