Updates & rename to @nitrots/nitro-renderer

This commit is contained in:
Bill 2021-08-05 12:21:35 -04:00
parent 59dd5c7c66
commit ed79e9fc4a
9 changed files with 3084 additions and 3080 deletions

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "nitro-renderer",
"name": "@nitrots/nitro-renderer",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,

View File

@ -1,6 +1,10 @@
{
"name": "nitro-renderer",
"name": "@nitrots/nitro-renderer",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://git.krews.org/nitro/nitro-renderer"
},
"scripts": {
"compile": "tsc --project ./tsconfig.json",
"eslint": "eslint ./src --fix"

View File

@ -9,9 +9,9 @@ import { AvatarAssetDownloadManager } from './AvatarAssetDownloadManager';
import { AvatarFigureContainer } from './AvatarFigureContainer';
import { AvatarImage } from './AvatarImage';
import { AvatarStructure } from './AvatarStructure';
import * as HabboAvatarAnimations from './data/HabboAvatarAnimations.json';
import * as HabboAvatarGeometry from './data/HabboAvatarGeometry.json';
import * as HabboAvatarPartSets from './data/HabboAvatarPartSets.json';
import { HabboAvatarAnimations } from './data/HabboAvatarAnimations';
import { HabboAvatarGeometry } from './data/HabboAvatarGeometry';
import { HabboAvatarPartSets } from './data/HabboAvatarPartSets';
import { EffectAssetDownloadManager } from './EffectAssetDownloadManager';
import { AvatarSetType } from './enum/AvatarSetType';
import { AvatarRenderEvent } from './events/AvatarRenderEvent';

View File

@ -1,827 +0,0 @@
{
"animations": [
{
"id": "Move",
"parts": [
{
"setType": "bd",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "bds",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "ss",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "lg",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "sh",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "lh",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "lhs",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "ls",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "lc",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "rh",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "rhs",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "rs",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "rc",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
},
{
"setType": "ch",
"frames": [
{
"number": 0,
"assetPartDefinition": "wlk"
},
{
"number": 1,
"assetPartDefinition": "wlk"
},
{
"number": 2,
"assetPartDefinition": "wlk"
},
{
"number": 3,
"assetPartDefinition": "wlk"
}
]
}
]
},
{
"id": "Wave",
"parts": [
{
"setType": "lh",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav"
},
{
"number": 1,
"assetPartDefinition": "wav"
}
]
},
{
"setType": "lhs",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav"
},
{
"number": 1,
"assetPartDefinition": "wav"
}
]
},
{
"setType": "ls",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav"
},
{
"number": 1,
"assetPartDefinition": "wav"
}
]
},
{
"setType": "lc",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav"
},
{
"number": 1,
"assetPartDefinition": "wav"
}
]
},
{
"setType": "ch",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav"
},
{
"number": 1,
"assetPartDefinition": "wav"
},
{
"number": 2,
"assetPartDefinition": "wav"
},
{
"number": 3,
"assetPartDefinition": "wav"
}
]
}
]
},
{
"id": "Talk",
"parts": [
{
"setType": "hd",
"frames": [
{
"number": 0,
"assetPartDefinition": "spk"
},
{
"number": 1,
"assetPartDefinition": "spk"
}
]
},
{
"setType": "fc",
"frames": [
{
"number": 0,
"assetPartDefinition": "spk"
},
{
"number": 1,
"assetPartDefinition": "spk"
}
]
},
{
"setType": "fa",
"frames": [
{
"number": 0,
"assetPartDefinition": "spk"
},
{
"number": 1,
"assetPartDefinition": "spk"
}
]
}
]
},
{
"id": "Sign",
"parts": [
{
"setType": "lh",
"frames": [
{
"number": 0,
"assetPartDefinition": "sig"
}
]
},
{
"setType": "li",
"frames": [
{
"number": 0,
"assetPartDefinition": "sig"
}
]
},
{
"setType": "ls",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav"
}
]
},
{
"setType": "lc",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav"
}
]
}
]
},
{
"id": "Respect",
"parts": [
{
"setType": "lh",
"frames": [
{
"number": 0,
"assetPartDefinition": "respect",
"repeats": 15
},
{
"number": 1,
"assetPartDefinition": "respect",
"repeats": 15
}
]
},
{
"setType": "ls",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav",
"repeats": 15
},
{
"number": 1,
"assetPartDefinition": "wav",
"repeats": 15
}
]
},
{
"setType": "lc",
"frames": [
{
"number": 0,
"assetPartDefinition": "wav",
"repeats": 15
},
{
"number": 1,
"assetPartDefinition": "wav",
"repeats": 15
}
]
}
]
},
{
"id": "Blow",
"parts": [
{
"setType": "rh",
"frames": [
{
"number": 0,
"assetPartDefinition": "blw",
"repeats": 10
},
{
"number": 1,
"assetPartDefinition": "blw",
"repeats": 10
}
]
},
{
"setType": "rs",
"frames": [
{
"number": 0,
"assetPartDefinition": "drk"
}
]
},
{
"setType": "rc",
"frames": [
{
"number": 0,
"assetPartDefinition": "drk"
}
]
},
{
"setType": "ri",
"frames": [
{
"number": 0,
"assetPartDefinition": ""
}
]
},
{
"setType": "ey",
"frames": [
{
"number": 0,
"assetPartDefinition": "std",
"repeats": 10
},
{
"number": 0,
"assetPartDefinition": "eyb",
"repeats": 10
}
]
},
{
"setType": "fc",
"frames": [
{
"number": 0,
"assetPartDefinition": "std",
"repeats": 10
},
{
"number": 0,
"assetPartDefinition": "blw",
"repeats": 10
}
]
}
]
},
{
"id": "Laugh",
"parts": [
{
"setType": "rh",
"frames": [
{
"number": 0,
"assetPartDefinition": "blw"
}
]
},
{
"setType": "rs",
"frames": [
{
"number": 0,
"assetPartDefinition": "drk"
}
]
},
{
"setType": "rc",
"frames": [
{
"number": 0,
"assetPartDefinition": "drk"
}
]
},
{
"setType": "ri",
"frames": [
{
"number": 0,
"assetPartDefinition": ""
}
]
},
{
"setType": "ey",
"frames": [
{
"number": 0,
"assetPartDefinition": "std",
"repeats": 2
}
]
},
{
"setType": "fc",
"frames": [
{
"number": 0,
"assetPartDefinition": "sml"
}
]
}
],
"offsets": {
"frames": [
{
"id": 0,
"directions": [
{
"id": 0,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 1
}
]
},
{
"id": 1,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 1
}
]
},
{
"id": 2,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 1
}
]
},
{
"id": 3,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 1
}
]
},
{
"id": 4,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 1
}
]
},
{
"id": 5,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 1
}
]
},
{
"id": 6,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 1
}
]
},
{
"id": 7,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 1
}
]
}
]
},
{
"id": 1,
"directions": [
{
"id": 0,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 0
}
]
},
{
"id": 1,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 0
}
]
},
{
"id": 2,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 0
}
]
},
{
"id": 3,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 0
}
]
},
{
"id": 4,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 0
}
]
},
{
"id": 5,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 0
}
]
},
{
"id": 6,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 0
}
]
},
{
"id": 7,
"bodyParts": [
{
"id": "head",
"dx": 0,
"dy": 0
}
]
}
]
}
]
}
}
]
}

View File

@ -0,0 +1,827 @@
export const HabboAvatarAnimations = {
'animations': [
{
'id': 'Move',
'parts': [
{
'setType': 'bd',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'bds',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'ss',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'lg',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'sh',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'lh',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'lhs',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'ls',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'lc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'rh',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'rhs',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'rs',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'rc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
},
{
'setType': 'ch',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wlk'
},
{
'number': 1,
'assetPartDefinition': 'wlk'
},
{
'number': 2,
'assetPartDefinition': 'wlk'
},
{
'number': 3,
'assetPartDefinition': 'wlk'
}
]
}
]
},
{
'id': 'Wave',
'parts': [
{
'setType': 'lh',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav'
},
{
'number': 1,
'assetPartDefinition': 'wav'
}
]
},
{
'setType': 'lhs',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav'
},
{
'number': 1,
'assetPartDefinition': 'wav'
}
]
},
{
'setType': 'ls',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav'
},
{
'number': 1,
'assetPartDefinition': 'wav'
}
]
},
{
'setType': 'lc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav'
},
{
'number': 1,
'assetPartDefinition': 'wav'
}
]
},
{
'setType': 'ch',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav'
},
{
'number': 1,
'assetPartDefinition': 'wav'
},
{
'number': 2,
'assetPartDefinition': 'wav'
},
{
'number': 3,
'assetPartDefinition': 'wav'
}
]
}
]
},
{
'id': 'Talk',
'parts': [
{
'setType': 'hd',
'frames': [
{
'number': 0,
'assetPartDefinition': 'spk'
},
{
'number': 1,
'assetPartDefinition': 'spk'
}
]
},
{
'setType': 'fc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'spk'
},
{
'number': 1,
'assetPartDefinition': 'spk'
}
]
},
{
'setType': 'fa',
'frames': [
{
'number': 0,
'assetPartDefinition': 'spk'
},
{
'number': 1,
'assetPartDefinition': 'spk'
}
]
}
]
},
{
'id': 'Sign',
'parts': [
{
'setType': 'lh',
'frames': [
{
'number': 0,
'assetPartDefinition': 'sig'
}
]
},
{
'setType': 'li',
'frames': [
{
'number': 0,
'assetPartDefinition': 'sig'
}
]
},
{
'setType': 'ls',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav'
}
]
},
{
'setType': 'lc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav'
}
]
}
]
},
{
'id': 'Respect',
'parts': [
{
'setType': 'lh',
'frames': [
{
'number': 0,
'assetPartDefinition': 'respect',
'repeats': 15
},
{
'number': 1,
'assetPartDefinition': 'respect',
'repeats': 15
}
]
},
{
'setType': 'ls',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav',
'repeats': 15
},
{
'number': 1,
'assetPartDefinition': 'wav',
'repeats': 15
}
]
},
{
'setType': 'lc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'wav',
'repeats': 15
},
{
'number': 1,
'assetPartDefinition': 'wav',
'repeats': 15
}
]
}
]
},
{
'id': 'Blow',
'parts': [
{
'setType': 'rh',
'frames': [
{
'number': 0,
'assetPartDefinition': 'blw',
'repeats': 10
},
{
'number': 1,
'assetPartDefinition': 'blw',
'repeats': 10
}
]
},
{
'setType': 'rs',
'frames': [
{
'number': 0,
'assetPartDefinition': 'drk'
}
]
},
{
'setType': 'rc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'drk'
}
]
},
{
'setType': 'ri',
'frames': [
{
'number': 0,
'assetPartDefinition': ''
}
]
},
{
'setType': 'ey',
'frames': [
{
'number': 0,
'assetPartDefinition': 'std',
'repeats': 10
},
{
'number': 0,
'assetPartDefinition': 'eyb',
'repeats': 10
}
]
},
{
'setType': 'fc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'std',
'repeats': 10
},
{
'number': 0,
'assetPartDefinition': 'blw',
'repeats': 10
}
]
}
]
},
{
'id': 'Laugh',
'parts': [
{
'setType': 'rh',
'frames': [
{
'number': 0,
'assetPartDefinition': 'blw'
}
]
},
{
'setType': 'rs',
'frames': [
{
'number': 0,
'assetPartDefinition': 'drk'
}
]
},
{
'setType': 'rc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'drk'
}
]
},
{
'setType': 'ri',
'frames': [
{
'number': 0,
'assetPartDefinition': ''
}
]
},
{
'setType': 'ey',
'frames': [
{
'number': 0,
'assetPartDefinition': 'std',
'repeats': 2
}
]
},
{
'setType': 'fc',
'frames': [
{
'number': 0,
'assetPartDefinition': 'sml'
}
]
}
],
'offsets': {
'frames': [
{
'id': 0,
'directions': [
{
'id': 0,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 1
}
]
},
{
'id': 1,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 1
}
]
},
{
'id': 2,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 1
}
]
},
{
'id': 3,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 1
}
]
},
{
'id': 4,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 1
}
]
},
{
'id': 5,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 1
}
]
},
{
'id': 6,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 1
}
]
},
{
'id': 7,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 1
}
]
}
]
},
{
'id': 1,
'directions': [
{
'id': 0,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 0
}
]
},
{
'id': 1,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 0
}
]
},
{
'id': 2,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 0
}
]
},
{
'id': 3,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 0
}
]
},
{
'id': 4,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 0
}
]
},
{
'id': 5,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 0
}
]
},
{
'id': 6,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 0
}
]
},
{
'id': 7,
'bodyParts': [
{
'id': 'head',
'dx': 0,
'dy': 0
}
]
}
]
}
]
}
}
]
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,418 +0,0 @@
{
"partSets": {
"partSet": [
{
"setType": "ri",
"flippedSetType": "ri"
},
{
"setType": "ri",
"flippedSetType": "ri"
},
{
"setType": "rh",
"flippedSetType": "lh"
},
{
"setType": "rhs",
"flippedSetType": "lhs"
},
{
"setType": "rs",
"swim": "0",
"flippedSetType": "ls"
},
{
"setType": "rc",
"flippedSetType": "lc"
},
{
"setType": "bd"
},
{
"setType": "bds"
},
{
"setType": "ss"
},
{
"setType": "sh"
},
{
"setType": "lg"
},
{
"setType": "ch"
},
{
"setType": "cp"
},
{
"setType": "cc"
},
{
"setType": "hd"
},
{
"setType": "fc"
},
{
"setType": "ey"
},
{
"setType": "hr"
},
{
"setType": "hrb",
"removeSetType": "hr"
},
{
"setType": "li",
"flippedSetType": "li"
},
{
"setType": "lh",
"flippedSetType": "rh"
},
{
"setType": "lhs",
"flippedSetType": "rhs"
},
{
"setType": "ls",
"flippedSetType": "rs"
},
{
"setType": "lc",
"flippedSetType": "rc"
},
{
"setType": "wa"
},
{
"setType": "ea"
},
{
"setType": "ca"
},
{
"setType": "fa"
},
{
"setType": "ha"
},
{
"setType": "he"
}
],
"activePartSets": [
{
"id": "figure",
"activeParts": [
{
"setType": "rh"
},
{
"setType": "rh"
},
{
"setType": "rhs"
},
{
"setType": "rs"
},
{
"setType": "rc"
},
{
"setType": "bd"
},
{
"setType": "bds"
},
{
"setType": "ss"
},
{
"setType": "sh"
},
{
"setType": "lg"
},
{
"setType": "ch"
},
{
"setType": "cp"
},
{
"setType": "cc"
},
{
"setType": "wa"
},
{
"setType": "hd"
},
{
"setType": "fc"
},
{
"setType": "ey"
},
{
"setType": "hr"
},
{
"setType": "hrb"
},
{
"setType": "lh"
},
{
"setType": "lhs"
},
{
"setType": "ls"
},
{
"setType": "lc"
},
{
"setType": "ea"
},
{
"setType": "ca"
},
{
"setType": "fa"
},
{
"setType": "ha"
},
{
"setType": "he"
}
]
},
{
"id": "head",
"activeParts": [
{
"setType": "hd"
},
{
"setType": "fc"
},
{
"setType": "ey"
},
{
"setType": "hr"
},
{
"setType": "hrb"
},
{
"setType": "ea"
},
{
"setType": "fa"
},
{
"setType": "ha"
},
{
"setType": "he"
}
]
},
{
"id": "speak",
"activeParts": [
{
"setType": "hd"
},
{
"setType": "hr"
},
{
"setType": "hrb"
},
{
"setType": "fc"
},
{
"setType": "fa"
},
{
"setType": "ha"
}
]
},
{
"id": "gesture",
"activeParts": [
{
"setType": "ey"
},
{
"setType": "fc"
}
]
},
{
"id": "eye",
"activeParts": [
{
"setType": "ey"
}
]
},
{
"id": "handRight",
"activeParts": [
{
"setType": "rh"
},
{
"setType": "rhs"
},
{
"setType": "rs"
},
{
"setType": "rc"
},
{
"setType": "ri"
}
]
},
{
"id": "handRightAndHead",
"activeParts": [
{
"setType": "rh"
},
{
"setType": "rhs"
},
{
"setType": "rs"
},
{
"setType": "rc"
},
{
"setType": "ri"
},
{
"setType": "ey"
},
{
"setType": "fc"
},
{
"setType": "hd"
}
]
},
{
"id": "handLeft",
"activeParts": [
{
"setType": "lh"
},
{
"setType": "lhs"
},
{
"setType": "ls"
},
{
"setType": "lc"
},
{
"setType": "li"
}
]
},
{
"id": "walk",
"activeParts": [
{
"setType": "bd"
},
{
"setType": "bds"
},
{
"setType": "ss"
},
{
"setType": "lg"
},
{
"setType": "lh"
},
{
"setType": "lhs"
},
{
"setType": "rh"
},
{
"setType": "rhs"
},
{
"setType": "ls"
},
{
"setType": "lc"
},
{
"setType": "rs"
},
{
"setType": "rc"
},
{
"setType": "sh"
}
]
},
{
"id": "sit",
"activeParts": [
{
"setType": "bd"
},
{
"setType": "bds"
},
{
"setType": "ss"
},
{
"setType": "lg"
},
{
"setType": "sh"
},
{
"setType": "cc"
}
]
},
{
"id": "itemRight",
"activeParts": [
{
"setType": "ri"
}
]
}
]
}
}

View File

@ -0,0 +1,418 @@
export const HabboAvatarPartSets = {
'partSets': {
'partSet': [
{
'setType': 'ri',
'flippedSetType': 'ri'
},
{
'setType': 'ri',
'flippedSetType': 'ri'
},
{
'setType': 'rh',
'flippedSetType': 'lh'
},
{
'setType': 'rhs',
'flippedSetType': 'lhs'
},
{
'setType': 'rs',
'swim': '0',
'flippedSetType': 'ls'
},
{
'setType': 'rc',
'flippedSetType': 'lc'
},
{
'setType': 'bd'
},
{
'setType': 'bds'
},
{
'setType': 'ss'
},
{
'setType': 'sh'
},
{
'setType': 'lg'
},
{
'setType': 'ch'
},
{
'setType': 'cp'
},
{
'setType': 'cc'
},
{
'setType': 'hd'
},
{
'setType': 'fc'
},
{
'setType': 'ey'
},
{
'setType': 'hr'
},
{
'setType': 'hrb',
'removeSetType': 'hr'
},
{
'setType': 'li',
'flippedSetType': 'li'
},
{
'setType': 'lh',
'flippedSetType': 'rh'
},
{
'setType': 'lhs',
'flippedSetType': 'rhs'
},
{
'setType': 'ls',
'flippedSetType': 'rs'
},
{
'setType': 'lc',
'flippedSetType': 'rc'
},
{
'setType': 'wa'
},
{
'setType': 'ea'
},
{
'setType': 'ca'
},
{
'setType': 'fa'
},
{
'setType': 'ha'
},
{
'setType': 'he'
}
],
'activePartSets': [
{
'id': 'figure',
'activeParts': [
{
'setType': 'rh'
},
{
'setType': 'rh'
},
{
'setType': 'rhs'
},
{
'setType': 'rs'
},
{
'setType': 'rc'
},
{
'setType': 'bd'
},
{
'setType': 'bds'
},
{
'setType': 'ss'
},
{
'setType': 'sh'
},
{
'setType': 'lg'
},
{
'setType': 'ch'
},
{
'setType': 'cp'
},
{
'setType': 'cc'
},
{
'setType': 'wa'
},
{
'setType': 'hd'
},
{
'setType': 'fc'
},
{
'setType': 'ey'
},
{
'setType': 'hr'
},
{
'setType': 'hrb'
},
{
'setType': 'lh'
},
{
'setType': 'lhs'
},
{
'setType': 'ls'
},
{
'setType': 'lc'
},
{
'setType': 'ea'
},
{
'setType': 'ca'
},
{
'setType': 'fa'
},
{
'setType': 'ha'
},
{
'setType': 'he'
}
]
},
{
'id': 'head',
'activeParts': [
{
'setType': 'hd'
},
{
'setType': 'fc'
},
{
'setType': 'ey'
},
{
'setType': 'hr'
},
{
'setType': 'hrb'
},
{
'setType': 'ea'
},
{
'setType': 'fa'
},
{
'setType': 'ha'
},
{
'setType': 'he'
}
]
},
{
'id': 'speak',
'activeParts': [
{
'setType': 'hd'
},
{
'setType': 'hr'
},
{
'setType': 'hrb'
},
{
'setType': 'fc'
},
{
'setType': 'fa'
},
{
'setType': 'ha'
}
]
},
{
'id': 'gesture',
'activeParts': [
{
'setType': 'ey'
},
{
'setType': 'fc'
}
]
},
{
'id': 'eye',
'activeParts': [
{
'setType': 'ey'
}
]
},
{
'id': 'handRight',
'activeParts': [
{
'setType': 'rh'
},
{
'setType': 'rhs'
},
{
'setType': 'rs'
},
{
'setType': 'rc'
},
{
'setType': 'ri'
}
]
},
{
'id': 'handRightAndHead',
'activeParts': [
{
'setType': 'rh'
},
{
'setType': 'rhs'
},
{
'setType': 'rs'
},
{
'setType': 'rc'
},
{
'setType': 'ri'
},
{
'setType': 'ey'
},
{
'setType': 'fc'
},
{
'setType': 'hd'
}
]
},
{
'id': 'handLeft',
'activeParts': [
{
'setType': 'lh'
},
{
'setType': 'lhs'
},
{
'setType': 'ls'
},
{
'setType': 'lc'
},
{
'setType': 'li'
}
]
},
{
'id': 'walk',
'activeParts': [
{
'setType': 'bd'
},
{
'setType': 'bds'
},
{
'setType': 'ss'
},
{
'setType': 'lg'
},
{
'setType': 'lh'
},
{
'setType': 'lhs'
},
{
'setType': 'rh'
},
{
'setType': 'rhs'
},
{
'setType': 'ls'
},
{
'setType': 'lc'
},
{
'setType': 'rs'
},
{
'setType': 'rc'
},
{
'setType': 'sh'
}
]
},
{
'id': 'sit',
'activeParts': [
{
'setType': 'bd'
},
{
'setType': 'bds'
},
{
'setType': 'ss'
},
{
'setType': 'lg'
},
{
'setType': 'sh'
},
{
'setType': 'cc'
}
]
},
{
'id': 'itemRight',
'activeParts': [
{
'setType': 'ri'
}
]
}
]
}
};