STAR TREK 2d20
  1. #1
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    244

    isItemIdentifiable function

    I found this function. It is used to determine if an element is identifiable, but I don't understand why the base path
    should be the element to test to see if an object is identifiable. What's special about the "reference" path?
    Code:
    function isItemIdentifiable(vNode)
    	local sBasePath = UtilityManager.getDataBaseNodePathSplit(vNode)
    	return (sBasePath ~= "reference");
    end
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  2. #2
    For specific rulesets that specific place certain items in certain paths, that function is used to specify that those items are not identifiable (i.e. turn off ID feature). In particular, it looks like that one is set up such that read-only module items are set to not identifiable (i.e. PHB, DMG, etc.). The item records will be identifiable once added to party sheet, PCs, campaign items, etc.

    Regards,
    JPG

  3. #3
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    244
    Ty for all Moon, as usual
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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