Reform genie layeredimage

This commit is contained in:
Gouvernathor 2023-11-15 04:15:02 +01:00
parent 1ee74a61ac
commit 0381093229
16 changed files with 18 additions and 24 deletions

Binary file not shown.

View File

@ -10,9 +10,9 @@ init python:
layeredimage genie_stats: layeredimage genie_stats:
anchor (0.0, 1.0) anchor (0.0, 1.0)
always "characters/genie/base.webp" always "genie_bbase"
always "characters/genie/outfits/robes.webp" always "genie_outfit_robes"
always "characters/genie/outfits/robes_beard.webp" always "genie_robes"
# TODO: Add outfit support; Low priority # TODO: Add outfit support; Low priority
@ -20,31 +20,28 @@ layeredimage genie:
anchor (0.0, 1.0) anchor (0.0, 1.0)
group outfit: group outfit:
attribute robes default null attribute nude
attribute nude "characters/genie/hair.webp"
always "characters/genie/base.webp" attribute bbase default
group face: group face:
attribute base default null attribute base default null
attribute grin "characters/genie/grin.webp" attribute grin
attribute angry "characters/genie/angry.webp" attribute angry
attribute smile "characters/genie/smile.webp" attribute smile
attribute open "characters/genie/open.webp" attribute open
group outfit: group outfit:
attribute robes default "characters/genie/outfits/robes.webp" attribute robes default
attribute nude null attribute santa
attribute santa "characters/genie/outfits/santa.webp"
group face multiple: attribute goatee default if_any ("robes", "nude")
attribute robes default "characters/genie/outfits/robes_beard.webp" if_all ["robes"] group _ multiple variant "santa_beard" if_any "santa":
attribute nude "characters/genie/beard.webp" if_all ["nude"] attribute base
attribute base "characters/genie/outfits/santa_beard_base.webp" if_all ["santa", "base"] attribute grin
attribute grin "characters/genie/outfits/santa_beard_grin.webp" if_all ["santa", "grin"] attribute angry
attribute angry "characters/genie/outfits/santa_beard_angry.webp" if_all ["santa", "angry"] attribute smile
attribute smile "characters/genie/outfits/santa_beard_smile.webp" if_all ["santa", "smile"] attribute open
attribute open "characters/genie/outfits/santa_beard_open.webp" if_all ["santa", "open"]
at Transform(function=genie_transform) at Transform(function=genie_transform)