PDA

View Full Version : xml for rolling multiple dice on a table?



crleonhard
February 26th, 2021, 18:27
13:56 ETA It looks like the presence of the <dice> tag in the campaign moduledb was the problem. Manually adding custom dice through the UI and then deleting them leaves an empty <dice> tag there which seems to override any <dice> specified in the reference module. Manually editing the moduledb to delete the empty tag got it working again.

13:30 ETA Actually, "d10,d10" is working in another table... It looks like there's something else wrong with this particular one. Disregard!

I've got a table defined in a module's client.xml (for FGC CoreRPG), and I'm trying to have it roll 2d10 instead of a single die. If you drag 2d10 onto a table as a custom roll, it's saved to the campaign moduledb as <dice type="dice">d10,d10</dice> and works fine, but this doesn't seem to work in the table definition, nor does "2d10"...

Zacchaeus
February 26th, 2021, 20:41
Yes; if you make changes to a module which is open in the campaign then the data gets written to a file inside the moduledb folder rather than to the campaign db.xml. So if you want to edit something in a module like that, first make a copy of whatever it is and then edit the copy. That way the data stays inside the campaign.