Fix variable name and move defaults

This commit is contained in:
Gouvernathor 2023-11-17 04:04:15 +01:00
parent a29b7ec28b
commit f6c0054be0

View File

@ -1,9 +1,11 @@
default cheat_wardrobe_alpha = False default cheat_wardrobe_alpha = False
default skip_duel = False default skip_duel = False
default experimental_cheats = False default experimental_cheats = False
default __curr_breast_type = 0
default __curr_ass_type = 0
label cheats: label cheats:
if not renpy.seen_label("cheats"): if not renpy.seen_label("cheats"):
@ -349,41 +351,38 @@ label cheats:
# #
# Years later: Python 3 switch cases are finally here, but are not usable in renpy. :( # Years later: Python 3 switch cases are finally here, but are not usable in renpy. :(
default _curr_breast_type = 0 menu .alteration:
default _curr_ass_type = 0 "Hermione Breasts ([__curr_breast_type])" (icon="interface/icons/small/hermione.webp"):
menu:
"Hermione Breasts ([_curr_breast_type])" (icon="interface/icons/small/hermione.webp"):
python: python:
if _curr_breast_type == 0: if __curr_breast_type == 0:
hermione.equip(her_chest_breasts1) hermione.equip(her_chest_breasts1)
_curr_breast_type = 1 __curr_breast_type = 1
elif _curr_breast_type == 1: elif __curr_breast_type == 1:
hermione.equip(her_chest_breasts2) hermione.equip(her_chest_breasts2)
_curr_breast_type = 2 __curr_breast_type = 2
elif _curr_breast_type == 2: elif __curr_breast_type == 2:
hermione.equip(her_chest_breasts3) hermione.equip(her_chest_breasts3)
_curr_breast_type = 3 __curr_breast_type = 3
elif _curr_breast_type == 3: elif __curr_breast_type == 3:
hermione.unequip("chest") hermione.unequip("chest")
_curr_breast_type = 0 __curr_breast_type = 0
jump cheats.alteration jump cheats.alteration
"Hermione Ass ([_curr_ass_type])" (icon="interface/icons/small/hermione.webp"): "Hermione Ass ([__curr_ass_type])" (icon="interface/icons/small/hermione.webp"):
python: python:
if _curr_ass_type == 0: if __curr_ass_type == 0:
hermione.equip(her_hips_ass1) hermione.equip(her_hips_ass1)
_curr_ass_type = 1 __curr_ass_type = 1
elif _curr_ass_type == 1: elif __curr_ass_type == 1:
hermione.equip(her_hips_ass2) hermione.equip(her_hips_ass2)
_curr_ass_type = 2 __curr_ass_type = 2
elif _curr_ass_type == 2: elif __curr_ass_type == 2:
hermione.equip(her_hips_ass3) hermione.equip(her_hips_ass3)
_curr_ass_type = 3 __curr_ass_type = 3
elif _curr_ass_type == 3: elif __curr_ass_type == 3:
hermione.unequip("hips") hermione.unequip("hips")
_curr_ass_type = 0 __curr_ass_type = 0
jump cheats.alteration jump cheats.alteration