Hello!
I want to add a doctrine group called "practices" to the faith gui and faith creation gui. A few other mods have done this, and I based my mod on one of these mods. Initially I removed the extra doctrine categories for my mod, but now I would like to add one of them back. It worked fine for the window_faith.gui, however when I add the doctrine group to window_faith_creation.gui the game crashes as soon as I try to reform a faith. In the error log I get this message:
These are the lines of code tried to add to the faith creation gui:
I add it between the vboxes for FAITH_DOCTRINES_IMPORTANT and FAITH_DOCTRINES_MARRIAGE.
I am attaching the error log and the gui file (converted to txt file so it can be posted here since files with .gui extensions were not able to be posted)
Does anyone know what could be the problem?
I want to add a doctrine group called "practices" to the faith gui and faith creation gui. A few other mods have done this, and I based my mod on one of these mods. Initially I removed the extra doctrine categories for my mod, but now I would like to add one of them back. It worked fine for the window_faith.gui, however when I add the doctrine group to window_faith_creation.gui the game crashes as soon as I try to reform a faith. In the error log I get this message:
[22:22:39][E][pdx_assert.cpp:619]: Assertion failed: This data is likely not a container
These are the lines of code tried to add to the faith creation gui:
vbox = {
layoutpolicy_horizontal = expanding
spacing = 10
text_label_left = {
layoutpolicy_horizontal = expanding
text = "FAITH_DOCTRINES_PRACTICES"
default_format = "#low"
}
fixedgridbox = {
name = "doctrines_grid_practices"
datamodel = "[FaithCreationWindow.GetGroupingHelper( 'practices' ).GetGrouping]"
flipdirection = yes
addcolumn = 270
addrow = 65
datamodel_wrap = 2
item = {
widget_doctrine_selection_item = {}
}
}
}
I add it between the vboxes for FAITH_DOCTRINES_IMPORTANT and FAITH_DOCTRINES_MARRIAGE.
I am attaching the error log and the gui file (converted to txt file so it can be posted here since files with .gui extensions were not able to be posted)
Does anyone know what could be the problem?
Attachments
Last edited: