I'm coding a small game just to get used to renpy, and I'm using 3 sets of points. It's a slice of life short story surrounding a baker starting a new business, and a cat that pesters her and I want certain things to trigger depending on how many points they have. Like I have if you give the cat certain items, the points go up and different things happen that show the cat is attached to the baker, and another is that if the baker has a certain amount of prepared points, a business man comes in and offers them some investment capital, and that sequence of events leads to a meeting with said business man.
The problem I've been having is, I have the points set, and the game runs fine, but those events aren't triggering? Especially the business man showing up: I've tried so many things with that one, like setting a true or false variable, but no matter what I do the same sort of things trigger in the script, and the business man sequence doesn't even show up at all. Here's what I've set in the script for now:
Code: Select all
label start:
$ baking_buffup = 0
$ prepared_points = 0
$ cat_points = 0
label day_2_tally:
if prepared_points >= 2:
jump business_offer
if cat_points >= 6:
jump cat_eats_cookie
if cat_points >= 4:
jump cat_dozing
if cat_points >= 2:
jump cat_chillin
I've also tried this for the business_offer label:
Code: Select all
label start:
$ make_business_plan = False
label day_2_tally:
if make_business_plan == True:
jump business_offer
So yeah, I honestly have no clue what I've done wrong, unless I have to set up where I write the scenes differently? right after I set the points tallies, I write the respective scenes, or do I need to add a different sort of statement to make it work?
Any help would be appreciated!