Starfinder Playlist
Page 2 of 2 First 12
  1. #11
    One observation. The Talent list does NOT have title. Trying to find where you define those.
    Daniel A George

  2. #12
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,470
    Quote Originally Posted by Trenloe View Post
    The error listed in post #1 is caused by the button code not returning a valid node from window.getDatabaseNode(). Which suggests that the talents list window hasn't been correctly initiated with an underlying database node.
    Quote Originally Posted by Trenloe View Post
    It's possible you may not have defined a valid entry for aDataMap...
    This was the cause. LUA is case sensitive, so you need to be careful to use the exact same case for variables, etc..

    Use this, I've highlighted what had incorrect case:

    Code:
    function onInit()
    
    	LibraryData.aRecords["talent"]= {
    		bExport = true,
    		aDataMap = {"talent","reference.talent"},
    		sRecordDisplayClass = "talent"
    		}
    end
    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!

  3. #13
    I will dig into this. As I coder I should have known better

    THANK YOU!
    Daniel A George

  4. #14
    Also, you should be using LibraryData.setRecordTypeInfo("talent", { ... }) or LibraryData.overrideReceordTypeInfo("talent", { ... }), instead of trying to modify the table directly. This is how existing rulesets and extensions do it.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in