Use define for constants

(cherry picked from commit bbc1df1ea6)
This commit is contained in:
Gouvernathor 2023-11-15 21:34:14 +01:00 committed by LoafyLemon
parent c908f2e90b
commit 0a6b5e41df

View File

@ -4,74 +4,75 @@ init python:
default stats_show_locked = False default stats_show_locked = False
define her_whoring_word_list = ("Pure", "Naive", "Curious", "Naughty", "Perverse", "Immoral", "Slutty", "Shameless", "Cumslut", "Total Cumslut", "Shameless Cumslut")
define her_reputation_word_list = ("Teacher's pet", "School star", "good girl", "minx", "slutty schoolgirl", "easy lay", "whore", "slut for sex", "gryffindor whore", "school cumdump", "mudblood cumdump")
#$ slutWords = ["Teacher's pet", "School star", "good girl", "headmaster's pet", "slutty schoolgirl", "slut", "headmaster's slut", "daddy's girl", "gryffindor slut", "Dumbledore's whore", "Dumbledore's cumdump"]
define her_tutoring_word_list = ("Not started", "naive", "tempted", "curious", "tainted", "eager", "sinful", "perverted", "corrupted", "depraved", "shattered")
define her_mood_word_list = ("Cheerful", "Reluctant", "Gloomy", "Stern", "Slightly Annoyed", "Annoyed", "Upset", "Outraged", "Mad", "Angry", "Very Angry")
#$ ast_cuteness_word_list = ["Ugly Duckling", "Swot", "", "", "", "", "", "Cutypie", "", "", ""]
define ast_mood_word_list = ("Cheerful", "Reluctant", "Gloomy", "Stern", "Slightly Annoyed", "Annoyed", "Upset", "Outraged", "Mad", "Angry", "Very Angry")
define cho_whoring_word_list = ("Incorruptible", "Focused", "Resilient", "Bi-Curious", "Naughty", "Immoral", "Perverse", "Slutty", "Shameless", "Cumslut", "Shameless Cumslut")
define cho_reputation_word_list = ("Tomboy", "Team Player", "Quidditch Star", "Flying Ace", "Minx", "Manipulative", "Exploiting", "Cheater", "Team's Cumdump", "Quidditch Whore", "Cheating Slut")
define cho_mood_word_list = ("Cheerful", "Reluctant", "Gloomy", "Stern", "Slightly Annoyed", "Annoyed", "Upset", "Outraged", "Mad", "Angry", "Very Angry")
# $ sna_support_word_list = ["Tight-Arse", "Miser", "Stingy", "Sparing", "Adequate", "Loose", "Easy", "Generous", "Frivolous", "Excessive", "Exorbitant"]
define sna_friendship_word_list = ("Unknown", "Colleague", "Confidant", "Trusted", "Acquaintance", "Friend", "Good friend", "Homie", "If I had to pick a dude...", "BFF", "Bros")
define ton_reputation_word_list = ("Teacher", "Bore", "Weirdo", "A Bit Nutty", "Easy Going", "Tart", "Naughty Teacher", "Slutty Teacher", "Slag", "Shameful", "Disgrace")
# $ ton_support_word_list = ["Undecided", "Modest", "Candid", "Unbiased", "Positive", "Fair", "Neutral", "Biased", "Scummy", "Cruel", "Heartless"]
define ton_friendship_word_list = ("Unknown", "inferior", "employee", "advisor", "trusted advisor", "Acquaintance", "friend", "Girlfriend", "Partner in crime", "Bonnie & Clyde", "Master & Slave")
#$ ton_sluttiness_word_list = ["Masochist", "Disgrace", "Street Whore", "Harlot", "Tart", "Sexually open", "Naughty Teacher", "Easy Going", "Professor", "Bore", "Nun"]
label update_stats: label update_stats:
### Hermione ### ### Hermione ###
# Whoring # Whoring
$ her_whoring_word_list = ["Pure", "Naive", "Curious", "Naughty", "Perverse", "Immoral", "Slutty", "Shameless", "Cumslut", "Total Cumslut", "Shameless Cumslut"]
$ her_whoring_word = her_whoring_word_list[int(min(states.her.level, 24)/2.4)] $ her_whoring_word = her_whoring_word_list[int(min(states.her.level, 24)/2.4)]
# Reputation # Reputation
$ her_reputation_word_list = ["Teacher's pet", "School star", "good girl", "minx", "slutty schoolgirl", "easy lay", "whore", "slut for sex", "gryffindor whore", "school cumdump", "mudblood cumdump"]
#$ slutWords = ["Teacher's pet", "School star", "good girl", "headmaster's pet", "slutty schoolgirl", "slut", "headmaster's slut", "daddy's girl", "gryffindor slut", "Dumbledore's whore", "Dumbledore's cumdump"]
$ her_reputation_word = her_reputation_word_list[int(min(states.her.public_level, 24)/2.4)] $ her_reputation_word = her_reputation_word_list[int(min(states.her.public_level, 24)/2.4)]
# Tutoring # Tutoring
$ her_tutoring_word_list = ["Not started", "naive", "tempted", "curious", "tainted", "eager", "sinful", "perverted", "corrupted", "depraved", "shattered"]
$ her_tutoring_word = her_tutoring_word_list[int(states.her.ev.tutoring.stage/1.5)] $ her_tutoring_word = her_tutoring_word_list[int(states.her.ev.tutoring.stage/1.5)]
# Mood # Mood
$ her_mood_word_list = ["Cheerful", "Reluctant", "Gloomy", "Stern", "Slightly Annoyed", "Annoyed", "Upset", "Outraged", "Mad", "Angry", "Very Angry"]
$ her_mood_word = her_mood_word_list[int(min(states.her.mood, 10)/1.0)] $ her_mood_word = her_mood_word_list[int(min(states.her.mood, 10)/1.0)]
### Astoria ### ### Astoria ###
#call astoria_clothing_level #call astoria_clothing_level
#$ ast_cuteness_word_list = ["Ugly Duckling", "Swot", "", "", "", "", "", "Cutypie", "", "", ""]
#$ ast_cuteness_word = ast_cuteness_word_list[int(ast_clothing_level/10)] #$ ast_cuteness_word = ast_cuteness_word_list[int(ast_clothing_level/10)]
# Mood # Mood
$ ast_mood_word_list = ["Cheerful", "Reluctant", "Gloomy", "Stern", "Slightly Annoyed", "Annoyed", "Upset", "Outraged", "Mad", "Angry", "Very Angry"]
$ ast_mood_word = ast_mood_word_list[int(min(states.ast.mood, 10)/1.0)] $ ast_mood_word = ast_mood_word_list[int(min(states.ast.mood, 10)/1.0)]
### Cho ### ### Cho ###
# Whoring # Whoring
$ cho_whoring_word_list = ["Incorruptible", "Focused", "Resilient", "Bi-Curious", "Naughty", "Immoral", "Perverse", "Slutty", "Shameless", "Cumslut", "Shameless Cumslut"]
$ cho_whoring_word = cho_whoring_word_list[int(min(states.cho.level, 24)/2.4)] $ cho_whoring_word = cho_whoring_word_list[int(min(states.cho.level, 24)/2.4)]
# Reputation # Reputation
$ cho_reputation_word_list = ["Tomboy", "Team Player", "Quidditch Star", "Flying Ace", "Minx", "Manipulative", "Exploiting", "Cheater", "Team's Cumdump", "Quidditch Whore", "Cheating Slut"]
$ cho_reputation_word= cho_reputation_word_list[int(min(states.cho.public_level, 24)/2.4)] $ cho_reputation_word= cho_reputation_word_list[int(min(states.cho.public_level, 24)/2.4)]
# Mood # Mood
$ cho_mood_word_list = ["Cheerful", "Reluctant", "Gloomy", "Stern", "Slightly Annoyed", "Annoyed", "Upset", "Outraged", "Mad", "Angry", "Very Angry"]
$ cho_mood_word = cho_mood_word_list[int(min(states.cho.mood, 10)/1.0)] $ cho_mood_word = cho_mood_word_list[int(min(states.cho.mood, 10)/1.0)]
### Snape ### ### Snape ###
# # Support # # Support
# $ sna_support_word_list = ["Tight-Arse", "Miser", "Stingy", "Sparing", "Adequate", "Loose", "Easy", "Generous", "Frivolous", "Excessive", "Exorbitant"]
# $ sna_support_word = sna_support_word_list[int(min(sna_support, 15)/1.5)] # $ sna_support_word = sna_support_word_list[int(min(sna_support, 15)/1.5)]
# Friendship # Friendship
$ sna_friendship_word_list = ["Unknown", "Colleague", "Confidant", "Trusted", "Acquaintance", "Friend", "Good friend", "Homie", "If I had to pick a dude...", "BFF", "Bros"]
$ sna_friendship_word = sna_friendship_word_list[int(min(states.sna.level, 100)/10)] $ sna_friendship_word = sna_friendship_word_list[int(min(states.sna.level, 100)/10)]
### Tonks ### ### Tonks ###
# Reputation # Reputation
$ ton_reputation_word_list = ["Teacher", "Bore", "Weirdo", "A Bit Nutty", "Easy Going", "Tart", "Naughty Teacher", "Slutty Teacher", "Slag", "Shameful", "Disgrace"]
$ ton_reputation_word = ton_reputation_word_list[int(min(states.ton.public_level, 24)/2.4)] $ ton_reputation_word = ton_reputation_word_list[int(min(states.ton.public_level, 24)/2.4)]
# Support # Support
# $ ton_support_word_list = ["Undecided", "Modest", "Candid", "Unbiased", "Positive", "Fair", "Neutral", "Biased", "Scummy", "Cruel", "Heartless"]
# $ ton_support_word = ton_support_word_list[int(min(ton_support, 12)/1.2)] # $ ton_support_word = ton_support_word_list[int(min(ton_support, 12)/1.2)]
# Friendship # Friendship
$ ton_friendship_word_list = ["Unknown", "inferior", "employee", "advisor", "trusted advisor", "Acquaintance", "friend", "Girlfriend", "Partner in crime", "Bonnie & Clyde", "Master & Slave"]
$ ton_friendship_word = ton_friendship_word_list[int(min(states.ton.level, 100)/10)] $ ton_friendship_word = ton_friendship_word_list[int(min(states.ton.level, 100)/10)]
#$ ton_sluttiness_word_list = ["Masochist", "Disgrace", "Street Whore", "Harlot", "Tart", "Sexually open", "Naughty Teacher", "Easy Going", "Professor", "Bore", "Nun"]
#$ ton_sluttiness_word = ton_sluttiness_word_list[int(ton_clothing_level/10)] #$ ton_sluttiness_word = ton_sluttiness_word_list[int(ton_clothing_level/10)]
return return
@ -275,7 +276,7 @@ screen stats_menuitem(xx, yy):
if current_item["flag"]: if current_item["flag"]:
add susan.image zoom 0.4 align (0.65, 1.0) xzoom 1 add susan.image zoom 0.4 align (0.65, 1.0) xzoom 1
else: else:
add "interface/characters/susan_locked.webp" zoom 0.4 align (0.65, 1.0) xzoom 1 add "interface/characters/susan_locked.webp" zoom 0.4 align (0.65, 1.0) xzoom 1
frame: frame:
style "empty" style "empty"