Advice for stats page

Hello everyone! I’m currently working on the stats page. Nothing fancy, but the tutorial only shows how to display number stats. I would like to display text to, for example something like this

Steve Parker
Boxing Enthusiast

Stats
Power 10
Technique 10
Physique 10
Mental 10

Abilities
Wild Haymaker - An telegraphed overhand right that’s easy to see coming but hits hard if it connects
Double Jab - Two quick jabs in succession, showing hints of proper technique
Panicked Block - Covers up defensively when pressured, sometimes leaving his body exposed
Desperate Rush - Charges forward with a flurry of arm punches, quickly exhausting himself
Beginner’s Luck - A surprisingly well-executed combination of jab-cross-hook that he practiced extensively in training but can rarely land in actual fights
Last Resort - Throws everything he has into one massive uppercut, completely exposing himself in the process

Items
Sniper rifle
Thermonuclear bomb

So the numbers in “Stats” would change as the game goes on. This part is fine. But for “Abilities”, I’d want to replace them with improved moves as he gains in strength. How do I do that? And for “Items”, I want to add or subtract them as the game progresses, like an inventory.

Thank you! If there’s an updated guide, I’m happy to read it to learn myself, too!

1 Like

If the new abilities are just improved versions of an earlier one, you can just use a Boolean.

*create move_one “Wild Haymaker”

Then let’s say you upgrade it to “Crouching uppercut”

You just need to do

*set move_one “Crouching Uppercut”

then in the stat_screen you just need to do

${move_one}
*line_break
${move_two}
*line_break
${move_three}

And as for a choice, you can just do this…

*choice
    #${move_one}
        *goto first_strike

*label first_strike
*if (move_one   = "Wild Haymaker")
    You unleash a Wild Haymaker.
    *goto next_scene
*else
    You unleash a crouching uppercut.
    *goto next_scene

Hope this helps.

6 Likes

Thank you, this is perfect!

1 Like