Fix variable name and move defaults

(cherry picked from commit f6c0054be0)
This commit is contained in:
Gouvernathor 2023-11-17 04:04:15 +01:00 committed by LoafyLemon
parent c5fb9a630c
commit d38d442688
1 changed files with 22 additions and 23 deletions

View File

@ -1,9 +1,11 @@
default cheat_wardrobe_alpha = False
default skip_duel = False
default experimental_cheats = False
default __curr_breast_type = 0
default __curr_ass_type = 0
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. :(
default _curr_breast_type = 0
default _curr_ass_type = 0
menu:
"Hermione Breasts ([_curr_breast_type])" (icon="interface/icons/small/hermione.webp"):
menu .alteration:
"Hermione Breasts ([__curr_breast_type])" (icon="interface/icons/small/hermione.webp"):
python:
if _curr_breast_type == 0:
if __curr_breast_type == 0:
hermione.equip(her_chest_breasts1)
_curr_breast_type = 1
elif _curr_breast_type == 1:
__curr_breast_type = 1
elif __curr_breast_type == 1:
hermione.equip(her_chest_breasts2)
_curr_breast_type = 2
elif _curr_breast_type == 2:
__curr_breast_type = 2
elif __curr_breast_type == 2:
hermione.equip(her_chest_breasts3)
_curr_breast_type = 3
elif _curr_breast_type == 3:
__curr_breast_type = 3
elif __curr_breast_type == 3:
hermione.unequip("chest")
_curr_breast_type = 0
__curr_breast_type = 0
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:
if _curr_ass_type == 0:
if __curr_ass_type == 0:
hermione.equip(her_hips_ass1)
_curr_ass_type = 1
elif _curr_ass_type == 1:
__curr_ass_type = 1
elif __curr_ass_type == 1:
hermione.equip(her_hips_ass2)
_curr_ass_type = 2
elif _curr_ass_type == 2:
__curr_ass_type = 2
elif __curr_ass_type == 2:
hermione.equip(her_hips_ass3)
_curr_ass_type = 3
elif _curr_ass_type == 3:
__curr_ass_type = 3
elif __curr_ass_type == 3:
hermione.unequip("hips")
_curr_ass_type = 0
__curr_ass_type = 0
jump cheats.alteration