PDA

View Full Version : Is there a way to automatically categorize items/entities in a module.



peterb
July 28th, 2022, 12:34
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?

Trenloe
July 28th, 2022, 14:06
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:


<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.

peterb
July 28th, 2022, 14:26
Thanks! That was exactly what I was looking for!