FG Spreadshirt Swag
  1. #1
    Wintermute's Avatar
    Join Date
    Nov 2013
    Location
    Pigeon Forge, Tennessee
    Posts
    335
    Blog Entries
    2

    Question 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

  2. #2
    Quote Originally Posted by Wintermute View Post
    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
    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.

  3. #3
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,674
    Blog Entries
    1
    they should be like this:
    library_recordtype_label_xxxxxx
    eg library_recordtype_label_npc

    doh! I thought you were away celestian!

  4. #4
    Quote Originally Posted by damned View Post
    doh! I thought you were away celestian!
    Not out of town yet
    ---
    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.

  5. #5
    Wintermute's Avatar
    Join Date
    Nov 2013
    Location
    Pigeon Forge, Tennessee
    Posts
    335
    Blog Entries
    2
    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.



Thread Information

Users Browsing this Thread

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

Tags for this Thread

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
  •  
STAR TREK 2d20

Log in

Log in