@plupin/character 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,130 @@
1
+ // src/body-presets.ts
2
+ var BODY_PRESETS = {
3
+ round: { name: "Round", shape: "plup", body: { figure: 0, headSize: 1 } },
4
+ curvy: {
5
+ name: "Curvy",
6
+ shape: "plup",
7
+ body: {
8
+ figure: 1,
9
+ headSize: 0.78,
10
+ shoulders: 0.86,
11
+ bust: 0.9,
12
+ waist: 0.54,
13
+ hips: 1.4,
14
+ legLength: 2.35,
15
+ armLength: 1.35,
16
+ muscle: 0.82
17
+ }
18
+ },
19
+ glam: {
20
+ name: "Hourglass",
21
+ shape: "plup",
22
+ body: {
23
+ figure: 1,
24
+ headSize: 0.74,
25
+ shoulders: 0.84,
26
+ bust: 1.32,
27
+ waist: 0.48,
28
+ hips: 1.54,
29
+ legLength: 2.55,
30
+ armLength: 1.38,
31
+ muscle: 0.8
32
+ }
33
+ },
34
+ ikemen: {
35
+ name: "Ikemen",
36
+ shape: "plup",
37
+ body: {
38
+ figure: 1,
39
+ headSize: 0.72,
40
+ shoulders: 1.28,
41
+ bust: 0,
42
+ waist: 0.74,
43
+ hips: 0.92,
44
+ legLength: 2.6,
45
+ armLength: 1.48,
46
+ muscle: 1.22
47
+ }
48
+ },
49
+ muscular: {
50
+ name: "Muscular",
51
+ shape: "plup",
52
+ body: {
53
+ figure: 1,
54
+ headSize: 0.7,
55
+ shoulders: 1.56,
56
+ bust: 0,
57
+ waist: 0.72,
58
+ hips: 0.96,
59
+ legLength: 2.25,
60
+ armLength: 1.52,
61
+ muscle: 2.15
62
+ }
63
+ },
64
+ "tall-slim": {
65
+ name: "Tall & Slim",
66
+ shape: "plup",
67
+ body: {
68
+ figure: 1,
69
+ headSize: 0.76,
70
+ shoulders: 0.9,
71
+ bust: 0.28,
72
+ waist: 0.66,
73
+ hips: 0.98,
74
+ legLength: 2.5,
75
+ armLength: 1.38,
76
+ muscle: 0.8
77
+ }
78
+ },
79
+ athletic: {
80
+ name: "Athletic",
81
+ shape: "plup",
82
+ body: {
83
+ figure: 1,
84
+ headSize: 0.75,
85
+ shoulders: 1.32,
86
+ bust: 0.12,
87
+ waist: 0.74,
88
+ hips: 1,
89
+ legLength: 2.3,
90
+ armLength: 1.44,
91
+ muscle: 1.55
92
+ }
93
+ },
94
+ chibi: {
95
+ name: "Chibi",
96
+ shape: "plup",
97
+ body: {
98
+ figure: 1,
99
+ torsoHeight: 0.48,
100
+ headSize: 1.32,
101
+ shoulders: 0.72,
102
+ bust: 0,
103
+ waist: 0.78,
104
+ hips: 0.86,
105
+ legLength: 0.85,
106
+ armLength: 0.68,
107
+ muscle: 0.78
108
+ }
109
+ },
110
+ chubby: {
111
+ name: "Chubby",
112
+ shape: "wide",
113
+ body: {
114
+ figure: 0,
115
+ headSize: 1,
116
+ shoulders: 1,
117
+ waist: 1.15,
118
+ hips: 1.25,
119
+ legLength: 1,
120
+ armLength: 1,
121
+ muscle: 1.2
122
+ }
123
+ },
124
+ tiny: { name: "Tiny", shape: "mini", body: { figure: 0, headSize: 1 } },
125
+ bean: { name: "Bean", shape: "bean", body: { figure: 0, headSize: 1, legLength: 1.3 } }
126
+ };
127
+
1
128
  // src/emote.ts
2
129
  var EMOTES = [
3
130
  {
@@ -105,6 +232,54 @@ var EMOTES = [
105
232
  face: "serious",
106
233
  clip: "nod",
107
234
  sigmaPrice: 60
235
+ },
236
+ {
237
+ id: "emote-brazil-funk",
238
+ label: "Brazil Funk",
239
+ glyph: "♪(┌・。・)┌",
240
+ face: "cool",
241
+ clip: "brazil-funk",
242
+ sigmaPrice: 25
243
+ },
244
+ {
245
+ id: "emote-pacu-jalur",
246
+ label: "Pacu Jalur",
247
+ glyph: "ᕙ(•̀ᴗ•́)ᕗ",
248
+ face: "smug",
249
+ clip: "pacu-jalur",
250
+ sigmaPrice: 20
251
+ },
252
+ {
253
+ id: "emote-velocity",
254
+ label: "Jedag Jedug",
255
+ glyph: "✧(•̀ᴗ•́)✧",
256
+ face: "stars",
257
+ clip: "velocity",
258
+ sigmaPrice: 35
259
+ },
260
+ {
261
+ id: "emote-griddy",
262
+ label: "Griddy",
263
+ glyph: "(⌐■_■)ノ",
264
+ face: "smirk",
265
+ clip: "griddy",
266
+ sigmaPrice: 45
267
+ },
268
+ {
269
+ id: "emote-floss",
270
+ label: "Floss",
271
+ glyph: "ヾ(•̀_•́)ノ",
272
+ face: "sparkle",
273
+ clip: "floss",
274
+ sigmaPrice: 40
275
+ },
276
+ {
277
+ id: "emote-caramel",
278
+ label: "Idol Bounce",
279
+ glyph: "(♡˙︶˙♡)♪",
280
+ face: "sparkle",
281
+ clip: "caramel",
282
+ sigmaPrice: 55
108
283
  }
109
284
  ];
110
285
  function emoteOf(name) {
@@ -310,4 +485,4 @@ function createRagdoll(initial = "off", radius = 0.5) {
310
485
  }
311
486
  }
312
487
 
313
- export { EMOTES, emoteOf, RAGDOLL_JOINTS, createRagdoll };
488
+ export { BODY_PRESETS, EMOTES, emoteOf, RAGDOLL_JOINTS, createRagdoll };