DMFirmy
September 13th, 2014, 20:58
MODERATOR: Moved into the correct forum and it's own thread specific to this question.
Here is another question I came across while I was tinkering around...
I realize that within the ruleset you can define windows and templates to display content from modules, so for example it is possible to create a custom window view for specific items (such as how the Feat entries in the 3.5E Basic Rules module are displayed in a unique window). My question is this: is it possible to refer to entries from within modules from within the ruleset itself? For example, let's suppose I create a new field for character race on the character sheet, but instead of using a text field I use some kind of selection box. Could I read in the races that are available from the open modules to populate this listbox? One of the things I am working on is a customized version of the Basic Rules module for my own campaign, and I am going to be doing quite a bit of customization compared to the 3.5E Basic Rules module. I am modifying my ruleset to display a whole bunch of custom information that I will be adding to the basic rules module, and this will include several new races. I see in the 3.5E ruleset there are some places in the Lua code where string lists are being defined, such as the long listing of available skills, that are also being detailed in the basic rules module, and it would be awesome if I could pull those values right out of the modules that are loaded instead of defining static lists in the Lua files.
In fact, I can think of several reasons that I would want to be able to reference material in a module right from the ruleset. If this is possible, I would love to see an example of this being used somewhere. Thanks in advance.
Here is another question I came across while I was tinkering around...
I realize that within the ruleset you can define windows and templates to display content from modules, so for example it is possible to create a custom window view for specific items (such as how the Feat entries in the 3.5E Basic Rules module are displayed in a unique window). My question is this: is it possible to refer to entries from within modules from within the ruleset itself? For example, let's suppose I create a new field for character race on the character sheet, but instead of using a text field I use some kind of selection box. Could I read in the races that are available from the open modules to populate this listbox? One of the things I am working on is a customized version of the Basic Rules module for my own campaign, and I am going to be doing quite a bit of customization compared to the 3.5E Basic Rules module. I am modifying my ruleset to display a whole bunch of custom information that I will be adding to the basic rules module, and this will include several new races. I see in the 3.5E ruleset there are some places in the Lua code where string lists are being defined, such as the long listing of available skills, that are also being detailed in the basic rules module, and it would be awesome if I could pull those values right out of the modules that are loaded instead of defining static lists in the Lua files.
In fact, I can think of several reasons that I would want to be able to reference material in a module right from the ruleset. If this is possible, I would love to see an example of this being used somewhere. Thanks in advance.