Bug fixes

* Fixed Genie flashing his goods in stats menu
* Fixed lipstick causing a crash in saved outfits due to missing zlayers
* Fixed debug print spam
* Version bump
This commit is contained in:
LoafyLemon 2022-12-28 19:06:24 +00:00
parent 90e57fd6af
commit 2d7a84bf00
4 changed files with 8 additions and 21 deletions

View File

@ -10,25 +10,11 @@ init python:
layeredimage genie_stats:
anchor (0.0, 1.0)
group hair:
attribute nude "characters/genie/hair.webp"
group fixes:
attribute robes "characters/genie/robes_fix.webp"
always "characters/genie/base.webp"
always "characters/genie/outfits/robes.webp"
always "characters/genie/outfits/robes_beard.webp"
group face:
attribute base Null()
attribute grin "characters/genie/grin.webp"
attribute angry "characters/genie/angry.webp"
attribute smile "characters/genie/smile.webp"
attribute open "characters/genie/open.webp"
group outfit:
attribute nude Null()
attribute robes default "characters/genie/robes.webp"
# TODO: Add outfit support; Low priority
layeredimage genie:
anchor (0.0, 1.0)

View File

@ -6,7 +6,10 @@ init python:
def set_layers(self):
for x in self.layers_special:
self.__dict__[x] = None
if x == "zorder":
self.__dict__["zlayers"] = [f for f in renpy.list_files() if f.startswith(self.imagepath.lstrip("/")) and "zorder" in f]
else:
self.__dict__[x] = None
for x in self.layers_additional:
self.__dict__[x] = []

View File

@ -88,8 +88,6 @@ init python:
if clothing.mask:
masks.append((clothing.mask, zorder-1))
print sprites
sprites.sort(key=itemgetter(1))
masks.sort(key=itemgetter(1))

View File

@ -30,7 +30,7 @@ define config.developer = "auto"
define config.console = True
# Game version and naming
define config.version = "1.44.3"
define config.version = "1.44.4"
define compatible_version = 1.43
define config.name = "Witch Trainer Silver"