I’m having trouble setting up personalized stats and ensuring that with each choice that you make actually changes the stats on the stat screen. I know I messed up, like badly, I wasn’t smart enough to catch it before I went, oh, this works, I finally found the perfect solution. I literally worked on this for hours straight and got nowhere.
I have 16k down in words, not code, I suck at coding. But I really want to make this game work, and to tell a story…and yeah. I’m at my wits end and about to smash my head into my computer. I’ve tried searching, looking at various variables, setting, template, create, etc. If anyone could even help the slightest bit it would mean a lot. I think I’ve tried everything at this point, and I’m barely at the tip of the iceberg in terms of coding. I hope there’s even a solution to how badly I messed up/uninterpreted coding.
My stat code looks like this:
[b]Personaliy[/b]
*stat_chart
percent strength Kicker
percent strength Grinner
percent strength Promiser
percent strength Threatener
percent strength Hider
*choice
#Skills
*goto_scene skills_stats
#Tiredness
*goto_scene tired
#Popularity & Relationships
*goto_scene Pop_Rel
#Police Records
*goto_scene Police_Records
#Study Stats
*choice
#Peronality
*goto_scene Expl_Pers
#Skills
*goto_scene Expl_Skil
#Tiredness
*goto_scene Expl_Tire
#Popularity & Relationships
*goto_scene Expl_Pop
#Police Records
*goto_scene Expl_Pol
Game code looks like this
*scene_list
startup
*create returning_label ""
*create poetic true
*create strength 0
*create leadership 3
*create kicker 0
*create grinner 0
*create promiser 0
*create threatener 0
*create hidden 0
*create power 0
Chief Mingo lets out a sigh. “Listen, kid, I understand that you don't like your new school, but you can't run away.” A dried chuckle rang out. “There's not much you can do if I catch you the next time you run. Especially seeing as this is your first day here.“
*choice
#You huff and kick the seat, foot digging in. "Yeah right. Who'd wanna go to a crap school like that anyway?"
*set power +1
Chief Mingo shakes his head. "That school happens to be your new home. And they're the only school that's left that'll take you in." He looks at you through the rearview mirror. "The other ones expelled you, and they won't accept your record. This is your best shot, your only shot." He looks away as his fingers tighten on the wheel. "So try not to screw it up more than you already have okay? I don't want to see you throw your life away. There's still a chance y'know?"
*finish
#You grin. "Wanna bet?" You lean back in your seat, cool leather soothing your skin. "I bet I can outrun you even while running backward old man."
Chief Mingo grins back at you through the rearview mirror. "I would hold you to that, but it's my civic duty as an officer to not bet with convicts." You see that his expression has turned a comic still stoic, yet you see the corners of his lips turn up. "When the badge is off I'l race you. How about that?"
*set grinner +1
*finish
#You cast your eyes down as your hand goes to scratch the back of your neck. Your other hand lays against your leg and your fingers twitch as you say, "Yeah, it won't happen again. Promise."
Chief Mingo smiles at you through the rearview mirror. "Thanks." He releases a breath and his grip relax on the wheel. "I hope you mean it this time." He blinks and it looks like he's reeling himself in. "What about a truce? I think that this day will go by a lot faster if you're sitting instead of running across town."
*set promiser +1
*finish
#You stare at him in the rearview mirror and speak with a flat tone, "You can’t run with broken legs.”
Chief Mingo doesn't react at first, but when he does you see his eyes change, full of what you think is disbelief. "Did you just-" A laugh barks out of him. "You must be a confident kid if you’re going to threaten a cop like that.” His body does a light shudder. He seems to shake it off when he cocks his head as he looks at you in the rearview mirror. He opens it mouth then it shuts. "Impossible. There's no way a kid can break a grown man's legs.”
*set threatner +1
*finish
#You lock eyes with him and say nothing while you reach into your pocket and find a “hidden” middle finger.
Chief Mingo frowns at you. "You're not the nicest kid are you?" He looks between your face and your proud standing middle finger. He seems to withhold utter despair and he closes his eyes, opens them, blinks then runs a hand trough his hair."What am I going to do with you?" He breathes and he again looks back to see it. He narrows his eyes at you through the rearview mirror. "I'm not going to play this game you have going on here."
*set hidden +1
*finish