@wildshard/kit 0.0.0-stage → 0.4.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.
Files changed (129) hide show
  1. package/GUIDE.md +221 -0
  2. package/content/abilities/bite.json +24 -0
  3. package/content/abilities/charge.json +25 -0
  4. package/content/abilities/claw.json +24 -0
  5. package/content/abilities/slam.json +24 -0
  6. package/content/abilities/swing.json +25 -0
  7. package/content/animated/bear/pbr/black-blaze.glb +0 -0
  8. package/content/animated/bear/pbr/black-blaze.json +1 -0
  9. package/content/animated/bear/pbr/black-old.glb +0 -0
  10. package/content/animated/bear/pbr/black-old.json +1 -0
  11. package/content/animated/bear/pbr/black.glb +0 -0
  12. package/content/animated/bear/pbr/black.json +1 -0
  13. package/content/animated/bear/pbr/brown-old.glb +0 -0
  14. package/content/animated/bear/pbr/brown-old.json +1 -0
  15. package/content/animated/bear/pbr/brown.glb +0 -0
  16. package/content/animated/bear/pbr/brown.json +1 -0
  17. package/content/animated/bear/toon/black-blaze.glb +0 -0
  18. package/content/animated/bear/toon/black-blaze.json +1 -0
  19. package/content/animated/bear/toon/black-old.glb +0 -0
  20. package/content/animated/bear/toon/black-old.json +1 -0
  21. package/content/animated/bear/toon/black.glb +0 -0
  22. package/content/animated/bear/toon/black.json +1 -0
  23. package/content/animated/bear/toon/brown-old.glb +0 -0
  24. package/content/animated/bear/toon/brown-old.json +1 -0
  25. package/content/animated/bear/toon/brown.glb +0 -0
  26. package/content/animated/bear/toon/brown.json +1 -0
  27. package/content/animated/boar/pbr/big.glb +0 -0
  28. package/content/animated/boar/pbr/big.json +1 -0
  29. package/content/animated/boar/pbr/black.glb +0 -0
  30. package/content/animated/boar/pbr/black.json +1 -0
  31. package/content/animated/boar/pbr/boar.glb +0 -0
  32. package/content/animated/boar/pbr/boar.json +1 -0
  33. package/content/animated/boar/pbr/ironhide.glb +0 -0
  34. package/content/animated/boar/pbr/ironhide.json +1 -0
  35. package/content/animated/boar/pbr/scarback.glb +0 -0
  36. package/content/animated/boar/pbr/scarback.json +1 -0
  37. package/content/animated/boar/pbr/sow.glb +0 -0
  38. package/content/animated/boar/pbr/sow.json +1 -0
  39. package/content/animated/boar/toon/big.glb +0 -0
  40. package/content/animated/boar/toon/big.json +1 -0
  41. package/content/animated/boar/toon/black.glb +0 -0
  42. package/content/animated/boar/toon/black.json +1 -0
  43. package/content/animated/boar/toon/boar.glb +0 -0
  44. package/content/animated/boar/toon/boar.json +1 -0
  45. package/content/animated/boar/toon/ironhide.glb +0 -0
  46. package/content/animated/boar/toon/ironhide.json +1 -0
  47. package/content/animated/boar/toon/scarback.glb +0 -0
  48. package/content/animated/boar/toon/scarback.json +1 -0
  49. package/content/animated/boar/toon/sow.glb +0 -0
  50. package/content/animated/boar/toon/sow.json +1 -0
  51. package/content/animated/catalogue.json +1 -0
  52. package/content/bodies/biped.json +5 -0
  53. package/content/bodies/quadruped.json +5 -0
  54. package/content/clips/quadruped.json +1 -0
  55. package/content/creatures/bear/look.json +199 -0
  56. package/content/creatures/bear/pbr/black-blaze.glb +0 -0
  57. package/content/creatures/bear/pbr/black-old.glb +0 -0
  58. package/content/creatures/bear/pbr/black.glb +0 -0
  59. package/content/creatures/bear/pbr/brown-old.glb +0 -0
  60. package/content/creatures/bear/pbr/brown.glb +0 -0
  61. package/content/creatures/bear/toon/black-blaze.glb +0 -0
  62. package/content/creatures/bear/toon/black-old.glb +0 -0
  63. package/content/creatures/bear/toon/black.glb +0 -0
  64. package/content/creatures/bear/toon/brown-old.glb +0 -0
  65. package/content/creatures/bear/toon/brown.glb +0 -0
  66. package/content/creatures/bear.json +257 -0
  67. package/content/creatures/boar/look.json +184 -0
  68. package/content/creatures/boar/pbr/big.glb +0 -0
  69. package/content/creatures/boar/pbr/black.glb +0 -0
  70. package/content/creatures/boar/pbr/boar.glb +0 -0
  71. package/content/creatures/boar/pbr/ironhide.glb +0 -0
  72. package/content/creatures/boar/pbr/scarback.glb +0 -0
  73. package/content/creatures/boar/pbr/sow.glb +0 -0
  74. package/content/creatures/boar/toon/big.glb +0 -0
  75. package/content/creatures/boar/toon/black.glb +0 -0
  76. package/content/creatures/boar/toon/boar.glb +0 -0
  77. package/content/creatures/boar/toon/ironhide.glb +0 -0
  78. package/content/creatures/boar/toon/scarback.glb +0 -0
  79. package/content/creatures/boar/toon/sow.glb +0 -0
  80. package/content/creatures/boar.json +275 -0
  81. package/content/creatures/bodies.json +4754 -0
  82. package/content/harvest-items.json +98 -0
  83. package/content/harvest.json +31 -0
  84. package/content/journal-icons/antlers.png +0 -0
  85. package/content/journal-icons/bear.png +0 -0
  86. package/content/journal-icons/boar.png +0 -0
  87. package/content/journal-icons/deer.png +0 -0
  88. package/content/journal-icons/elk.png +0 -0
  89. package/content/journal-icons/ghost.png +0 -0
  90. package/content/journal-icons/ironhide.png +0 -0
  91. package/content/journal-icons.json +9 -0
  92. package/content/shared/pickupCatalogue.json +1008 -0
  93. package/content/shared/starterBow.json +21 -0
  94. package/content/species/bear.json +144 -0
  95. package/content/species/boar.json +147 -0
  96. package/content/sword-debris.json +7 -0
  97. package/content/temperaments.json +519 -0
  98. package/content/tuning/bear.json +43 -0
  99. package/content/tuning/boar.json +32 -0
  100. package/content/tuning/deer.json +32 -0
  101. package/content/tuning/pursue.json +12 -0
  102. package/package.json +63 -3
  103. package/src/abilities.ts +85 -0
  104. package/src/body.ts +25 -0
  105. package/src/clips.ts +139 -0
  106. package/src/creatures.ts +76 -0
  107. package/src/geometry/arms.ts +725 -0
  108. package/src/geometry/bear.ts +521 -0
  109. package/src/geometry/boar.ts +604 -0
  110. package/src/geometry/bowProfile.ts +34 -0
  111. package/src/geometry/export.ts +101 -0
  112. package/src/geometry/meleeProfile.ts +261 -0
  113. package/src/geometry/nativeInteractionFacts.ts +7 -0
  114. package/src/geometry/nativeLooks.ts +54 -0
  115. package/src/geometry/riderArms.ts +215 -0
  116. package/src/geometry/sharedSpecs.ts +26 -0
  117. package/src/geometry/species.ts +768 -0
  118. package/src/geometry/specimenCatalogue.ts +80 -0
  119. package/src/geometry/starterCombat.ts +194 -0
  120. package/src/geometry/starterGlyphs.ts +12 -0
  121. package/src/geometry/starterMeleeProfile.ts +134 -0
  122. package/src/geometry/starterMoves.ts +172 -0
  123. package/src/index.ts +26 -0
  124. package/src/legacyCombat.ts +25 -0
  125. package/src/legacyHarvest.ts +104 -0
  126. package/src/legacyJournalIcons.ts +10 -0
  127. package/src/legacySpecies.ts +127 -0
  128. package/src/temperament.ts +97 -0
  129. package/README.md +0 -3
@@ -0,0 +1,199 @@
1
+ {
2
+ "rigContract": {
3
+ "skeleton": "bear.v1",
4
+ "clips": [],
5
+ "sockets": [
6
+ "body",
7
+ "head"
8
+ ]
9
+ },
10
+ "id": "kit.look.bear",
11
+ "species": "kit.creature.bear",
12
+ "kind": "bear",
13
+ "fur": {
14
+ "texSeed": 303,
15
+ "tex": {
16
+ "contrast": 0.9,
17
+ "grizzle": 0.45,
18
+ "normalStrength": 2.4,
19
+ "bristle": 0.3,
20
+ "strandLen": 16,
21
+ "root": 0.3
22
+ },
23
+ "roughness": 0.92,
24
+ "sheen": 0.12,
25
+ "sheenColor": [
26
+ 0.3,
27
+ 0.24,
28
+ 0.18
29
+ ],
30
+ "envMapIntensity": 0.85,
31
+ "rim": [
32
+ 0.85,
33
+ 0.66,
34
+ 0.42
35
+ ],
36
+ "shellLen": 0.095,
37
+ "shag": 0.028
38
+ },
39
+ "pose": {
40
+ "grazeNeck": 0.55,
41
+ "gallopTail": 0.2
42
+ },
43
+ "variants": {
44
+ "black": {
45
+ "traits": {
46
+ "grizzle": 0.3
47
+ }
48
+ },
49
+ "black-blaze": {
50
+ "traits": {
51
+ "grizzle": 0.3,
52
+ "blaze": 1
53
+ }
54
+ },
55
+ "brown": {
56
+ "tint": {
57
+ "base": [
58
+ 0.36,
59
+ 0.25,
60
+ 0.155
61
+ ],
62
+ "tip": [
63
+ 0.68,
64
+ 0.56,
65
+ 0.4
66
+ ],
67
+ "dark": [
68
+ 0.16,
69
+ 0.115,
70
+ 0.08
71
+ ],
72
+ "muzzle": [
73
+ 0.5,
74
+ 0.4,
75
+ 0.29
76
+ ],
77
+ "nose": [
78
+ 0.06,
79
+ 0.045,
80
+ 0.04
81
+ ],
82
+ "claw": [
83
+ 0.55,
84
+ 0.48,
85
+ 0.38
86
+ ],
87
+ "pad": [
88
+ 0.16,
89
+ 0.12,
90
+ 0.1
91
+ ]
92
+ },
93
+ "traits": {
94
+ "hump": 1,
95
+ "grizzle": 0.6
96
+ },
97
+ "fur": {
98
+ "rim": [
99
+ 0.95,
100
+ 0.8,
101
+ 0.55
102
+ ],
103
+ "sheenColor": [
104
+ 0.42,
105
+ 0.34,
106
+ 0.24
107
+ ]
108
+ }
109
+ },
110
+ "black-old": {
111
+ "tint": {
112
+ "base": [
113
+ 0.06,
114
+ 0.05,
115
+ 0.045
116
+ ],
117
+ "tip": [
118
+ 0.26,
119
+ 0.17,
120
+ 0.11
121
+ ],
122
+ "dark": [
123
+ 0.028,
124
+ 0.025,
125
+ 0.024
126
+ ],
127
+ "muzzle": [
128
+ 0.5,
129
+ 0.44,
130
+ 0.36
131
+ ],
132
+ "nose": [
133
+ 0.035,
134
+ 0.03,
135
+ 0.03
136
+ ]
137
+ },
138
+ "traits": {
139
+ "grizzle": 0.45,
140
+ "hump": 0.3
141
+ }
142
+ },
143
+ "brown-old": {
144
+ "tint": {
145
+ "base": [
146
+ 0.38,
147
+ 0.3,
148
+ 0.22
149
+ ],
150
+ "tip": [
151
+ 0.78,
152
+ 0.72,
153
+ 0.62
154
+ ],
155
+ "dark": [
156
+ 0.18,
157
+ 0.14,
158
+ 0.11
159
+ ],
160
+ "muzzle": [
161
+ 0.62,
162
+ 0.56,
163
+ 0.48
164
+ ],
165
+ "nose": [
166
+ 0.07,
167
+ 0.06,
168
+ 0.055
169
+ ],
170
+ "claw": [
171
+ 0.6,
172
+ 0.54,
173
+ 0.44
174
+ ],
175
+ "pad": [
176
+ 0.18,
177
+ 0.14,
178
+ 0.12
179
+ ]
180
+ },
181
+ "traits": {
182
+ "hump": 1.3,
183
+ "grizzle": 1
184
+ },
185
+ "fur": {
186
+ "rim": [
187
+ 0.95,
188
+ 0.9,
189
+ 0.78
190
+ ],
191
+ "sheenColor": [
192
+ 0.5,
193
+ 0.46,
194
+ 0.4
195
+ ]
196
+ }
197
+ }
198
+ }
199
+ }
@@ -0,0 +1,257 @@
1
+ {
2
+ "species": {
3
+ "id": "kit.creature.bear",
4
+ "kind": "bear",
5
+ "label": "Bear",
6
+ "aggressive": true,
7
+ "lockable": true,
8
+ "dims": {
9
+ "bodyY": 0.66,
10
+ "bodyHalfLen": 0.72,
11
+ "bodyRadius": 0.36,
12
+ "headRadius": 0.21,
13
+ "legLen": 0.62,
14
+ "feet": [
15
+ [
16
+ 0.18,
17
+ 0.48
18
+ ],
19
+ [
20
+ -0.18,
21
+ 0.48
22
+ ],
23
+ [
24
+ 0.17,
25
+ -0.4
26
+ ],
27
+ [
28
+ -0.17,
29
+ -0.4
30
+ ]
31
+ ],
32
+ "halfWidth": 0.31
33
+ },
34
+ "variants": [
35
+ {
36
+ "id": "black",
37
+ "label": "Black bear",
38
+ "rarity": "common",
39
+ "weight": 37,
40
+ "scale": [
41
+ 1.3,
42
+ 1.4
43
+ ],
44
+ "hp": 220,
45
+ "mods": {
46
+ "speed": 1,
47
+ "chargeDist": 1,
48
+ "damageTaken": 1,
49
+ "chargeDamage": 35,
50
+ "relentless": false
51
+ }
52
+ },
53
+ {
54
+ "id": "black-blaze",
55
+ "label": "Black bear",
56
+ "rarity": "common",
57
+ "weight": 18,
58
+ "scale": [
59
+ 1.3,
60
+ 1.4
61
+ ],
62
+ "hp": 220,
63
+ "mods": {
64
+ "speed": 1,
65
+ "chargeDist": 1,
66
+ "damageTaken": 1,
67
+ "chargeDamage": 35,
68
+ "relentless": false
69
+ }
70
+ },
71
+ {
72
+ "id": "brown",
73
+ "label": "Brown bear",
74
+ "rarity": "uncommon",
75
+ "weight": 30,
76
+ "scale": [
77
+ 1.6,
78
+ 1.75
79
+ ],
80
+ "hp": 320,
81
+ "mods": {
82
+ "speed": 1,
83
+ "chargeDist": 1,
84
+ "damageTaken": 0.85,
85
+ "chargeDamage": 45,
86
+ "relentless": true
87
+ }
88
+ },
89
+ {
90
+ "id": "black-old",
91
+ "label": "Old Blackpaw",
92
+ "rarity": "rare",
93
+ "weight": 10,
94
+ "scale": [
95
+ 1.65,
96
+ 1.65
97
+ ],
98
+ "hp": 330,
99
+ "mods": {
100
+ "speed": 1,
101
+ "chargeDist": 1.2,
102
+ "damageTaken": 1,
103
+ "chargeDamage": 42,
104
+ "relentless": true
105
+ }
106
+ },
107
+ {
108
+ "id": "brown-old",
109
+ "label": "Grizzled Sow",
110
+ "rarity": "rare",
111
+ "weight": 5,
112
+ "scale": [
113
+ 2,
114
+ 2
115
+ ],
116
+ "hp": 480,
117
+ "mods": {
118
+ "speed": 1.05,
119
+ "chargeDist": 1.3,
120
+ "damageTaken": 0.8,
121
+ "chargeDamage": 55,
122
+ "relentless": true
123
+ }
124
+ }
125
+ ],
126
+ "type": "beast",
127
+ "body": {
128
+ "skeleton": "quadruped",
129
+ "size": "medium",
130
+ "scale": 1,
131
+ "look": "kit.creature.bear.look"
132
+ },
133
+ "temperament": {
134
+ "brain": "hunt",
135
+ "reaction": "aggressive",
136
+ "leash": 90,
137
+ "assist": 20,
138
+ "home": {
139
+ "speed": 3.5,
140
+ "stop": 1.5
141
+ },
142
+ "tuning": {
143
+ "hp": 220,
144
+ "sightRange": 45,
145
+ "sightRangeGraze": 30,
146
+ "sightCone": 1.2217304763960306,
147
+ "hearStill": 6,
148
+ "hearCrouch": 12,
149
+ "hearWalk": 25,
150
+ "hearSprint": 45,
151
+ "noticeRate": 0.8,
152
+ "forgetRate": 0.15,
153
+ "alertAt": 0.3,
154
+ "boltAt": 0.6,
155
+ "freezeMin": 1,
156
+ "freezeMax": 2,
157
+ "relaxAfter": 3,
158
+ "panicDist": 14,
159
+ "runSpeed": 7,
160
+ "trotSpeed": 3.5,
161
+ "fleeMinTime": 3,
162
+ "fleeUntil": 60,
163
+ "fleeUntilMax": 90,
164
+ "fleeMaxTime": 12,
165
+ "lookBack": 2,
166
+ "waryTime": 30,
167
+ "waryBoost": 1.3,
168
+ "herdAlertRadius": 20,
169
+ "herdBoltDelayMin": 0.3,
170
+ "herdBoltDelayMax": 1,
171
+ "impactSpook": 20,
172
+ "impactAlert": 80,
173
+ "stalk": {
174
+ "detect": 40,
175
+ "speed": 2.5,
176
+ "giveUp": 60,
177
+ "rechargeCd": 1.5,
178
+ "huffMin": 1.8,
179
+ "huffMax": 3.2,
180
+ "roar": "bear_roar",
181
+ "fleeBelowHp": 0.2,
182
+ "fleeChance": 0.5
183
+ },
184
+ "motion": {
185
+ "walkSpeed": 1,
186
+ "chargeSpeed": 9,
187
+ "chargeWindup": 0.65,
188
+ "ringRadius": 7.5,
189
+ "trampleRadius": 0.75
190
+ }
191
+ }
192
+ },
193
+ "senses": {
194
+ "notice": 45,
195
+ "sight": {
196
+ "range": 45,
197
+ "cone": 1.2217304763960306,
198
+ "graze": 30
199
+ },
200
+ "hearing": {
201
+ "still": 6,
202
+ "crouch": 12,
203
+ "walk": 25,
204
+ "sprint": 45
205
+ }
206
+ },
207
+ "abilities": [
208
+ {
209
+ "use": "kit.creature.bear.charge",
210
+ "range": 10,
211
+ "cooldown": 2,
212
+ "weight": 1,
213
+ "damage": 35,
214
+ "speed": 9,
215
+ "windup": 0.65
216
+ }
217
+ ],
218
+ "presentation": {
219
+ "blood": true,
220
+ "sounds": {
221
+ "call": "bear_growl",
222
+ "hurt": "bear_hurt"
223
+ }
224
+ },
225
+ "harvest": [
226
+ {
227
+ "item": "bear-pelt",
228
+ "count": 1
229
+ },
230
+ {
231
+ "item": "bear-claw",
232
+ "count": 1
233
+ }
234
+ ]
235
+ },
236
+ "strikes": [
237
+ {
238
+ "id": "kit.creature.bear.charge",
239
+ "shape": {
240
+ "kind": "lane",
241
+ "length": 8,
242
+ "width": 0.9
243
+ },
244
+ "windup": 0.65,
245
+ "active": 0.6,
246
+ "recover": 0.8,
247
+ "cooldown": 2,
248
+ "range": 10,
249
+ "damage": 35,
250
+ "tags": [
251
+ "creature.bear"
252
+ ],
253
+ "weight": 1,
254
+ "speed": 9
255
+ }
256
+ ]
257
+ }
@@ -0,0 +1,184 @@
1
+ {
2
+ "rigContract": {
3
+ "skeleton": "boar.v1",
4
+ "clips": [],
5
+ "sockets": [
6
+ "body",
7
+ "head"
8
+ ]
9
+ },
10
+ "id": "kit.look.boar",
11
+ "species": "kit.creature.boar",
12
+ "kind": "boar",
13
+ "fur": {
14
+ "texSeed": 202,
15
+ "tex": {
16
+ "contrast": 1,
17
+ "grizzle": 0.6,
18
+ "normalStrength": 2.2,
19
+ "bristle": 0.6,
20
+ "strandLen": 12,
21
+ "root": 0.24
22
+ },
23
+ "roughness": 0.88,
24
+ "sheen": 0.15,
25
+ "sheenColor": [
26
+ 0.35,
27
+ 0.3,
28
+ 0.24
29
+ ],
30
+ "envMapIntensity": 0.9,
31
+ "rim": [
32
+ 0.9,
33
+ 0.7,
34
+ 0.45
35
+ ],
36
+ "shellLen": 0.065,
37
+ "shag": 0.016
38
+ },
39
+ "pose": {
40
+ "grazeNeck": 0.3,
41
+ "gallopTail": 0.5
42
+ },
43
+ "variants": {
44
+ "sow": {
45
+ "traits": {
46
+ "tuskScale": 0.6
47
+ }
48
+ },
49
+ "black": {
50
+ "tint": {
51
+ "base": [
52
+ 0.1,
53
+ 0.09,
54
+ 0.085
55
+ ],
56
+ "grizzle": [
57
+ 0.24,
58
+ 0.22,
59
+ 0.2
60
+ ],
61
+ "dark": [
62
+ 0.05,
63
+ 0.045,
64
+ 0.04
65
+ ],
66
+ "black": [
67
+ 0.03,
68
+ 0.03,
69
+ 0.03
70
+ ],
71
+ "cheek": [
72
+ 0.17,
73
+ 0.15,
74
+ 0.13
75
+ ],
76
+ "snout": [
77
+ 0.1,
78
+ 0.07,
79
+ 0.07
80
+ ]
81
+ },
82
+ "traits": {
83
+ "tuskScale": 1.6
84
+ }
85
+ },
86
+ "big": {
87
+ "traits": {
88
+ "tuskScale": 1.3
89
+ }
90
+ },
91
+ "scarback": {
92
+ "tint": {
93
+ "base": [
94
+ 0.34,
95
+ 0.31,
96
+ 0.27
97
+ ],
98
+ "grizzle": [
99
+ 0.6,
100
+ 0.56,
101
+ 0.5
102
+ ],
103
+ "dark": [
104
+ 0.15,
105
+ 0.135,
106
+ 0.12
107
+ ],
108
+ "cheek": [
109
+ 0.46,
110
+ 0.43,
111
+ 0.38
112
+ ],
113
+ "tusk": [
114
+ 0.86,
115
+ 0.8,
116
+ 0.66
117
+ ]
118
+ },
119
+ "traits": {
120
+ "tuskScale": 1.8,
121
+ "scar": 1
122
+ }
123
+ },
124
+ "ironhide": {
125
+ "tint": {
126
+ "base": [
127
+ 0.28,
128
+ 0.29,
129
+ 0.31
130
+ ],
131
+ "grizzle": [
132
+ 0.52,
133
+ 0.54,
134
+ 0.56
135
+ ],
136
+ "dark": [
137
+ 0.12,
138
+ 0.125,
139
+ 0.14
140
+ ],
141
+ "black": [
142
+ 0.05,
143
+ 0.05,
144
+ 0.06
145
+ ],
146
+ "cheek": [
147
+ 0.4,
148
+ 0.41,
149
+ 0.42
150
+ ],
151
+ "snout": [
152
+ 0.12,
153
+ 0.1,
154
+ 0.1
155
+ ],
156
+ "tusk": [
157
+ 0.8,
158
+ 0.78,
159
+ 0.7
160
+ ],
161
+ "hoof": [
162
+ 0.08,
163
+ 0.08,
164
+ 0.085
165
+ ]
166
+ },
167
+ "traits": {
168
+ "tuskScale": 2.2
169
+ },
170
+ "fur": {
171
+ "rim": [
172
+ 0.75,
173
+ 0.78,
174
+ 0.85
175
+ ],
176
+ "sheenColor": [
177
+ 0.4,
178
+ 0.42,
179
+ 0.46
180
+ ]
181
+ }
182
+ }
183
+ }
184
+ }