HOW TO: Create points counter at the end of the chapter

I want to create a final scene where the reader can see his/her character points counters for Friendship, Bravery and Honesty and have a gems option to max those points but I don’t really know how to code that.
Any help? Suggestions? Please!

1 Like

Here are some guides I use religiously as I’m a newer coder :smiling_face_with_three_hearts:

gains and if/elif/else help →

2 Likes

For showing points:

Gem choice afterwards:
NARR
Would you like to max out your points?
choice
<GEMS:5>”Yes, top up my points!”{
@BRAVERY = 10
@FRIENDSHIP = 10
@HONESTY = 10
}”No, thanks.”{
}

The number beside the “gems” is variable, you can select from a drop down menu of 5, 8, 12 etc.
The = 10 is just an example of the maximum points, you can substitute your max value into those to fit your story.
You’ll also need to create characters called BRAVERY, FRIENDSHIP and HONESTY if you haven’t already. :blush:

2 Likes

Thanks to both of you! :sparkling_heart: :sparkling_heart: :sparkling_heart:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.