Thread: Translating Code
-
November 3rd, 2016, 22:06 #1
- Join Date
- Oct 2016
- Posts
- 127
Translating Code
I've been working on modifying the BRP client.xml to create a campaign specific library file.
in the client.xml file there is a line of code
<source type="string">reference.BRPother.powers@BRP Game System X</source>
I have figured out the source of the first part, but I cant find where the portion after the @ sign are specified. I havnt tested it yet but I am concerned that part of the test will prevent my custom library file from working.
-
November 3rd, 2016, 22:08 #2
Database references with an @ are referring to modules. The text after the @ is the module name. See the final paragraph here: https://www.fantasygrounds.com/modguide/database.xcp
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!
-
November 3rd, 2016, 22:28 #3
- Join Date
- Oct 2016
- Posts
- 127
as defined in the definition.xml in the root of the file?
-
November 3rd, 2016, 22:30 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,426
Yes, it's the name used in the definition.xml for the module.
If the link is within the same module, then you don't need to include the module name; it is assumed to be the same.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks