@quenty/rogue-properties 11.8.0 → 11.10.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,25 @@
|
|
|
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
|
+
# [11.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rogue-properties@11.9.0...@quenty/rogue-properties@11.10.0) (2024-10-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Better errors when trying to assign a rogue property ([0cc2573](https://github.com/Quenty/NevermoreEngine/commit/0cc2573fde14e7318e0bc49f6d0f33b0b841c838))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [11.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rogue-properties@11.8.0...@quenty/rogue-properties@11.9.0) (2024-09-25)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @quenty/rogue-properties
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [11.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rogue-properties@11.7.2...@quenty/rogue-properties@11.8.0) (2024-09-25)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @quenty/rogue-properties
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/rogue-properties",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.10.0",
|
|
4
4
|
"description": "Roguelike properties which can be modified by external provides",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -24,33 +24,33 @@
|
|
|
24
24
|
"Quenty"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@quenty/adorneedata": "^7.
|
|
28
|
-
"@quenty/baseobject": "^10.
|
|
29
|
-
"@quenty/binder": "^14.
|
|
30
|
-
"@quenty/brio": "^14.
|
|
27
|
+
"@quenty/adorneedata": "^7.9.0",
|
|
28
|
+
"@quenty/baseobject": "^10.6.0",
|
|
29
|
+
"@quenty/binder": "^14.9.0",
|
|
30
|
+
"@quenty/brio": "^14.8.0",
|
|
31
31
|
"@quenty/defaultvalueutils": "^1.2.0",
|
|
32
|
-
"@quenty/ducktype": "^5.
|
|
33
|
-
"@quenty/instanceutils": "^13.
|
|
34
|
-
"@quenty/jsonutils": "^10.
|
|
35
|
-
"@quenty/linkutils": "^13.
|
|
36
|
-
"@quenty/loader": "^10.
|
|
37
|
-
"@quenty/maid": "^3.
|
|
38
|
-
"@quenty/observablecollection": "^12.
|
|
39
|
-
"@quenty/rx": "^13.
|
|
40
|
-
"@quenty/rxbinderutils": "^14.
|
|
41
|
-
"@quenty/rxsignal": "^7.
|
|
42
|
-
"@quenty/servicebag": "^11.
|
|
43
|
-
"@quenty/signal": "^7.
|
|
44
|
-
"@quenty/spring": "^10.
|
|
32
|
+
"@quenty/ducktype": "^5.6.0",
|
|
33
|
+
"@quenty/instanceutils": "^13.8.0",
|
|
34
|
+
"@quenty/jsonutils": "^10.6.0",
|
|
35
|
+
"@quenty/linkutils": "^13.8.0",
|
|
36
|
+
"@quenty/loader": "^10.6.0",
|
|
37
|
+
"@quenty/maid": "^3.4.0",
|
|
38
|
+
"@quenty/observablecollection": "^12.8.0",
|
|
39
|
+
"@quenty/rx": "^13.8.0",
|
|
40
|
+
"@quenty/rxbinderutils": "^14.9.0",
|
|
41
|
+
"@quenty/rxsignal": "^7.8.0",
|
|
42
|
+
"@quenty/servicebag": "^11.8.0",
|
|
43
|
+
"@quenty/signal": "^7.7.0",
|
|
44
|
+
"@quenty/spring": "^10.6.0",
|
|
45
45
|
"@quenty/string": "^3.3.0",
|
|
46
46
|
"@quenty/table": "^3.5.0",
|
|
47
|
-
"@quenty/tie": "^10.
|
|
48
|
-
"@quenty/valuebaseutils": "^13.
|
|
49
|
-
"@quenty/valueobject": "^13.
|
|
47
|
+
"@quenty/tie": "^10.10.0",
|
|
48
|
+
"@quenty/valuebaseutils": "^13.8.0",
|
|
49
|
+
"@quenty/valueobject": "^13.8.0",
|
|
50
50
|
"@quentystudios/t": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "035abfa088c854a73e1c65b350267eaa17669646"
|
|
56
56
|
}
|
|
@@ -212,6 +212,13 @@ function RoguePropertyTable:__newindex(index, value)
|
|
|
212
212
|
error("Cannot set .Changed event")
|
|
213
213
|
elseif RoguePropertyTable[index] then
|
|
214
214
|
error(string.format("Cannot set %q", tostring(index)))
|
|
215
|
+
elseif type(index) == "string" then
|
|
216
|
+
local property = self:GetRogueProperty(index)
|
|
217
|
+
if not property then
|
|
218
|
+
error(string.format("Bad index %q", tostring(index)))
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
error(string.format("Use RoguePropertyTable.%s.Value to assign", index))
|
|
215
222
|
else
|
|
216
223
|
error(string.format("Bad index %q", tostring(index)))
|
|
217
224
|
end
|