>>717999171
That will be a lot of work. Because of the AI's positivity bias it will be hard to have it actually be true to the "Dice rolls". With a SillyTavern you can use {{random::X::Y::Z}} or {{roll:1d20}} macro's to make it more true to a dice roll, but forcing it to use the numbers you generate. But this requires you feed it instructions for this and reinforce it with a high priority prompt to use those rolls for outcomes, but you'll need find a way to make this prompt as dynamic as possible, or prepare to edit it often to suit the different scenarios and conflicts that happens..
Although this is very old now, Not sure if a new or better preset has been made. But I think characterProviders CYOA prompt is a good start to test the waters and see how you like CYOA format.. Then based on that you can modify it to be more DND like and use rolls via macros.
>https://rentry.org/CharacterProvider-CYOARPG