Hello, I am extremely new to choicescript, I just downloaded it two days ago, and although I’ve already 364 lines in I’ve found myself stumped. I really hope no one has posted this question before because I searched it up on here but couldn’t find it, but I suspect it is just hard to phrase. If it has been posted before I am very sorry.
Basically, I want to make a choice that only appears and can be chosen if you have previously chosen a specific background. In this example, I want an option for someone who has chosen to be an orphan to be able to join a gang.
I have already figured out stat checking, but I do not know how to stat check before a choice to lock it out instead of after you have already chosen it.
If I am being to vague, I got this idea from a gangster choice game where choosing to be poor later gave an extra choice when being pursued by police. I can’t seem to emulate this with my current code, and I really want to keep writing.
My code looks like this, basically I need to find a way to lock out the gang choice and the rich life choice (It is very long because I have a lot of choices at every chance, I am very sorry if it seems overwhelming but I cut out the stat changes for you all):
Interesting. But most of the people in this city got into some type of criminal activity during their teenage years, and seeing where you’ve ended up,I’d say you’re no exception. What type of stuff did you get into?
#I ended up transporting drugs
(Speed+ intelligence+ money+) A courier? I guess that’s as good a start as any. You’d need to learn some speed and how to not look suspicious.
*goto graduate #I got into dealing stolen goods (intelligence++ Money+) A dealer is a great start. You must've learned a lot. *goto graduate #I started shaking down people (Strength++ money+) Basic, but just as effective as any other. *goto graduate #I became a con artist (Charisma+ intelligence money+) You probably learned some charm and some brains for your schemes then. *goto graduate #I joined a teenage fight club (Endurance+ Stamina+ money+) In those days you would've just learned how to take hits since no one knew any real thing about streetfighting back then. Nice experience too. *goto graduate #Me and some other orphans started a gang *If orphan true (Streets+) Now that's what I like to hear! You'll definitely go far in this life. *goto gang #I didn't need to be a criminal since I came from a wealthy family. Instead, I spent my time at high-class partys and schmoozing other wealthy people. (Cops+) Spoiled much? But it don't matter none now. Lucky bastard. *goto rich life