Joshua Stream Pre
  1. #1

    More then one item under Houserules?

    I wonder how i can get more then one link in the houserules block.

    I tried the following:

    Code:
    <root>
       <node name="houserule">
          <node name="00001">
             <stringvalue name="name" value="Houserule1" />
             <formattedtext name="text">
    Text 1
    
             </formattedtext>
          </node>  
       <node name="00002">
             <stringvalue name="name" value="Houserule2" />
             <formattedtext name="text">
    
    Text 2
    
    
             </formattedtext>
          </node>
       </node>
    </root>
    This works for the first entry, but the second one does not appear.

  2. #2
    Ged's Avatar
    Join Date
    Aug 2004
    Location
    Finland
    Posts
    673
    Yes, but there is a slightly ill-defined parameter in rulesets\d20\d20_reference.xml, which you must correct:
    Code:
    			<windowlist class="houserulesmall">
    				<bounds rect="253,189,200,25" />
    			</windowlist>
    25 defines the height of the box containing different houserules, increasing it to, say 80, will give space for three houserules. Note also that the contents of the houserules will look better if you enclose them between formatting tags (such as <p></p> for paragraph).

  3. #3
    Also note that the houserules box scrolls, so if you put the mouseover you can scroll up and down the list using the wheel to find items that might not be displayed in the window.

  4. #4
    Thanks, now it works

    I know how to format the text, this was only a short sample My only Problem now is to find a way to use ,,,. The htmlspecialchars didn't work, they produced parse errors.

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in