Update: Thanks to both of you for your help! I am able now to get the fatness variable to work!
# The script of the game goes in this file.
# Declare characters used by this game. The color argument colorizes the
# name of the character.
define s = Character("Sophie")
#Kayla is a bottom-heavy blonde with secret feedee and lesbian preferences
define a = Character("Anna")
#Anna is a busty and fit girl with long dyed-red hair.
default sophiefatness = 0
init python:
def tick(amount=1):
global time, time_map
time += amount
if time > len(time_map):
time %= time_map
default time = 0
define time_map = [
"morning",
"day",
"noon",
"afternoon",
"evening",
"night",
"latenight"
]
# The game starts here.
label start:
s "My first day on-campus. You can do this, Sophie. It's just college, almost everybody has done it."
s "I've just gotta study hard, make some friends-"
s "-and avoid that freshman 15 my mom kept warning me about..."
"My cheeks start to turn red, warmth rushing to my face."
s "Why am I blushing over that? W-whatever..."
s "Made it to the apartment I found online. That ad really came in just when I needed it most!"
s "A place this big would be a lot more expensive usually, but there's another roommate here to split the rent with!"
s "I wonder what my roommates will be like?"
s "Time to find out, I guess."
scene dormroomempty
s "Hello? Anybody home?"
a "Yes? Who are you?"
s "Oh! I'm Sophie!"
"The girl stares at me blankly for a moment."
s "I'm uh... your new roommate!"
a "Ohh! You're the one who responded to my ad on Greg's List!"
a "You know, before you came along, I wasn't sure anyone was gonna respond to that ad."
a "I almost forgot about it and planned on posting ads locally instead."
s "W-well I'm glad you didn't! I uh, really needed this place."
"Now that the introductions were done, I took a moment to look at my new roommate for the first time."
"Anna was gorgeous. Seriously, she could be a model! Those beautiful crimson locks, those piercing green eyes, that flawless skin..."
"AND THOSE HUGE TITS! LOOK AT THE SIZE OF THOSE THINGS!"
a "Earth to Sophie? Hello?"
s "Huh? S-sorry I'm here! What did you say, again?"
a "I asked if it was okay to go over a few house rules with you. But if you're so distracted by something right now..."
s "N-no I'm fine! I promise!"
a "Then good. Alright, well, each day, feel free to do whatever you want around here."
a "Though I recommend eating meals and going to class, obviously."
a "If you ever want to hangout or anything like that, just let me know!"
a "Though, I really like my beauty sleep, so I won't be down to hangout in the early morning or late at night."
a "Some things just aren't doable at different times, ya know?"
s "R-right, I guess."
a "With that tutorial, I mean explanation, out of the way, why don't we get something to eat?"
s "Huh?"
a "It's already noon! Surely you need to stop and get some lunch, you've been busy all-day moving!"
s "W-well, maybe..."
"Admittedly, I had already had a decent enough lunch just an hour or two before. I made a sandwich or two back at my parent's place."
"But I wasn't sure if I wanted to pass up an opportunity to get to know my new roommate on the first day, before classes even started!"
menu:
a "So, yes or no on the lunch break?"
"Sounds good to me!":
jump firstbinge
"I kinda wanna get setlled in right now. Maybe another day?":
jump dayonedeny
label firstbinge:
a "Awesome! You're gonna love this!"
"Anna jumped from where she was standing and rushed off to the kitchen, immediately pulling things out of the fridge."
a "I may be a Psychology major, but my REAL passion is cooking!"
s "Oh wow!"
"My mouth began to water a bit as I smelled the distinct scent of cooking meat."
s "Whatcha makin'?"
a "Burgers! I had some frozen ones lying around, and I can make 'em extra special!"
s "Looking forward to it!"
"I waited for around 10-15 minutes while Anna cooked."
a "I hope you're hungry!"
"Anna reappeared with a platter of burger patties stacked high, about 7 of them."
s "This is... a lot of food, Anna!"
a "Sorry, I'm awful at cooking smaller portions of food..."
a "Anything we don't finish is leftovers, okay?"
s "Alright..."
"And so we got to talking a bit. I learned she was a psychology major and culinary arts minor."
"I learned her family owned this property, so she got to live here for basically free."
"I told her that I came here to study art and communications."
"She was a sophomore, I was a freshman."
"And so we kept talking and eating, splitting the tray of burgers..."
"I say 'Splitting' but in reality she only ate two of them. The other five... my bad."
s "Getting... full... ugh."
a "Sorry about that, Sophie."
a "I maybe went overboard for today."
s "It's okay."
a "Just relax a bit and let that digest okay? Won't do you any good to get an upset tummy on the first day here."
s "Fair point..."
"Anna got up and cleaned the whole mess up, before giving me one last look and smiling."
a "I think you and I are gonna get along perfectly, Sophie."
"For some reason, this sent a chill up my spine."
$ sophiefatness += 1
jump daily_choice
label dayonedeny:
a "Oh uh, okay! Fair enough."
a "Feel free to hit me up to hangout, okay?"
"I felt a little bad ditching her, but I'd already eaten lunch."
"Time to start my first day!"
jump daily_choice
#Example menu#
label daily_choice:
if sophiefatness == 1:
a "We did it!"
else:
s "Aww shucks."
# This ends the game.
return
This works as-expected and makes a good base for variable tracking! Thanks all!
Now to figure out how time works. I’m a bit overwhelmed by you guys’ explanations, and I’m trying to get the game to start at afternoon on day 1, progress by 1 stage with each event you choose, and each day starts at morning. Using these actions:
label daily_choice:
menu choices:
"Have breakfast" if time == "morning" or "day":
jump eat_breakfast
"Have lunch" if time == "noon" or "afternoon":
jump eat_lunch
"Have dinner" if time == "evening" or "night":
jump eat_dinner
"Go to class" if time == "morning" or "day" or "noon" or "afternoon":
jump class
"Go to work" if time == "day" or "noon" or "afternoon":
jump work
"Look in the mirror":
jump mirror
"Have a shower":
jump have_shower
"Go shopping" if time == "day" or "noon" or "afternoon" or "evening":
jump go_shopping
"Go to the gym":
jump gym
"Go to the beach":
jump beach
"Go for a run" if time == "morning" or "day" or "noon" or "afternoon" or "evening":
jump park
"Go out partying" if time == "evening" or "night" or "latenight":
jump parties
"Hangout with Anna" if time == "day" or "noon" or "afternoon" or "evening" or "night":
jump hangout
"Wait":
jump wait
"Go to sleep early" if time == "afternoon" or "evening":
jump early_night
"Go to bed" if time == "night":
jump sleep