-
June 19th, 2024, 23:35 #1
- Join Date
- Sep 2015
- Posts
- 238
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">« ; New Augmentation »</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 missingUltimate License Holder- Playin' D&D since '79, GMing since '81 and still rockin' the geriatric crowd.
-
June 19th, 2024, 23:47 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,027
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