define filelist = renpy.list_files()
define containsspecialname = sorted([s.find("DIZ_COULDN'T_THINK_OF_A_FUNNY_NAME.RATIO") for s in filelist])
define directory = filelist[[s.find("DIZ_COULDN'T_THINK_OF_A_FUNNY_NAME.RATIO") for s in filelist].index(containsspecialname[containsspecialname.__len__()-1])]# I do be a little gay
define dirname = directory[directory.index("/")+1:directory.index("DIZ_COULDN'T_THINK_OF_A_FUNNY_NAME.RATIO")] #the directory I need
define cwd = "mods/" + dirname + "/" #hehe we do a little bit of stealing

init python:
    mod_menu_access += [{
        'Name': "Dinner Delights",
        'Label': "dindin"
    }];
#Credits:
#Caliber - Code for directories
#Diz - Funny Name Thinking (Fired)
#Bob - Homosexuality Coach
#Faust - Emotional Support
#Splash - Weeb
#Me - everything else and for ego fuel
#Backgrounds
#Going Forward Remember to use Caliber's Code

#Character Defines
define base = Character (ctc="ctc_end_marker", ctc_pause="ctc_mid_marker", ctc_timedpause=Null(), ctc_position="nestled")
define Ton = Character (_('Tony'), base, color="#FFFF00", who_outlines=[(gui.name_text_thickness, '#000000')]) # Yellow
define Cas = Character (_('Cassandra'), base, color="#800020", who_outlines=[(gui.name_text_thickness, '#000000')]) # Burgandy
define Mia = Character (_('Mia'), base, color="#FF0000", who_outlines=[(gui.name_text_thickness, '#000000')]) # Red

#Character Positioning
transform turnaround:
    linear 0.1 xzoom 1
transform level:
    yalign -0.35
#BG
image dinner = cwd + "/assets/diningroom.png"

#Mia
image mia neutral = cwd + "/assets/mia neutral.png"
image mia angry = cwd + "/assets/mia angry.png"

image mia considering = cwd + "/assets/mia considering.png"
image mia cringe = cwd + "/assets/mia cringe.png"
image mia eating = cwd + "/assets/mia eating.png"
image mia furious = cwd + "/assets/mia furious.png"
image mia shocked = cwd + "/assets/mia shocked.png"
image mia smug = cwd + "/assets/mia smug.png"
image mia surprised = cwd + "/assets/mia surprised.png"
image mia thinking = cwd + "/assets/mia thinking.png"
image mia thumbsup = cwd + "/assets/mia thumbsup.png"

#Cassandra
image cass neutral = cwd + "/assets/cass neutral.png"
image cass considering = cwd + "/assets/cass considering.png"
image cass angry = cwd + "/assets/cass angry.png"
image cass explanatory = cwd + "/assets/cass explanatory.png"
image cass stern = cwd + "/assets/cass stern.png"
image cass ugh = cwd + "/assets/cass ugh.png"
image cass huh = cwd + "/assets/cass huh.png"
image cass uhoh = cwd + "/assets/cass uhoh.png"
image cass ohshit = cwd + "/assets/cass ohshit.png"

#Tony
image tony neutral = cwd + "/assets/tony neutral.png"
image tony explanatory = cwd + "/assets/tony explanatory.png"
image tony unimpressed = cwd + "/assets/tony unimpressed.png"
image tony confused = cwd + "/assets/tony confused.png"
image tony stern = cwd + "/assets/tony stern.png"
image tony laugh = cwd + "/assets/tony laugh.png"


#Naomi
image Naomi neutral = cwd + "/assets/naomi neutral.png"
image Naomi glum = cwd + "/assets/naomi glum.png"
image Naomi angry = cwd + "/assets/naomi angry.png"
image Naomi surprise blush = cwd + "/assets/naomi surprise blush.png"
image Naomi happy = cwd + "/assets/naomi happy.png"
image Naomi stern = cwd + "/assets/naomi stern.png"
image Naomi roar = cwd + "/assets/naomi roar.png"
image Naomi shocked = cwd + "/assets/naomi shocked.png"
image Naomi explanatory = cwd + "/assets/naomi explanatory.png"
