It might not work because I don’t know ChoiceScript and the way your check works but it seems the roll and result are executed together so first making the roll and then going to a separate passage could solve it? By that I mean something like:
# make the roll
*label outcome or *goto outcome
*if roll = sucess
*else
In Breach: The Archangel there is a system for rolls but not sure if it would be comparable or if there are available resources for roll checks
Unfortunately, it’s a known issue and not something you can do a lot about, maybe aside from putting a page between a roll and matching it to the outcome (I saw that solution somewhere). As for Maxim’s system, I had a thread somewhere where he laid down how to make (a somewhat complicated) dice roll system. But I don’t think it’s an issue if people cheat.
Adding a *page break after the *rand before the result is shown is a good way to prevent people from going to the show stats page and going back to reroll the dice, because the dice is already rolled when it turns to the next page to show the results.
That being said… I specifically added a cheat code into my game where you can reroll cheats by doing that exact same thing, so… yeah, honestly, it’s up to you as a writer and coder.
@dawn@saggittarius@MichaelMaxwell Thanks a lot for the suggestion. I tried the page_break method but it seems that it is not working. But I guess that is fine, because I don’t really mind people going to stat page and cheat.
I appended my edited codes below just in case.
*label roll
*rand dice_roll 0 10
*page_break
*if (display_roll = true) and (use_roll = true)
[You rolled a ${dice_roll}.]
*if use_roll = true
*if (dice_roll >= target)
*set state false
*if dice_roll < target
*set state true
*if use_roll = false
*if (difficulty > target )
*set state false
*if difficulty <= target
*set state true
*return
I’m not quite sure how the *page_break works, but it works often when there’s text prior to the page break, so that it doesn’t skip to the next page it reaches that point.
If that doesn’t work then, well, I guess I don’t quite know how else it would work, sorry
Your explanations seem fairly clear for the most part, though I did notice some slight spelling mistakes
“Intelligence : A measure of your brilliance. It is the main casting attribute for Arcane Sigils, and it affects checks that test you intuition and logic.”
“Willpower : A measure of your common sense. It is the main casting attribute for Divine Sigils, and it affects checks that test you perception and resolve.”
“Charm : A measure of your glibness. It is the main casting attribute for some of the Arcane Sigils, and it affects checks that test you ability to persuade and deceive.”
Angst, romance, supernatural, royalty, and more! What else could a reader ask for?! On a serious note, I am loving the book so far. It’s well-written, has intriguing characters, and really let’s you get absorbed into the story.
Thank you! I’m glad that you like it. I have a perchance of making the plotline convoluted (for fun). Happy that the plot does what I intend instead of tanking the readability of the story. And I am happy that you find my WIP well-written - for a non-native speaker, that’s probably the highest praise I can receive!
So, I just updated chapter 5, adding about 20k words to the story. There might be some bugs in the code, and I will fix them gradually during the next few days.
In this chapter, you can:
Meet Mori, the mysterious envoy from the North.
Tell Ateus to bugger off (basically, a chance to switch your allegiance).
Ally with Ulfric (finally!)
Annoy the Hand and learn their secrets (Hint: it is pretty counter-intuitive)
Two kiss scenes from 2 different ROs!
I will post a poll below. It is a spoiler but I need that to see which route I should focus on first. This chapter creates a major branching point that exponentially increases the complexity of future chapters.
As a personal worship’s Greek godsI know they have humanity It is a good story to read Because it shows you your God has humanity it has its faults and its weaknesses No different than any other human being
Okay, the chapter ends after the mercenary runs out from the tavern, i havnt met Wolfy (Ulfric) Whether the meeting is to take place before or after the tavern scene ?