FG Spreadshirt Swag
  1. #1
    Minty23185Fresh's Avatar
    Join Date
    Dec 2015
    Location
    Goldstone, CA, USA
    Posts
    1,211
    Blog Entries
    29

    Documentation Error in XML and Scripting Reference

    There is an omission for the dragdata object in the XML and Scripting Reference.

    The following code can be found in rulesets/CoreRPG/scripts/manager_actions.lua at approximately line 340:
    Code:
    function decodeRollFromDrag(draginfo, i, bFinal)
        draginfo.setSlot(i);
    	
        local vRoll = draginfo.getMetaDataList();
        vRoll.sType = draginfo.getSlotType();
    The getMetaDataList( ) function is not documented in the Reference document.

    (I can pretty much guess what it does based on getMetaData( ), getDieList( ), and getShortcutList( ), etc. But the information is missing.)

    Thank you.
    Current Projects:
    Always...
    Community Contributions:
    Extensions: Bardic Inspiration, Druid Wild Shapes, Local Dice Tower, Library Field Filters
    Tutorial Blog Series: "A Neophyte Tackles (coding) the FG Extension".

  2. #2

    Join Date
    Apr 2008
    Location
    Virginia Beach
    Posts
    3,096
    MW, did you miss this?

  3. #3
    Nope, didn't miss. Just queued. I'm pouring most of my time into FGU, so all lower priority items are getting queued. It's on my to do list when I circle back.

    Regards,
    JPG

  4. #4
    Ampersandrew's Avatar
    Join Date
    Nov 2017
    Location
    Belfast, Northern Ireland
    Posts
    249
    Quote Originally Posted by Moon Wizard View Post
    I'm pouring most of my time into FGU


    Really, three characters? But all I wanted was a happy face.

  5. #5
    Minty23185Fresh's Avatar
    Join Date
    Dec 2015
    Location
    Goldstone, CA, USA
    Posts
    1,211
    Blog Entries
    29
    At this point this is probably moot, but I found another documentation omission for the dragdata object.
    The addDie( ) function, as called in (approximately) line 443 of the CoreRPG ruleset's manager_actions.lua file.
    Current Projects:
    Always...
    Community Contributions:
    Extensions: Bardic Inspiration, Druid Wild Shapes, Local Dice Tower, Library Field Filters
    Tutorial Blog Series: "A Neophyte Tackles (coding) the FG Extension".

  6. #6
    It's on my list as well. This stuff is very low on priority right now, especially with the ongoing FGU work.

    JPG

  7. #7
    Minty23185Fresh's Avatar
    Join Date
    Dec 2015
    Location
    Goldstone, CA, USA
    Posts
    1,211
    Blog Entries
    29
    Thank you Moon Wizard, I realize that (low priority). And I'm fine with that.
    I just keep plugging long (putting thorns in your side).

  8. #8

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 Product Walkthrough Playlist

Log in

Log in