forked from SilverStudioGames/WTS
LoafyLemon
3ce6198359
* Converted Hermione's public requests into the queue system. * Replaced event checks with status checks for the affected events. * Ignore local labels in event completion tracking * Improved readability for debug outputs * Skip Luna intro on dev
157 lines
7.5 KiB
Plaintext
157 lines
7.5 KiB
Plaintext
|
|
# General states
|
|
|
|
default states.her.tier = 1
|
|
default states.her.level = 0
|
|
default states.her.public_tier = IntLike(_her_public_tier)
|
|
default states.her.public_level = 0
|
|
default states.her.mood = 0
|
|
default states.her.unlocked = False
|
|
default states.her.busy = False
|
|
default states.her.gifted = False
|
|
default states.her.favors_unlocked = False
|
|
default states.her.favors_convinced_stage = 0
|
|
default states.her.wardrobe_unlocked = False
|
|
default states.her.wardrobe_scheduling = True
|
|
default states.her.chatted = False
|
|
default states.her.map_location = "library"
|
|
|
|
# Sexual activity states
|
|
|
|
default states.her.status.voyer = False
|
|
default states.her.status.show_bra = False
|
|
default states.her.status.show_tits = False
|
|
default states.her.status.show_panties = False
|
|
default states.her.status.show_pussy = False
|
|
default states.her.status.stripping = False #stripping should be prioritised for most clothing checks
|
|
default states.her.status.cumshot = False
|
|
default states.her.status.handjob = False
|
|
default states.her.status.kissing = False
|
|
default states.her.status.titjob = False
|
|
default states.her.status.blowjob = False
|
|
default states.her.status.gokkun = False
|
|
default states.her.status.masturbating = False
|
|
default states.her.status.sex = False
|
|
default states.her.status.creampie = False
|
|
default states.her.status.anal = False
|
|
default states.her.status.anal_creampie = False
|
|
|
|
# Sexual activity states (public)
|
|
|
|
default states.her.status.public_voyer = False
|
|
default states.her.status.public_show_bra = False
|
|
default states.her.status.public_show_tits = False
|
|
default states.her.status.public_show_panties = False
|
|
default states.her.status.public_show_pussy = False
|
|
default states.her.status.public_stripping = False
|
|
default states.her.status.public_cumshot = False
|
|
default states.her.status.public_handjob = False
|
|
default states.her.status.public_kissing = False
|
|
default states.her.status.public_titjob = False
|
|
default states.her.status.public_blowjob = False
|
|
default states.her.status.public_gokkun = False
|
|
default states.her.status.public_masturbating = False
|
|
default states.her.status.public_sex = False
|
|
default states.her.status.public_creampie = False
|
|
default states.her.status.public_anal = False
|
|
default states.her.status.public_anal_creampie = False
|
|
default states.her.status.public_groping = False
|
|
|
|
# Event flags
|
|
|
|
default states.her.ev.tutoring.offered = False
|
|
default states.her.ev.tutoring.unlocked = False
|
|
default states.her.ev.tutoring.stage = 1
|
|
default states.her.ev.intro.masturbated = False # Genie jerked off during the first encounter.
|
|
default states.her.ev.intro.e1_complete = False # 1st visit
|
|
default states.her.ev.intro.e2_complete = False # 2nd visit, MRM + informed the Ministry.
|
|
default states.her.ev.intro.e3_complete = False # 3rd visit, did she fail a test?
|
|
default states.her.ev.intro.e4_complete = False # 4th visit, she's crying. Failed a test.
|
|
default states.her.ev.intro.e5_complete = False # 5th visit, asks to be tutored, summon unlocked.
|
|
default states.her.ev.intro.convinced = False # Tonks convinces Hermione to sell favours.
|
|
default states.her.ev.intro.e6_complete = False # 6th visit, asks to buy favours, favours unlocked.
|
|
default states.her.ev.admire_breasts_T2_intro_E1.failed = False
|
|
default states.her.ev.panty_thief.soaked = False # Temp var, genie procures Hermione's panties and cums on them, resets once returned.
|
|
default states.her.ev.forest_bj.stage = 1
|
|
default states.her.ev.sealed_scroll.sample = False
|
|
default states.her.ev.sealed_scroll.examined = False
|
|
default states.her.ev.cardgame.known = False
|
|
default states.her.ev.cardgame.has_cards = False
|
|
default states.her.ev.cardgame.stage = 0
|
|
default states.her.ev.promote_cardgame.offered = True
|
|
default states.her.ev.promote_cardgame.first_time = True
|
|
default states.her.ev.promote_cardgame.helped = False
|
|
default states.her.ev.buttplugs.magic_known = False
|
|
default states.her.ev.buttplugs.medium_question = False
|
|
default states.her.ev.dance_for_me.strip_asked = False # Asked hermione to strip during dancing.
|
|
default states.her.ev.dance_for_me.snape_invited = False # Invited Snape to watch Hermione strip for you both.
|
|
default states.her.ev.dance_for_me.snape_masturbate_stage1 = False
|
|
default states.her.ev.dance_for_me.snape_masturbate_stage2 = False
|
|
default states.her.ev.suck_it.snape_encounter = False
|
|
default states.her.ev.suck_it.tonks_encounter = False
|
|
default states.her.ev.suck_it.luna_encounter = False
|
|
default states.her.ev.give_me_a_handy.cock_kiss = False
|
|
default states.her.ev.yule_ball.variant = "personal"
|
|
default states.her.ev.yule_ball.e1_complete = False
|
|
default states.her.ev.yule_ball.e2_complete = False
|
|
default states.her.ev.yule_ball.e3_complete = False
|
|
default states.her.ev.yule_ball.e4_complete = False
|
|
default states.her.ev.yule_ball.gave_dress = False
|
|
default states.her.ev.yule_ball.started = False
|
|
default states.her.ev.yule_ball.complete = False
|
|
default states.her.ev.magic_collar.worn = False
|
|
default states.her.ev.vibrators.seen = False # Has Genie offered her the vibrators?
|
|
default states.her.ev.vibrators.worn = False # Has Hermione agreed to wear the vibrators?
|
|
default states.her.ev.vibrators.public_complete = False # Has completed at least once public event?
|
|
default states.her.ev.vibrators.public_stage = 0 # Stage 0 - Hadn't worn vibrators in public, Stage 1 - Had worn vibrators in public (low), Stage 2 - Had worn vibrators in public (high)
|
|
default states.her.ev.vibrators.personal_complete = False # Has completed at least once personal event?
|
|
default states.her.ev.potions.ass_expand_drank = False
|
|
default states.her.ev.potions.ass_expand_public_complete = False
|
|
default states.her.ev.potions.ass_expand_complete = False
|
|
default states.her.ev.potions.ass_expand_tried_fingering = False
|
|
default states.her.ev.potions.breast_expand_drank = False
|
|
default states.her.ev.potions.breast_expand_known = False
|
|
default states.her.ev.potions.breast_expand_groped = False
|
|
default states.her.ev.potions.breast_expand_public_low_complete = False
|
|
default states.her.ev.potions.breast_expand_public_high_complete = False
|
|
default states.her.ev.potions.polyjuice_drank = False
|
|
default states.her.ev.potions.polyjuice_cat_drank = False
|
|
default states.her.ev.potions.polyjuice_cat_blowjob = False
|
|
default states.her.ev.potions.polyjuice_cat_furry = False
|
|
default states.her.ev.potions.polyjuice_luna_drank = False
|
|
default states.her.ev.potions.polyjuice_luna_nude = False
|
|
default states.her.ev.maid.intro_complete = False
|
|
default states.her.ev.talk_to_me.caught_masturbating = False
|
|
default states.her.ev.flirt_with_students.done_before = False
|
|
|
|
default her_level_up = None # TODO: This var is used in an overly complicated manner, it should be removed once the issues are resolved.
|
|
default current_job = None # TODO: Jobs should be using event class with enqueue feature instead.
|
|
|
|
# Names
|
|
|
|
default name_genie_hermione = "Sir"
|
|
default name_hermione_genie = "Miss Granger"
|
|
|
|
init python early:
|
|
# Public requests design is flawed at its core to the point it would
|
|
# require going back to the drawing board, so instead, we will
|
|
# simulate tiers without spending weeks refactoring it and risking
|
|
# breaking save compatibility again. Technical debt sucks. ¯\_(ツ)_/¯
|
|
def _her_public_tier():
|
|
if states.her.status.public_sex:
|
|
return 6
|
|
|
|
elif states.her.status.public_blowjob:
|
|
return 5
|
|
|
|
elif states.her.status.public_handjob:
|
|
return 4
|
|
|
|
elif states.her.status.public_kissing or states.her.status.public_voyer:
|
|
return 3
|
|
|
|
elif states.her.status.public_groping:
|
|
return 2
|
|
else:
|
|
return 1
|