Thread: isItemIdentifiable function
-
February 18th, 2023, 14:09 #1
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
-
February 18th, 2023, 21:51 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
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
-
February 18th, 2023, 22:29 #3
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks