Loading files
19cf0b28eThis file is pinned to the selected release. Download the original to open it in your design tool.
// ImageAvatarLite sample MOD sprite pack definitions.
// Assets are bundled by this MOD manifest, not by the default Stack-chan host app.
export const IMAGE_AVATAR_LITE_PACKS = {
'image-avatar-lite-slime': {
id: 'image-avatar-lite-slime',
displayName: 'ImageAvatarLite slime',
width: 320,
height: 240,
defaultExpression: 'normal',
emotionMap: {
NEUTRAL: 'normal',
SAD: 'sad',
ANGRY: 'angry',
HAPPY: 'normal',
SLEEPY: 'sad',
COLD: 'sad',
HOT: 'angry',
},
expressions: {
normal: {
head: {
texture: 'image-avatar-lite-slime-head.png',
x: -10,
y: -10,
width: 340,
height: 260,
},
eyes: {
left: {
texture: 'image-avatar-lite-slime-eye-left-normal.png',
x: 170,
y: 90,
width: 40,
height: 60,
blinkFrames: {
texture: 'image-avatar-lite-slime-eye-left-normal.png',
frameWidth: 40,
frameHeight: 60,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-slime-eye-right-normal.png',
x: 110,
y: 90,
width: 40,
height: 60,
blinkFrames: {
texture: 'image-avatar-lite-slime-eye-right-normal.png',
frameWidth: 40,
frameHeight: 60,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-slime-mouth-normal.png',
x: 130,
y: 180,
width: 60,
height: 60,
frames: {
texture: 'image-avatar-lite-slime-mouth-normal.png',
frameWidth: 60,
frameHeight: 60,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
sad: {
head: {
texture: 'image-avatar-lite-slime-head.png',
x: -10,
y: -10,
width: 340,
height: 260,
},
eyes: {
left: {
texture: 'image-avatar-lite-slime-eye-left-sad.png',
x: 180,
y: 70,
width: 40,
height: 60,
blinkFrames: {
texture: 'image-avatar-lite-slime-eye-left-sad.png',
frameWidth: 40,
frameHeight: 60,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-slime-eye-right-sad.png',
x: 100,
y: 70,
width: 40,
height: 60,
blinkFrames: {
texture: 'image-avatar-lite-slime-eye-right-sad.png',
frameWidth: 40,
frameHeight: 60,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-slime-mouth-sad.png',
x: 130,
y: 170,
width: 60,
height: 60,
frames: {
texture: 'image-avatar-lite-slime-mouth-sad.png',
frameWidth: 60,
frameHeight: 60,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
angry: {
head: {
texture: 'image-avatar-lite-slime-head.png',
x: -10,
y: -10,
width: 340,
height: 260,
},
eyes: {
left: {
texture: 'image-avatar-lite-slime-eye-left-angry.png',
x: 180,
y: 70,
width: 40,
height: 60,
blinkFrames: {
texture: 'image-avatar-lite-slime-eye-left-angry.png',
frameWidth: 40,
frameHeight: 60,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-slime-eye-right-angry.png',
x: 100,
y: 70,
width: 40,
height: 60,
blinkFrames: {
texture: 'image-avatar-lite-slime-eye-right-angry.png',
frameWidth: 40,
frameHeight: 60,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-slime-mouth-angry.png',
x: 130,
y: 170,
width: 60,
height: 60,
frames: {
texture: 'image-avatar-lite-slime-mouth-angry.png',
frameWidth: 60,
frameHeight: 60,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
},
},
'image-avatar-lite-puipui': {
id: 'image-avatar-lite-puipui',
displayName: 'ImageAvatarLite puipui',
width: 320,
height: 240,
defaultExpression: 'normal',
emotionMap: {
NEUTRAL: 'normal',
HAPPY: 'normal',
SAD: 'normal',
ANGRY: 'normal',
SLEEPY: 'normal',
DOUBTFUL: 'normal',
COLD: 'normal',
HOT: 'normal',
},
expressions: {
normal: {
head: {
texture: 'image-avatar-lite-puipui-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-puipui-eye-left-normal.png',
x: 175,
y: 95,
width: 50,
height: 50,
blinkFrames: {
texture: 'image-avatar-lite-puipui-eye-left-normal.png',
frameWidth: 50,
frameHeight: 50,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-puipui-eye-right-normal.png',
x: 95,
y: 95,
width: 50,
height: 50,
blinkFrames: {
texture: 'image-avatar-lite-puipui-eye-right-normal.png',
frameWidth: 50,
frameHeight: 50,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-puipui-mouth-normal.png',
x: 130,
y: 170,
width: 60,
height: 60,
frames: {
texture: 'image-avatar-lite-puipui-mouth-normal.png',
frameWidth: 60,
frameHeight: 60,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
},
},
'image-avatar-lite-jacko': {
id: 'image-avatar-lite-jacko',
displayName: 'ImageAvatarLite jack-o-lantern',
width: 320,
height: 240,
defaultExpression: 'normal',
emotionMap: {
NEUTRAL: 'normal',
HAPPY: 'normal',
SAD: 'normal',
ANGRY: 'normal',
SLEEPY: 'normal',
DOUBTFUL: 'normal',
COLD: 'normal',
HOT: 'normal',
},
expressions: {
normal: {
head: {
texture: 'image-avatar-lite-jacko-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-jacko-eye-left-normal.png',
x: 210,
y: 50,
width: 60,
height: 60,
blinkFrames: {
texture: 'image-avatar-lite-jacko-eye-left-normal.png',
frameWidth: 60,
frameHeight: 60,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-jacko-eye-right-normal.png',
x: 50,
y: 50,
width: 60,
height: 60,
blinkFrames: {
texture: 'image-avatar-lite-jacko-eye-right-normal.png',
frameWidth: 60,
frameHeight: 60,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-jacko-mouth-normal.png',
x: 76,
y: 170,
width: 168,
height: 60,
frames: {
texture: 'image-avatar-lite-jacko-mouth-normal.png',
frameWidth: 168,
frameHeight: 60,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
},
},
'image-avatar-lite-girl': {
id: 'image-avatar-lite-girl',
displayName: 'ImageAvatarLite girl',
width: 320,
height: 240,
defaultExpression: 'normal',
emotionMap: {
NEUTRAL: 'normal',
SAD: 'sleepy',
ANGRY: 'grim',
HAPPY: 'normal',
SLEEPY: 'sleepy',
DOUBTFUL: 'grim',
},
expressions: {
normal: {
head: {
texture: 'image-avatar-lite-girl-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-girl-eye-left-normal.png',
x: 184,
y: 74,
width: 102,
height: 112,
blinkFrames: {
texture: 'image-avatar-lite-girl-eye-left-normal.png',
frameWidth: 102,
frameHeight: 112,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-girl-eye-right-normal.png',
x: 34,
y: 74,
width: 102,
height: 112,
blinkFrames: {
texture: 'image-avatar-lite-girl-eye-right-normal.png',
frameWidth: 102,
frameHeight: 112,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-girl-mouth-normal.png',
x: 123,
y: 168,
width: 74,
height: 74,
frames: {
texture: 'image-avatar-lite-girl-mouth-normal.png',
frameWidth: 74,
frameHeight: 74,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
sleepy: {
head: {
texture: 'image-avatar-lite-girl-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-girl-eye-left-sleepy.png',
x: 179,
y: 74,
width: 102,
height: 112,
blinkFrames: {
texture: 'image-avatar-lite-girl-eye-left-sleepy.png',
frameWidth: 102,
frameHeight: 112,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-girl-eye-right-sleepy.png',
x: 39,
y: 74,
width: 102,
height: 112,
blinkFrames: {
texture: 'image-avatar-lite-girl-eye-right-sleepy.png',
frameWidth: 102,
frameHeight: 112,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-girl-mouth-sleepy.png',
x: 123,
y: 168,
width: 74,
height: 74,
frames: {
texture: 'image-avatar-lite-girl-mouth-sleepy.png',
frameWidth: 74,
frameHeight: 74,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
grim: {
head: {
texture: 'image-avatar-lite-girl-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-girl-eye-left-grim.png',
x: 179,
y: 74,
width: 102,
height: 112,
blinkFrames: {
texture: 'image-avatar-lite-girl-eye-left-grim.png',
frameWidth: 102,
frameHeight: 112,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-girl-eye-right-grim.png',
x: 39,
y: 74,
width: 102,
height: 112,
blinkFrames: {
texture: 'image-avatar-lite-girl-eye-right-grim.png',
frameWidth: 102,
frameHeight: 112,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-girl-mouth-grim.png',
x: 123,
y: 168,
width: 74,
height: 74,
frames: {
texture: 'image-avatar-lite-girl-mouth-grim.png',
frameWidth: 74,
frameHeight: 74,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
},
},
'image-avatar-lite-robot': {
id: 'image-avatar-lite-robot',
displayName: 'ImageAvatarLite robot',
width: 320,
height: 240,
defaultExpression: 'normal',
emotionMap: {
NEUTRAL: 'normal',
HAPPY: 'surprised',
SAD: 'normal',
ANGRY: 'surprised',
DOUBTFUL: 'surprised',
},
expressions: {
normal: {
head: {
texture: 'image-avatar-lite-robot-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-robot-eye-left-normal.png',
x: 162,
y: 18,
width: 32,
height: 44,
blinkFrames: {
texture: 'image-avatar-lite-robot-eye-left-normal.png',
frameWidth: 32,
frameHeight: 44,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-robot-eye-right-normal.png',
x: 116,
y: 18,
width: 32,
height: 44,
blinkFrames: {
texture: 'image-avatar-lite-robot-eye-right-normal.png',
frameWidth: 32,
frameHeight: 44,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-robot-mouth-normal.png',
x: 66,
y: 136,
width: 188,
height: 88,
frames: {
texture: 'image-avatar-lite-robot-mouth-normal.png',
frameWidth: 188,
frameHeight: 88,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
surprised: {
head: {
texture: 'image-avatar-lite-robot-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-robot-eye-left-surprised.png',
x: 214,
y: 98,
width: 32,
height: 44,
blinkFrames: {
texture: 'image-avatar-lite-robot-eye-left-surprised.png',
frameWidth: 32,
frameHeight: 44,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-robot-eye-right-surprised.png',
x: 74,
y: 98,
width: 32,
height: 44,
blinkFrames: {
texture: 'image-avatar-lite-robot-eye-right-surprised.png',
frameWidth: 32,
frameHeight: 44,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-robot-mouth-surprised.png',
x: 66,
y: 166,
width: 188,
height: 88,
frames: {
texture: 'image-avatar-lite-robot-mouth-surprised.png',
frameWidth: 188,
frameHeight: 88,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
},
},
'image-avatar-lite-kaeru': {
id: 'image-avatar-lite-kaeru',
displayName: 'ImageAvatarLite kaeru',
width: 320,
height: 240,
defaultExpression: 'normal',
emotionMap: {
NEUTRAL: 'normal',
HAPPY: 'surprised',
SAD: 'normal',
ANGRY: 'surprised',
DOUBTFUL: 'surprised',
},
expressions: {
normal: {
head: {
texture: 'image-avatar-lite-kaeru-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-kaeru-eye-left-normal.png',
x: 188,
y: 26,
width: 64,
height: 88,
blinkFrames: {
texture: 'image-avatar-lite-kaeru-eye-left-normal.png',
frameWidth: 64,
frameHeight: 88,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-kaeru-eye-right-normal.png',
x: 68,
y: 26,
width: 64,
height: 88,
blinkFrames: {
texture: 'image-avatar-lite-kaeru-eye-right-normal.png',
frameWidth: 64,
frameHeight: 88,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-kaeru-mouth-normal.png',
x: 66,
y: 136,
width: 188,
height: 88,
frames: {
texture: 'image-avatar-lite-kaeru-mouth-normal.png',
frameWidth: 188,
frameHeight: 88,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
surprised: {
head: {
texture: 'image-avatar-lite-kaeru-head.png',
x: 0,
y: 0,
width: 320,
height: 240,
},
eyes: {
left: {
texture: 'image-avatar-lite-kaeru-eye-left-surprised.png',
x: 198,
y: 76,
width: 64,
height: 88,
blinkFrames: {
texture: 'image-avatar-lite-kaeru-eye-left-surprised.png',
frameWidth: 64,
frameHeight: 88,
frameCount: 2,
},
},
right: {
texture: 'image-avatar-lite-kaeru-eye-right-surprised.png',
x: 58,
y: 76,
width: 64,
height: 88,
blinkFrames: {
texture: 'image-avatar-lite-kaeru-eye-right-surprised.png',
frameWidth: 64,
frameHeight: 88,
frameCount: 2,
},
},
},
mouth: {
texture: 'image-avatar-lite-kaeru-mouth-surprised.png',
x: 66,
y: 166,
width: 188,
height: 88,
frames: {
texture: 'image-avatar-lite-kaeru-mouth-surprised.png',
frameWidth: 188,
frameHeight: 88,
frameCount: 2,
},
},
hands: {
left: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
right: {
texture: 'image-avatar-lite-transparent.png',
x: 0,
y: 0,
width: 1,
height: 1,
},
},
},
},
},
}
export function getImageAvatarLitePack(id = 'image-avatar-lite-slime') {
return IMAGE_AVATAR_LITE_PACKS[id] ?? IMAGE_AVATAR_LITE_PACKS['image-avatar-lite-slime']
}