Joshua Stream Pre
  1. #1

    Setting Item to be identified by default

    Adding items to a character inventory sheet, it seems to default to "nonid" which means the name entered in the inventory list is the Non-ID Name. Even though by default the "Item Identified" icon is enabled for newly created items.

    If I click the "Item Identified" icon (making it "not identified") and then click it again, thereafter dragging the item onto a character's inventory shows the proper name.

    How do I make it show the IDed name by default?

    Here is the relevant code from the character record inventory xml:

    <windowclass name="char_invitem">
    <margins control="0,0,0,2" />
    <script>
    function onInit()
    onIDChanged();
    getDatabaseNode().onDelete = onDelete;
    end

    function onIDChanged()
    local bID = ItemManager.getIDState(getDatabaseNode(), true);
    name.setVisible(bID);
    nonid_name.setVisible(not bID);
    end

    function onDelete(node)
    ItemManager.onCharRemoveEvent(node);
    end
    </script>
    <sheetdata>
    <hn name="isidentified">
    <script>
    function onValueChanged()
    window.onIDChanged();
    end
    </script>
    </hn>

  2. #2
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    13,295
    What ruleset?
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea to the wish list http://fg2app.idea.informer.com/

  3. #3
    I'm creating one from The Fantasy Trip, based on the GURPS ruleset.

  4. #4

    Join Date
    May 2016
    Location
    Jacksonville, FL
    Posts
    1,963
    Blog Entries
    7
    I'd contact the GURPS ruleset author then. The CoreRPG default was changed to identified like two-ish years ago, so something in GURPS might be overriding that. Bring it to their attention.

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
PF2E Playlist

Log in

Log in