2022-05-16 23:48:22 +00:00
|
|
|
screen blkfade():
|
2024-11-21 17:10:04 +00:00
|
|
|
layer "overlay"
|
2022-05-16 23:48:22 +00:00
|
|
|
tag blkfade
|
|
|
|
zorder 25
|
|
|
|
add Color("#000")
|
|
|
|
|
|
|
|
screen whitefade():
|
2024-11-21 17:10:04 +00:00
|
|
|
layer "overlay"
|
2022-05-16 23:48:22 +00:00
|
|
|
tag whitefade
|
|
|
|
zorder 25
|
|
|
|
add Color("#fff")
|
|
|
|
|
|
|
|
screen blktone(alpha=0.5):
|
2024-11-21 17:10:04 +00:00
|
|
|
layer "overlay"
|
2022-05-16 23:48:22 +00:00
|
|
|
tag blktone
|
2022-09-06 21:37:02 +00:00
|
|
|
zorder 14
|
2022-05-16 23:48:22 +00:00
|
|
|
add Color("#000", alpha=alpha)
|
|
|
|
|
|
|
|
screen white():
|
2024-11-21 17:10:04 +00:00
|
|
|
layer "overlay"
|
2022-05-16 23:48:22 +00:00
|
|
|
zorder 20
|
|
|
|
add Color("#fff")
|
|
|
|
|
|
|
|
screen bld1():
|
2024-11-21 17:10:04 +00:00
|
|
|
layer "overlay"
|
2022-05-16 23:48:22 +00:00
|
|
|
zorder 10
|
|
|
|
tag bld1
|
|
|
|
|
|
|
|
add "interface/bld.webp"
|
|
|
|
|
|
|
|
screen bld2():
|
|
|
|
zorder 10
|
|
|
|
add Transform("interface/bld.webp", yzoom=-1.0)
|
|
|
|
|
|
|
|
screen notes():
|
|
|
|
add "notes" xpos 320+140 ypos 330
|
|
|
|
zorder 1
|
|
|
|
|
|
|
|
screen clothing_unlock(item):
|
|
|
|
zorder 30
|
|
|
|
modal True
|
|
|
|
|
|
|
|
use notes
|
|
|
|
on "show" action Play("sound", "sounds/win2.ogg")
|
|
|
|
|
|
|
|
if isinstance(item, DollCloth):
|
IO Overhaul, Refactoring, and more
* Refactored DollFace
* Refactored DollBody
* Refactored DollCum
* Refactored DollCloth
* Refactored Doll
* Refactored clothing item zorders
* Refactored implementation of body, face, cum, clothing layers
* Refactored function calls
* Removed DollLipstick
* Added DollMakeup class, allowing adding dynamic clothes tracking face states
* Added DollClothDynamic, allowing dynamic clothes tracking other cloth states with bangs support
* Added cache to frequently called functions, drastically reducing the overhead
* Added hash system, reducing clone redundancy
* Added layer modifiers support for all types (face, body, cum, clothes etc.)
* Added support for an arbitrary number of equipped multislot clothing items (makeup, tattoos, piercings, etc.)
* Simplified initialization for clothing items and dolls
* Simplified class function calls
* Reduced the number of image creation calls
* Added hue support for additional skin layers
* Added displayable support to image cropping function
* Replaced store cache with built-in functools cache for _list_files function
* Refactored all character files
* and more...
2023-01-14 23:04:54 +00:00
|
|
|
add item.icon align (0.5, 0.5) zoom 0.5
|
2022-05-16 23:48:22 +00:00
|
|
|
elif isinstance(item, DollOutfit):
|
2023-03-03 00:50:50 +00:00
|
|
|
add item.image align (0.5, 0.0) yoffset -50 zoom 0.4
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
screen invisible_button(action=NullAction(), keysym=None, alternate=None):
|
|
|
|
|
|
|
|
# Note: Actions cannot be passed as transclude, separate parameter is required.
|
|
|
|
button style "empty":
|
|
|
|
keyboard_focus False
|
|
|
|
action action
|
|
|
|
keysym keysym
|
|
|
|
alternate alternate
|
|
|
|
transclude
|