Let's imagine that I have something like this - will share full version of that soon as Mythras initiated generator
{
"name": "Siblings",
"entries": [
{
"m": 10,
"v": "None"
},
{
"m": 20,
"v": "{dice:1d4} siblings"
},
{
"m": 40,
"v": "{dice:1d6} siblings"
},
{
"m": 20,
"v": "{dice:1d8} siblings"
},
{
"m": 10,
"v": "{dice:1d10} siblings"
}
]
},
What would be a reasonable way of making the output be
3 sisters and 4 brothers instead of seven siblings
I have done this for grandparents by using multiple tables connected but it is a bit awkward way...
I have similar generators coming up later.
{
"name": "Siblings",
"entries": [
{
"m": 10,
"v": "None"
},
{
"m": 20,
"v": "{dice:1d4} siblings"
},
{
"m": 40,
"v": "{dice:1d6} siblings"
},
{
"m": 20,
"v": "{dice:1d8} siblings"
},
{
"m": 10,
"v": "{dice:1d10} siblings"
}
]
},
What would be a reasonable way of making the output be
3 sisters and 4 brothers instead of seven siblings
I have done this for grandparents by using multiple tables connected but it is a bit awkward way...
I have similar generators coming up later.