Thread: 20+ Columns Tables
-
October 12th, 2020, 18:47 #1
20+ Columns Tables
Is there a way to create a table with more than 20 columns? I'm needing to create one with 28 columns, but it is impossible, at least in the CoreRPG and MoreCore.
- - -
FG Classic / FG Unity Ultimate
Playing D&D 5th
-
October 12th, 2020, 19:14 #2Paul Grosse
PCGen BoD
PR Silverback
Autobackup Batch file, Always ALWAYS backup your data. Remember to follow the 3-2-1 rule!
-
October 12th, 2020, 19:33 #3
Hello. This extension allow the creation of tables with any number of rows, but with only one column, or am I wrong?
- - -
FG Classic / FG Unity Ultimate
Playing D&D 5th
-
October 12th, 2020, 19:33 #4
No, 20 is a limit coded into CoreRPG. You would have to create an extension to add more. The code is in the CoreRPG/campaign/scripts/table_main.lua file, in the setColumns() function. Looks like this.
Code:function setColumns(nColumns) local nCurrentColumns = getColumns(); if nColumns < 1 then nColumns = 1; elseif nColumns > 20 then nColumns = 20; end if nColumns ~= nCurrentColumns then resultscols.setValue(nColumns); end end
For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
October 12th, 2020, 19:38 #5
Thanks!
- - -
FG Classic / FG Unity Ultimate
Playing D&D 5th
-
October 12th, 2020, 19:47 #6
Would this extension be hard to write? Maybe I try to learn the basics for this.
- - -
FG Classic / FG Unity Ultimate
Playing D&D 5th
-
October 12th, 2020, 19:56 #7
Only one way to find out.
Its really hard to say, what might be super simple for one of the FG developers to write, could be nearly impossible for someone who has never worked with lua/xml/fg API before. At first glance, this does seem like a nice, small, first project, but there certainly could be any number of roadblocks that I am unaware of.For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks