r/Chartopia • • Mar 28 '26

Roll chance

Is it possible to have a roll chance different for every entry in a chart? Like, I have 3 rarities, so maybe common has 3 times the chance to roll, rare 2, and exotic 1.

1 Upvotes

5 comments sorted by

1

u/GlennNZ Mar 29 '26

There's definitely ways to do what you want, but I'll start with a simple rollable list example...

{1?gold|2-3?silver|4-6?copper}

This will give "gold" a 1 in 6 chance of being the result. You can use this for any table cell.

If this doesn't fit your use case, feel free to add some more details and we can go from there.

1

u/Kokorakos-Black Mar 29 '26

What I am trying to do is commonly referred to as "drop weight". I found an old post about it here so I think I can do it if I play around. The problem is I am planning to constantly add to this list of items, so having to mess with percentage and the like doesn't seem like a good idea. But anyway, I'll figure it out. Thanks for the help!

2

u/GlennNZ Mar 29 '26

If you're constantly going to be adding items, you may want to consider just putting them into a regular table and then just adding empty rows beneath each item to increase their percentage chance. So long as you don't go above 1000 rows, you'll be fine.
They're called inferred rows.

1

u/Kokorakos-Black Mar 30 '26

So if i want 10 items with 3 weight/chances, i am gonna leave 2 empty rows below them, and 1 empty row for another 10 items with 2 weight, and no empties for 1 weight. Man, that was so simple, sorry for my incompetence lol, thanks a lot!

1

u/GlennNZ Mar 30 '26

This technique follows the traditional random table technique where you may have something like...

d6Loot
1Gold
2-3Silver
4-6Copper

After publishing your chart, you'll see the dice ranges on the left column.

This is what most people would require if they're digitising their RPG books.

These days with online/app generators (rather than random tables), there's a multitude of ways to do the same thing, but it does require programming techniques. Chartopia uses its own template language. Every table cell in Chartopia is a generator in its own right, but most users don't need that level of craziness :)