I have the table and dice plugin on my generator and does anyone know if it conflicts with the tap plugin? I want to be able to tap on a dice result and have it roll again, rather than reroll the entire set of generators.

Note: On the generator sited , I want to click on the sentence and it rolls it again. I have many more tables to go on this, I just want to get the first one right.

  • VioneTM
    link
    English
    1
    edit-2
    7 months ago

    You could do something like this:

    tap = {import:tap-plugin}
    
    actionOut
      You rolled [n = dice("1d100")] so your [rollTable(action, n)].
    ...
    

    You create a new list that was in your HTML. Then on your HTML:

    ...
    <h3>The Action Table: 
    <br>When in doubt roll this!</h3>
    [tap(actionOut)]
    <br>
    ...
    

    It would make the text of bold, which means you can then now tap them.

    • @ValdusOP
      link
      English
      17 months ago

      It works, wow, thank you so much!