Reform genie layeredimage

(cherry picked from commit 3a429070fc)
This commit is contained in:
Gouvernathor 2023-11-15 04:15:02 +01:00 committed by LoafyLemon
parent 603990cf13
commit 4ee49a225b
16 changed files with 18 additions and 24 deletions

Binary file not shown.

View File

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