Fantasy Grounds Merchandise
  1. #1

    New sidebar button help (cross-posted to Discord)

    I'm trying to add a functioning sidebar button in the 5e ruleset (copied directly from QUESTS) using notepad++ to find all of the occurrences of "quest" and renaming to "augmentation". This works to open an "Augmentations" window, but when I try to create a new item, I get the following error.

    [ERROR] Script execution error: [string "CoreRPG:..n/scripts/campaign_button_new.lua"]:28: attempt to index local 'w' (a nil value)

    The following sections were added to:

    base.xml
    <includefile source="campaign/record_augment.xml" />

    strings.xml
    <string name="library_recordtype_label_augmentation">Augme ntations</string>
    <string name="library_recordtype_single_augmentation">Augm entation</string>
    <string name="library_recordtype_empty_augmentation">&#171 ; New Augmentation &#187;</string>
    <string name="library_recordview_label_augmentation_bytype ">By Type</string>

    data_library.lua
    ["augmentation"] = {
    aDataMap = { "augmentation", "reference.augmentationdata" },
    },

    manager_desktop.lua
    ["augmentation"] = "create",

    and I created a duplicate of record_quest.xml and renamed it record_augment.xml

    Thanks in advance for any pointers on what I'm missing
    Ultimate License Holder- Playin' D&D since '79, GMing since '81 and still rockin' the geriatric crowd.

  2. #2
    Answered in Discord #mod_creation.

    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
  •  
DICE PACKS BUNDLE

Log in

Log in