2022-05-16 23:48:22 +00:00
|
|
|
init python:
|
|
|
|
def genie_transform(trans, st, at):
|
2023-03-31 22:41:48 +00:00
|
|
|
trans.xpos = states.gen.image.xpos
|
|
|
|
trans.ypos = states.gen.image.ypos
|
|
|
|
trans.zoom = states.gen.image.zoom
|
|
|
|
trans.xzoom = states.gen.image.xzoom
|
|
|
|
trans.offset = states.gen.image.offset
|
2024-05-14 20:54:03 +00:00
|
|
|
trans.anchor = (0.5, 1.0)
|
2022-05-16 23:48:22 +00:00
|
|
|
return 0
|
|
|
|
|
2022-06-29 18:46:19 +00:00
|
|
|
layeredimage genie_stats:
|
|
|
|
anchor (0.0, 1.0)
|
|
|
|
|
2023-11-15 03:15:02 +00:00
|
|
|
always "genie_bbase"
|
|
|
|
always "genie_outfit_robes"
|
2023-11-15 21:51:10 +00:00
|
|
|
always "genie_goatee"
|
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
|
|
|
|
2023-03-05 18:34:37 +00:00
|
|
|
group outfit:
|
2023-11-15 03:15:02 +00:00
|
|
|
attribute nude
|
2022-05-16 23:48:22 +00:00
|
|
|
|
2023-11-15 03:15:02 +00:00
|
|
|
attribute bbase default
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
group face:
|
2023-03-05 18:34:37 +00:00
|
|
|
attribute base default null
|
2023-11-15 03:15:02 +00:00
|
|
|
attribute grin
|
|
|
|
attribute angry
|
|
|
|
attribute smile
|
|
|
|
attribute open
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
group outfit:
|
2023-11-15 03:15:02 +00:00
|
|
|
attribute robes default
|
|
|
|
attribute santa
|
|
|
|
|
|
|
|
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
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
at Transform(function=genie_transform)
|
|
|
|
|
|
|
|
image side genie = LayeredImageProxy("genie")
|