Fix variable name and move defaults
This commit is contained in:
parent
a29b7ec28b
commit
f6c0054be0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user