PDA

View Full Version : MoreCore Extension tutorial part 1



BigBadBazz
July 23rd, 2020, 15:22
When you set the text on the sidebar button where exactly do you do it?
I have searched the files in the extension but see nowhere where text such as rolls and Parcels is applied to the sidebar buttons

Thanks

damned
July 23rd, 2020, 16:29
I dont recall the video you are watching exactly but the current build of MoreCore uses the buttons where it has a common image for all buttons and it writes the button name on top - rather than each button being a unique graphic.
The strings are mostly in strings_morecore.xml and look like:

<string name="library_recordtype_label_mc_investigator">Investigator</string>

the part in bold is how FG recognizes it as a string to use and it is calling this from data_library_mc.lua

BigBadBazz
July 24th, 2020, 11:51
Thanks

I understand now