-
October 28th, 2019, 18:47 #1
Add 'Share' opton to Right-click Radial Menu when on a list of Worlds
Folks,
In Traveller there are Sectors, SubSectors and worlds. With the correct access to the data the players would know as much about a world as the GM. In Traveller we have World Data, the stats of law level, population etc etc.
I've added a 'share' option when viewing the World Data, right-click and select 'Share' and it appears, but that means going into the Record Sheet.
Is there a way of adding 'Share' to the radial menu when you are in the list view? I can't find one.
Traveller2EWorldsData.jpg
Cheers,
MBMRuleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
October 28th, 2019, 19:57 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,412
You can just drag and drop onto the chat window to make a record public for everyone in the campaign.
If you wanted to add a button to Share, you would essentially be creating a custom radial menu item that would be making the database node for that record public. If you want it to pop up on the player screen as well, that's a different beast.
Regards,
JPG
-
October 29th, 2019, 13:09 #3
Morning Chap,
Just the radial so the GM can tell the players that the data is in the World list.
This is the code inside the library file. I've looked into the library for CoreRPG/DnD5E and there's no sign off telling it to have a 'share' button.
Code:["worlds"] = { bExport = true, aDataMap = { "worlds", "reference.worlds" }, aDisplayIcon = { "button_worlds", "button_worlds_down" }, sRecordDisplayClass = "worlds", aCustomFilters = { ["Sector"] = { sField = "sector" }, ["SubSector"] = { sField = "subsector" } }, },
Cheers,
MBMRuleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
October 30th, 2019, 05:31 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,412
Oh yeah, the master index list isn't unique per record type, which complicates things. It's not designed to add custom radials, so you would have to override windowclasses and their scripts.
Instead, I'll add Share as a menu option in all the master lists in v3.3.9, since Unshare is already there.
Regards,
JPG
-
October 30th, 2019, 12:33 #5Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks