Wardrobe improvements
* Added thread-assisted assets preloading * Added loading displayable * Added rollback and skipping support to wardrobe reactions * Improved wardrobe performance * Improved wardrobe reactions compatibility with Renpy scope
This commit is contained in:
parent
48874a546a
commit
98ba4d03a2
@ -64,6 +64,14 @@ init python:
|
|||||||
return not (flag >= req)
|
return not (flag >= req)
|
||||||
|
|
||||||
def wardrobe_react(what, arg):
|
def wardrobe_react(what, arg):
|
||||||
|
global _skipping
|
||||||
if wardrobe_chitchats:
|
if wardrobe_chitchats:
|
||||||
|
_skipping = True
|
||||||
|
renpy.suspend_rollback(False)
|
||||||
|
renpy.hide_screen("wardrobe")
|
||||||
|
renpy.hide_screen("wardrobe_menuitem")
|
||||||
|
renpy.hide_screen("wardrobe_outfit_menuitem")
|
||||||
|
renpy.show("gui_fade", zorder=10, behind=get_character_tag(active_girl))
|
||||||
|
renpy.block_rollback()
|
||||||
renpy.call(get_character_response(active_girl, what), arg)
|
renpy.call(get_character_response(active_girl, what), arg)
|
||||||
return
|
return
|
||||||
|
@ -164,6 +164,8 @@ label studio(char):
|
|||||||
# TODO: Finish adding presets saving.
|
# TODO: Finish adding presets saving.
|
||||||
# Add character drag offset based on zoom.
|
# Add character drag offset based on zoom.
|
||||||
|
|
||||||
|
hide screen wardrobe
|
||||||
|
|
||||||
python:
|
python:
|
||||||
last_char = char_active
|
last_char = char_active
|
||||||
last_girl = active_girl
|
last_girl = active_girl
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user