forked from SilverStudioGames/WTS
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)
|
||||
|
||||
def wardrobe_react(what, arg):
|
||||
global _skipping
|
||||
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)
|
||||
return
|
||||
|
@ -164,6 +164,8 @@ label studio(char):
|
||||
# TODO: Finish adding presets saving.
|
||||
# Add character drag offset based on zoom.
|
||||
|
||||
hide screen wardrobe
|
||||
|
||||
python:
|
||||
last_char = char_active
|
||||
last_girl = active_girl
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user