aranginor wrote: ↑Mon Aug 05, 2019 11:18 am
sorry for the lack of instructions.
- In the images table, you must set hasImage to 1 when you add a graphic. Since there is no way to test if a table has a graphic (I spoke with Phergus and Aliasmask), I use a setting to know if I should get the graphic.
I probably would have just dropped placeholder graphics into the spots, like a big black dot... or I could make a super basic placeholder graphic set if you'd like that to be used by default if you are adding a new graphic set. Or, literally, just copy everything about the default Theme (graphics included) into the new Graphic set.
- When using an all graphic theme, we don't want padding between the cell tables. However, when we have text instead of graphics we need padding on the cell tables or the links run together. So to figure out whether to use padding or not, I check Bloodlines, Rules, and Schools for graphics. If ANY one of them doesn't have a graphic, we use padding.
But none of this should have caused the error listed.
I see... that got complicated. :/
If you want to preserve the ability to use a text link instead of graphics, it seems like we need some kind of "Theme Editor" that has to be run after adding graphics to set that hasImage switches and Theme name, etc.
Btw, now that I think of it... after "Expanding" the graphics... I went straight to the Theme selector and saw that there was something called "Theme 4"... so that's what I used to break things. I was a little surprised to see that since I probably *should* have gone to Graphics to see if there was a new graphic option to select to *build* a new Theme. Those two things are a little intertwined now which could be confusing to some people (me included, apparently.)
The graphics may be one of the most "obvious" parts of a theme (besides the frame), but it's really just a part of the theme. So when I make a graphic set and give it a name, that probably shouldn't necessarily be used for "Themes" (except maybe something like "Spellfire Default".) Know what I mean? I think when "expanding graphics" you should probably ask for a Graphic Set name *and* create a Theme Default for it.
Note: Cross posting... getting the new version now...