@quenty/ragdoll 15.67.0 → 15.69.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [15.69.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ragdoll@15.68.0...@quenty/ragdoll@15.69.0) (2026-09-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/ragdoll
|
|
9
|
+
|
|
10
|
+
# [15.68.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ragdoll@15.67.0...@quenty/ragdoll@15.68.0) (2026-08-28)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @quenty/ragdoll
|
|
13
|
+
|
|
6
14
|
# [15.67.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ragdoll@15.66.1...@quenty/ragdoll@15.67.0) (2026-08-28)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/ragdoll
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/ragdoll",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.69.0",
|
|
4
4
|
"description": "Quenty's Ragdoll system for Roblox - Floppy fun ragdolls",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,46 +28,47 @@
|
|
|
28
28
|
"Quenty"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@quenty/adorneedata": "7.
|
|
32
|
-
"@quenty/attributeutils": "14.
|
|
31
|
+
"@quenty/adorneedata": "7.43.0",
|
|
32
|
+
"@quenty/attributeutils": "14.38.0",
|
|
33
33
|
"@quenty/baseobject": "10.16.0",
|
|
34
|
-
"@quenty/binder": "14.
|
|
35
|
-
"@quenty/brio": "14.
|
|
36
|
-
"@quenty/camera": "14.
|
|
34
|
+
"@quenty/binder": "14.46.0",
|
|
35
|
+
"@quenty/brio": "14.37.0",
|
|
36
|
+
"@quenty/camera": "14.55.0",
|
|
37
37
|
"@quenty/cancellabledelay": "3.6.2",
|
|
38
|
-
"@quenty/characterutils": "12.
|
|
39
|
-
"@quenty/cmdrservice": "13.
|
|
38
|
+
"@quenty/characterutils": "12.44.0",
|
|
39
|
+
"@quenty/cmdrservice": "13.61.0",
|
|
40
40
|
"@quenty/draw": "7.17.0",
|
|
41
41
|
"@quenty/enumutils": "3.4.6",
|
|
42
42
|
"@quenty/hapticfeedbackutils": "3.3.3",
|
|
43
|
-
"@quenty/instanceutils": "13.
|
|
43
|
+
"@quenty/instanceutils": "13.37.0",
|
|
44
|
+
"@quenty/jestutils": "1.1.0",
|
|
44
45
|
"@quenty/loader": "10.11.1",
|
|
45
46
|
"@quenty/maid": "3.12.0",
|
|
46
|
-
"@quenty/motor6d": "7.
|
|
47
|
+
"@quenty/motor6d": "7.55.0",
|
|
47
48
|
"@quenty/nevermore-test-runner": "1.6.0",
|
|
48
49
|
"@quenty/physicsutils": "8.34.0",
|
|
49
|
-
"@quenty/playerhumanoidbinder": "14.
|
|
50
|
-
"@quenty/playermock": "1.
|
|
51
|
-
"@quenty/playerutils": "8.
|
|
50
|
+
"@quenty/playerhumanoidbinder": "14.50.0",
|
|
51
|
+
"@quenty/playermock": "1.9.0",
|
|
52
|
+
"@quenty/playerutils": "8.44.0",
|
|
52
53
|
"@quenty/promise": "10.24.0",
|
|
53
|
-
"@quenty/qframe": "10.
|
|
54
|
-
"@quenty/r15utils": "13.
|
|
55
|
-
"@quenty/remoting": "12.
|
|
56
|
-
"@quenty/rigbuilderutils": "10.
|
|
54
|
+
"@quenty/qframe": "10.35.0",
|
|
55
|
+
"@quenty/r15utils": "13.38.0",
|
|
56
|
+
"@quenty/remoting": "12.44.0",
|
|
57
|
+
"@quenty/rigbuilderutils": "10.47.0",
|
|
57
58
|
"@quenty/rx": "13.34.0",
|
|
58
|
-
"@quenty/rxbinderutils": "14.
|
|
59
|
+
"@quenty/rxbinderutils": "14.46.0",
|
|
59
60
|
"@quenty/rxsignal": "7.34.0",
|
|
60
61
|
"@quenty/servicebag": "11.21.0",
|
|
61
62
|
"@quenty/spring": "10.12.1",
|
|
62
|
-
"@quenty/steputils": "3.
|
|
63
|
+
"@quenty/steputils": "3.9.0",
|
|
63
64
|
"@quenty/table": "3.9.2",
|
|
64
|
-
"@quenty/tie": "10.
|
|
65
|
-
"@quenty/valuebaseutils": "13.
|
|
66
|
-
"@quenty/valueobject": "13.
|
|
65
|
+
"@quenty/tie": "10.50.0",
|
|
66
|
+
"@quenty/valuebaseutils": "13.37.0",
|
|
67
|
+
"@quenty/valueobject": "13.38.0",
|
|
67
68
|
"@quentystudios/jest-lua": "3.10.0-quenty.2"
|
|
68
69
|
},
|
|
69
70
|
"publishConfig": {
|
|
70
71
|
"access": "public"
|
|
71
72
|
},
|
|
72
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "278f4ca25486a8ba0601704b27a11da8c77499c9"
|
|
73
74
|
}
|
|
@@ -13,6 +13,8 @@ local require = require(script.Parent.loader).load(script)
|
|
|
13
13
|
local Workspace = game:GetService("Workspace")
|
|
14
14
|
|
|
15
15
|
local Jest = require("Jest")
|
|
16
|
+
local JestUtils = require("JestUtils")
|
|
17
|
+
local Maid = require("Maid")
|
|
16
18
|
local PlayerMock = require("PlayerMock")
|
|
17
19
|
local RagdollClient = require("RagdollClient")
|
|
18
20
|
local RagdollServiceClient = require("RagdollServiceClient")
|
|
@@ -21,22 +23,21 @@ local RagdollableClient = require("RagdollableClient")
|
|
|
21
23
|
local RigBuilderUtils = require("RigBuilderUtils")
|
|
22
24
|
local ServiceBag = require("ServiceBag")
|
|
23
25
|
|
|
24
|
-
local afterEach = Jest.Globals.afterEach
|
|
25
26
|
local describe = Jest.Globals.describe
|
|
26
27
|
local expect = Jest.Globals.expect
|
|
27
28
|
local it = Jest.Globals.it
|
|
28
29
|
|
|
29
30
|
local specCounter = 0
|
|
30
|
-
local currentMock: Player? = nil
|
|
31
|
-
local currentServiceBag: ServiceBag.ServiceBag? = nil
|
|
32
31
|
|
|
33
32
|
local function setup()
|
|
34
33
|
specCounter += 1
|
|
35
34
|
|
|
35
|
+
local maid = Maid.new()
|
|
36
|
+
JestUtils.afterThis(maid)
|
|
37
|
+
|
|
36
38
|
local mock = PlayerMock.new({ UserId = 66123100 + specCounter })
|
|
37
39
|
mock.Parent = Workspace
|
|
38
|
-
PlayerMock.setMockedLocalPlayer(mock)
|
|
39
|
-
currentMock = mock
|
|
40
|
+
local restoreLocalPlayer = PlayerMock.setMockedLocalPlayer(mock)
|
|
40
41
|
|
|
41
42
|
local serviceBag = ServiceBag.new()
|
|
42
43
|
local ragdollServiceClient = (
|
|
@@ -45,7 +46,12 @@ local function setup()
|
|
|
45
46
|
|
|
46
47
|
serviceBag:Init()
|
|
47
48
|
serviceBag:Start()
|
|
48
|
-
|
|
49
|
+
|
|
50
|
+
maid:GiveTask(function()
|
|
51
|
+
serviceBag:Destroy()
|
|
52
|
+
restoreLocalPlayer()
|
|
53
|
+
mock:Destroy()
|
|
54
|
+
end)
|
|
49
55
|
|
|
50
56
|
return {
|
|
51
57
|
mock = mock,
|
|
@@ -54,20 +60,6 @@ local function setup()
|
|
|
54
60
|
}
|
|
55
61
|
end
|
|
56
62
|
|
|
57
|
-
afterEach(function()
|
|
58
|
-
if currentServiceBag ~= nil then
|
|
59
|
-
currentServiceBag:Destroy()
|
|
60
|
-
currentServiceBag = nil
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
PlayerMock.setMockedLocalPlayer(nil)
|
|
64
|
-
|
|
65
|
-
if currentMock ~= nil then
|
|
66
|
-
currentMock:Destroy()
|
|
67
|
-
currentMock = nil
|
|
68
|
-
end
|
|
69
|
-
end)
|
|
70
|
-
|
|
71
63
|
describe("RagdollServiceClient with a mocked local player", function()
|
|
72
64
|
it("initializes, starts, and defaults screen shake to enabled", function()
|
|
73
65
|
local state = setup()
|
|
@@ -15,6 +15,7 @@ local require = require(script.Parent.loader).load(script)
|
|
|
15
15
|
local Workspace = game:GetService("Workspace")
|
|
16
16
|
|
|
17
17
|
local Jest = require("Jest")
|
|
18
|
+
local JestUtils = require("JestUtils")
|
|
18
19
|
local Maid = require("Maid")
|
|
19
20
|
local PlayerMock = require("PlayerMock")
|
|
20
21
|
local PlayerMockService = require("PlayerMockService")
|
|
@@ -45,7 +46,7 @@ local function setup()
|
|
|
45
46
|
|
|
46
47
|
local serviceBag = maid:Add(ServiceBag.new())
|
|
47
48
|
serviceBag:GetService(RagdollService)
|
|
48
|
-
local playerMockService = serviceBag:GetService(PlayerMockService)
|
|
49
|
+
local playerMockService: any = serviceBag:GetService(PlayerMockService)
|
|
49
50
|
|
|
50
51
|
serviceBag:Init()
|
|
51
52
|
serviceBag:Start()
|
|
@@ -100,17 +101,21 @@ local function setup()
|
|
|
100
101
|
}
|
|
101
102
|
end
|
|
102
103
|
|
|
103
|
-
|
|
104
|
+
local controller = {
|
|
104
105
|
serviceBag = serviceBag,
|
|
105
106
|
ragdollBinder = serviceBag:GetService(Ragdoll),
|
|
106
107
|
addPlayer = addPlayer,
|
|
107
108
|
run = function(commandName: string, ...)
|
|
108
109
|
return registered[commandName]({}, ...)
|
|
109
110
|
end,
|
|
110
|
-
|
|
111
|
+
Destroy = function(_self)
|
|
111
112
|
maid:DoCleaning()
|
|
112
113
|
end,
|
|
113
114
|
}
|
|
115
|
+
|
|
116
|
+
maid:GiveTask(JestUtils.afterThis(controller))
|
|
117
|
+
|
|
118
|
+
return controller
|
|
114
119
|
end
|
|
115
120
|
|
|
116
121
|
describe("RagdollCmdrService", function()
|
|
@@ -132,7 +137,7 @@ describe("RagdollCmdrService", function()
|
|
|
132
137
|
return RagdollTestUtils.areMotorsEnabled(player.character, true)
|
|
133
138
|
end)).toBe(true)
|
|
134
139
|
|
|
135
|
-
controller
|
|
140
|
+
controller:Destroy()
|
|
136
141
|
end)
|
|
137
142
|
|
|
138
143
|
it("acts on every player in the list", function()
|
|
@@ -148,7 +153,7 @@ describe("RagdollCmdrService", function()
|
|
|
148
153
|
expect(controller.ragdollBinder:Get(first.humanoid)).toBeNil()
|
|
149
154
|
expect(controller.ragdollBinder:Get(second.humanoid)).toBeNil()
|
|
150
155
|
|
|
151
|
-
controller
|
|
156
|
+
controller:Destroy()
|
|
152
157
|
end)
|
|
153
158
|
|
|
154
159
|
it("reports the players it could not act on without skipping the rest", function()
|
|
@@ -175,7 +180,7 @@ describe("RagdollCmdrService", function()
|
|
|
175
180
|
true
|
|
176
181
|
)
|
|
177
182
|
|
|
178
|
-
controller
|
|
183
|
+
controller:Destroy()
|
|
179
184
|
end)
|
|
180
185
|
|
|
181
186
|
it("reports an empty player list", function()
|
|
@@ -184,6 +189,6 @@ describe("RagdollCmdrService", function()
|
|
|
184
189
|
expect(controller.run("ragdoll", {})).toEqual("No players to act on.")
|
|
185
190
|
expect(controller.run("unragdoll", {})).toEqual("No players to act on.")
|
|
186
191
|
|
|
187
|
-
controller
|
|
192
|
+
controller:Destroy()
|
|
188
193
|
end)
|
|
189
194
|
end)
|
|
@@ -13,6 +13,8 @@ local require = require(script.Parent.loader).load(script)
|
|
|
13
13
|
local Workspace = game:GetService("Workspace")
|
|
14
14
|
|
|
15
15
|
local Jest = require("Jest")
|
|
16
|
+
local JestUtils = require("JestUtils")
|
|
17
|
+
local Maid = require("Maid")
|
|
16
18
|
local PlayerMock = require("PlayerMock")
|
|
17
19
|
local PlayerMockService = require("PlayerMockService")
|
|
18
20
|
local Ragdoll = require("Ragdoll")
|
|
@@ -33,13 +35,15 @@ local specCounter = 0
|
|
|
33
35
|
local function setup()
|
|
34
36
|
specCounter += 1
|
|
35
37
|
|
|
38
|
+
local maid = Maid.new()
|
|
39
|
+
|
|
36
40
|
local container = Instance.new("Folder")
|
|
37
41
|
container.Name = string.format("RagdollServiceSpecContainer_%d", specCounter)
|
|
38
42
|
container.Parent = Workspace
|
|
39
43
|
|
|
40
44
|
local serviceBag = ServiceBag.new()
|
|
41
45
|
local ragdollService: any = serviceBag:GetService(RagdollService)
|
|
42
|
-
local playerMockService = serviceBag:GetService(PlayerMockService)
|
|
46
|
+
local playerMockService: any = serviceBag:GetService(PlayerMockService)
|
|
43
47
|
|
|
44
48
|
serviceBag:Init()
|
|
45
49
|
serviceBag:Start()
|
|
@@ -60,21 +64,29 @@ local function setup()
|
|
|
60
64
|
end
|
|
61
65
|
end
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+
maid:GiveTask(function()
|
|
64
68
|
destroyBag()
|
|
65
69
|
mock:Destroy()
|
|
66
70
|
container:Destroy()
|
|
71
|
+
end)
|
|
72
|
+
|
|
73
|
+
local function Destroy(_self)
|
|
74
|
+
maid:DoCleaning()
|
|
67
75
|
end
|
|
68
76
|
|
|
69
|
-
|
|
77
|
+
local controller = {
|
|
70
78
|
serviceBag = serviceBag,
|
|
71
79
|
ragdollService = ragdollService,
|
|
72
80
|
mock = mock,
|
|
73
81
|
character = character,
|
|
74
82
|
humanoid = humanoid,
|
|
75
83
|
destroyBag = destroyBag,
|
|
76
|
-
|
|
84
|
+
Destroy = Destroy,
|
|
77
85
|
}
|
|
86
|
+
|
|
87
|
+
maid:GiveTask(JestUtils.afterThis(controller))
|
|
88
|
+
|
|
89
|
+
return controller
|
|
78
90
|
end
|
|
79
91
|
|
|
80
92
|
describe("RagdollService with a mock player R6 character", function()
|
|
@@ -93,7 +105,7 @@ describe("RagdollService with a mock player R6 character", function()
|
|
|
93
105
|
expect(torso:FindFirstChild("NeckAttachment")).toBeDefined()
|
|
94
106
|
expect(torso:FindFirstChild("LeftShoulderRagdollAttachment")).toBeDefined()
|
|
95
107
|
|
|
96
|
-
state
|
|
108
|
+
state:Destroy()
|
|
97
109
|
end)
|
|
98
110
|
|
|
99
111
|
it("suppresses motors while Ragdoll is bound and restores them on unbind", function()
|
|
@@ -118,7 +130,7 @@ describe("RagdollService with a mock player R6 character", function()
|
|
|
118
130
|
end)).toBe(true)
|
|
119
131
|
expect(ragdollBinder:Get(state.humanoid)).toBeNil()
|
|
120
132
|
|
|
121
|
-
state
|
|
133
|
+
state:Destroy()
|
|
122
134
|
end)
|
|
123
135
|
|
|
124
136
|
it("tears down while ragdolled, despawning the mock character", function()
|
|
@@ -140,7 +152,7 @@ describe("RagdollService with a mock player R6 character", function()
|
|
|
140
152
|
return state.character.Parent == nil
|
|
141
153
|
end)).toBe(true)
|
|
142
154
|
|
|
143
|
-
state
|
|
155
|
+
state:Destroy()
|
|
144
156
|
end)
|
|
145
157
|
|
|
146
158
|
it("SetRagdollOnFall toggles automatic tagging and the fall remote event", function()
|
|
@@ -161,6 +173,6 @@ describe("RagdollService with a mock player R6 character", function()
|
|
|
161
173
|
expect(onFallBinder:Get(state.humanoid)).toBeNil()
|
|
162
174
|
expect(state.humanoid:FindFirstChild(RagdollHumanoidOnFallConstants.REMOTE_EVENT_NAME)).toBeNil()
|
|
163
175
|
|
|
164
|
-
state
|
|
176
|
+
state:Destroy()
|
|
165
177
|
end)
|
|
166
178
|
end)
|