Maxxx26
June 3rd, 2009, 22:43
I am starting a new campaign that is very much a sand box and thus want all my stuff in library form. To make it easier to read I want a new format for my entries for traps (other stuff as well, but I think when I know how to do it with traps, I will be able to modify the other things myself), similar to NPCs instead of just a referencetext or referencetextwide.
Thus my question is, where do I have to add the corresponding windowclass to make my trap entries function like NPCs. Bascially I would like my entry in the library to look like this:
<pittrap>
<librarylink type="windowreference"><class>trap</class><recordname>..</recordname></librarylink>
<name type="string">Pit Trap</name>
<cr type="number">1</cr>
<type type="string">mechanical</type>
<searchdc type="number">24</searchdc>
<disabledevicedc type="number">20</disabledevicedc>
<trigger type="string">location</trigger>
<reset type="string">manual</reset>
<effect type="string">DC 20 Reflex save avoids; 10 ft. deep (1d6, fall)</effect>
<cost type="string">1800 gp</cost>
<text type="formattedtext">
<p><i>Just a pit trap.</i></p>
</text>
</pittrap>
This should be displayed in a window similar to NPCs (although tabs are not needed since there is much less information).
Thanks for any tips or advice :)
Thus my question is, where do I have to add the corresponding windowclass to make my trap entries function like NPCs. Bascially I would like my entry in the library to look like this:
<pittrap>
<librarylink type="windowreference"><class>trap</class><recordname>..</recordname></librarylink>
<name type="string">Pit Trap</name>
<cr type="number">1</cr>
<type type="string">mechanical</type>
<searchdc type="number">24</searchdc>
<disabledevicedc type="number">20</disabledevicedc>
<trigger type="string">location</trigger>
<reset type="string">manual</reset>
<effect type="string">DC 20 Reflex save avoids; 10 ft. deep (1d6, fall)</effect>
<cost type="string">1800 gp</cost>
<text type="formattedtext">
<p><i>Just a pit trap.</i></p>
</text>
</pittrap>
This should be displayed in a window similar to NPCs (although tabs are not needed since there is much less information).
Thanks for any tips or advice :)