Dice coding and tick boxes
The ruleset I am designing rolls 2d20 and the goal is to get under a target number derived from adding the score of a discipline an attribute together (Modiphius Star Trek Adventures).
Right now, the base ruleset made by Ian Kirk has it set up so you double-click on each one, which then transfers the value to the modifier window. Then you drag the dice over to roll them. I would like to change this up. Here's is how I was thinking of doing it differently.
First you would tick a box next to the individual discipline and attribute, which would tell the system what the goal is. Then you would roll the dice. Here are my questions. Forgive me if there are a lot of them. I am still very green when it comes to coding.
1) Is there a code to use that I could put a tick box on every attribute and discipline that would only allow me to have one ticked at a time. Meaning, if I tick Command for my discipline, and then I tick the box next to Conn, it would untick the Command one and tick the Conn one. And the same for the attributes.
2) Sometimes you can use a focus, which means normally, when you roll a 1, you get two successes. But when you invoke a focus, then anything blow your Discipline roll counts as two successes. Could I add another tick box in my focus window and when it is checked the system would then use the discipline number as the double success goal.
3) The normal roll is with 2d20, however, when someone assists, they would only roll 1d20. You can also buy d20's so you can roll a max of 5d20. I know I can code it to grab one, and the right click to increase the number of die to roll. Could I add a field that I would put a 1 to 5, and when I roll it will roll that many die?
4) Finally, if you roll a 20, then that counts as a complication. There are certain things that could cause the complication level to go up, so at worse, anything 16 or above is a complication. Would this be as easy as taking the same code for the number field as in #3 to tell the system where the complication range is?
I feel that the best way t do all this would be to have a specific roll windowclass with all the options in it and you would make all the choices there. That way it is all condensed into one area.
Thank you to anyone who is willing to help me, and please forgive the greenness of my knowledge.