-
October 9th, 2015, 21:46 #1
Custom Library - inserting a weapon table into a section.
Greetings All,
One last thing then I'm done, just can't work it out.
I've created a weapons list as a reference and what I'd like to do is to put this list in the middle of some text within a section. However I'm stuck, so can anyone help me?
Cheers
Colin
Code:<reference> <weaponlist> <id-000... ..... </weaponlist> </reference>
Code:<section-005> <librarylink type="windowreference"> <class>referenceinlineindex</class> <recordname>..</recordname> </librarylink> <name type="string">Firearms Table Notes</name> <index> <entry-000> <expand/> <text type="formattedtext"> <p>Here are the 4 weapons list </p> 1. Muzzle Weapons 2. ...... ..... </text>
-
October 9th, 2015, 22:11 #2
Recommendation: when posting in general forums remember to include which ruleset you're using as this can make a difference.
This is for Call of Cthulhu. Look at lines 2116 and 2117 of common.xml in the Game System module (CoCGameSystem.mod). This shows how to link a weapon table within a formatted text field:
Code:<text type="formattedtext"> <p>For detailed listings, with weapons that can be dragged onto a character sheet, see the following:</p> <linklist> <link class="referenceweapons" recordname="library.rules-001.entries.table-001">Firearms Table</link> <link class="referenceweapons" recordname="library.rules-001.entries.table-002">Hand Weapons Table</link> </linklist>
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!
-
October 9th, 2015, 22:19 #3
Cheers chap. Apologies, brain is not firing on all cylinders tonight.
How did I miss that?
Thanks again - now simple copy & paste and then re-check and should be done for this book/module/library!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks