-
August 14th, 2019, 16:03 #1
Changing the sidebar labels in 2e
I'm having an issue renaming just the token and library label on the 2e sidebar. For the CoC7E ruleset I used tokenbag_window_title and library_window_title to rename the sidebar. In 2e they are changing the window title but not the sidebar label. I've looked until I'm cross-eyed and can't find the right element to change. Any help or direction would be appreciated.
Thanks
-
August 14th, 2019, 16:10 #2
Try: library_recordtype_label_*
edit: Actually, this is not it. You want to change the library/token buttons, not the record lists.
Maybe something around here is what you want in CoreRPG.
data_desktop.lua
Code:aCoreDesktopDock = { ["local"] = { { icon="button_library", icon_down="button_library_down", tooltipres="sidebar_tooltip_library", class="library", subdock = true, }, }, ["live"] = { { icon="button_tokencase", icon_down="button_tokencase_down", tooltipres="sidebar_tooltip_token", class="tokenbag", subdock = true, }, { icon="button_library", icon_down="button_library_down", tooltipres="sidebar_tooltip_library", class="library", subdock = true, }, }, };
Last edited by celestian; August 14th, 2019 at 16:21.
---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
August 14th, 2019, 16:10 #3
they should be like this:
library_recordtype_label_xxxxxx
eg library_recordtype_label_npc
doh! I thought you were away celestian!
-
August 14th, 2019, 16:17 #4---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
August 14th, 2019, 17:27 #5
Thanks for the help and the lua code. After some drilling, I found that to change the labels for the sidebar token and library, you need to use sidebar_tooltip_token & sidebar_tooltip_library. The rest of the sidebar uses the library_recordtype_label_xxxxxx except for the mini-buttons in the top right sidebar.
I was also wrong on my inital pot, you have to use the sidebar_tooltip_XXX for the CoC7E ruleset as well.
Last edited by Wintermute; August 14th, 2019 at 17:30.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks