2022-05-16 23:48:22 +00:00
|
|
|
init python:
|
|
|
|
def genie_transform(trans, st, at):
|
|
|
|
trans.xpos = genie_xpos
|
|
|
|
trans.ypos = genie_ypos
|
|
|
|
trans.zoom = genie_zoom
|
|
|
|
trans.xzoom = genie_flip
|
|
|
|
trans.offset = genie_offset
|
|
|
|
return 0
|
|
|
|
|
2022-06-29 18:46:19 +00:00
|
|
|
layeredimage genie_stats:
|
|
|
|
anchor (0.0, 1.0)
|
|
|
|
|
|
|
|
always "characters/genie/base.webp"
|
2022-12-28 19:06:24 +00:00
|
|
|
always "characters/genie/outfits/robes.webp"
|
|
|
|
always "characters/genie/outfits/robes_beard.webp"
|
2022-06-29 18:46:19 +00:00
|
|
|
|
2022-12-28 19:06:24 +00:00
|
|
|
# TODO: Add outfit support; Low priority
|
2022-06-29 18:46:19 +00:00
|
|
|
|
2022-05-16 23:48:22 +00:00
|
|
|
layeredimage genie:
|
2022-06-27 21:31:51 +00:00
|
|
|
anchor (0.0, 1.0)
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
group hair:
|
|
|
|
attribute nude "characters/genie/hair.webp"
|
|
|
|
|
|
|
|
always "characters/genie/base.webp"
|
|
|
|
|
|
|
|
group face:
|
2022-12-21 20:38:20 +00:00
|
|
|
attribute base default Null()
|
2022-05-16 23:48:22 +00:00
|
|
|
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()
|
2022-12-21 20:38:20 +00:00
|
|
|
attribute robes default "characters/genie/outfits/robes.webp"
|
|
|
|
attribute santa "characters/genie/outfits/santa.webp"
|
|
|
|
|
|
|
|
group beard multiple:
|
|
|
|
attribute nude default "characters/genie/beard.webp" if_all ["nude"]
|
|
|
|
attribute robes default "characters/genie/outfits/robes_beard.webp" if_all ["robes"]
|
|
|
|
attribute santa_base default "characters/genie/outfits/santa_beard_base.webp" if_all ["santa", "base"]
|
|
|
|
attribute santa_grin default "characters/genie/outfits/santa_beard_grin.webp" if_all ["santa", "grin"]
|
|
|
|
attribute santa_angry default "characters/genie/outfits/santa_beard_angry.webp" if_all ["santa", "angry"]
|
|
|
|
attribute santa_smile default "characters/genie/outfits/santa_beard_smile.webp" if_all ["santa", "smile"]
|
|
|
|
attribute santa_open default "characters/genie/outfits/santa_beard_open.webp" if_all ["santa", "open"]
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
at Transform(function=genie_transform)
|
|
|
|
|
|
|
|
image side genie = LayeredImageProxy("genie")
|