forked from SilverStudioGames/WTS
Bug fixes
* Added missing hooch head icon * Removed leftover references to update_interface functionality * Fixed missing directory for expressions causing crashes in character studio * Fixed unlock state detection in character studio * Fixed hooch studio crash
This commit is contained in:
parent
a92420cbec
commit
f8a1d75d9b
BIN
game/interface/icons/head/hooch.webp
(Stored with Git LFS)
Normal file
BIN
game/interface/icons/head/hooch.webp
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -6,7 +6,7 @@
|
||||
# default states.hoo.public_tier = 0
|
||||
# default states.hoo.public_level = 0
|
||||
# default states.hoo.mood = 0
|
||||
# default states.hoo.unlocked = False
|
||||
default states.hoo.unlocked = False
|
||||
default states.hoo.busy = False
|
||||
|
||||
# Names
|
||||
|
@ -87,7 +87,6 @@ label genie_intro_E1:
|
||||
dum2 "*Yawn*...{w=0.4} Well... It begins to dawn."
|
||||
|
||||
# Swap to day seamlessly
|
||||
call update_interface_color("gold")
|
||||
$ game.daytime = True
|
||||
$ game.day = 1
|
||||
$ mailbox.tick()
|
||||
|
@ -63,7 +63,6 @@ label credits:
|
||||
|
||||
show screen credits(credits_text)
|
||||
with dissolve
|
||||
call update_interface_color("gray")
|
||||
$ achievements.unlock("Credits")
|
||||
pause credits_duration
|
||||
if not _menu:
|
||||
|
@ -74,7 +74,6 @@ label a_bad_time_to_disrobe_part_1:
|
||||
with d5
|
||||
|
||||
$ game.daytime = False
|
||||
call update_interface_color
|
||||
call music_block
|
||||
|
||||
call her_chibi("stand","desk","base")
|
||||
@ -127,7 +126,6 @@ label a_bad_time_to_disrobe_part_1:
|
||||
nar "Hermione returns the next morning, looking nervous but more determined than yesterday."
|
||||
|
||||
$ game.daytime = True
|
||||
call update_interface_color
|
||||
call music_block
|
||||
|
||||
hide qmark
|
||||
@ -146,7 +144,6 @@ label a_bad_time_to_disrobe_part_1:
|
||||
with d5
|
||||
|
||||
$ game.daytime = False
|
||||
call update_interface_color
|
||||
call music_block
|
||||
|
||||
nar "Later that evening a distraught-looking Hermione enters the office."
|
||||
@ -274,7 +271,6 @@ label a_bad_time_to_disrobe_part_2:
|
||||
with d3
|
||||
|
||||
$ game.daytime = False
|
||||
call update_interface_color
|
||||
call music_block
|
||||
|
||||
nar "Later that evening."
|
||||
|
@ -121,7 +121,6 @@ label panty_raid:
|
||||
centered "{size=+7}{color=#cbcbcb}Three hours later...{/color}{/size}"
|
||||
|
||||
$ game.daytime = False
|
||||
call update_interface_color
|
||||
call music_block
|
||||
|
||||
pause 1.0
|
||||
@ -295,7 +294,6 @@ label panty_raid:
|
||||
stop music fadeout 1.0
|
||||
centered "{size=+7}{color=#cbcbcb}Four hours later...{/color}{/size}"
|
||||
$ game.daytime = False
|
||||
call update_interface_color
|
||||
call music_block
|
||||
|
||||
pause 1.0
|
||||
@ -430,7 +428,6 @@ label panty_raid:
|
||||
stop music fadeout 1.0
|
||||
centered "{size=+7}{color=#cbcbcb}A few hours later...{/color}{/size}"
|
||||
$ game.daytime = False
|
||||
call update_interface_color
|
||||
call music_block
|
||||
|
||||
pause 1.0
|
||||
@ -674,7 +671,6 @@ label panty_raid:
|
||||
stop music fadeout 1.0
|
||||
centered "{size=+7}{color=#cbcbcb}Some time later...{/color}{/size}"
|
||||
$ game.daytime = False
|
||||
call update_interface_color
|
||||
call music_block
|
||||
|
||||
pause 1.0
|
||||
|
@ -31,12 +31,11 @@ init python in studio:
|
||||
fp, fn = os.path.split(f)
|
||||
fn, ext = os.path.splitext(fn)
|
||||
expression = os.path.split(fp)[1]
|
||||
expressions = d.setdefault(charname, _dict()).setdefault(part, _list((None,)))
|
||||
|
||||
if not fp.startswith(path) or not ext in extensions:
|
||||
continue
|
||||
|
||||
expressions = d.setdefault(charname, _dict()).setdefault(part, _list((None,)))
|
||||
|
||||
if not expression in expressions:
|
||||
expressions.append(expression)
|
||||
return d
|
||||
@ -319,7 +318,7 @@ screen studio():
|
||||
vbox:
|
||||
for k, v in studio.drags.items():
|
||||
$ active = (states.active_girl == k and v[1])
|
||||
$ unlocked = getattr(renpy.store, k+"_unlocked")
|
||||
$ unlocked = getattr(states, f"{k[:3]}").unlocked
|
||||
|
||||
if not v[1]:
|
||||
$ action = [ SetDict(studio.drags[k], 1, True), Function(studio.drag_activated, [v[0]]), renpy.restart_interaction ]
|
||||
|
Loading…
Reference in New Issue
Block a user