@quenty/conditions 10.7.0 → 10.7.1-canary.497.2df557a.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,17 @@
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
+ ## [10.7.1-canary.497.2df557a.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/conditions@10.7.0...@quenty/conditions@10.7.1-canary.497.2df557a.0) (2024-09-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Rename stragglers ([25c8512](https://github.com/Quenty/NevermoreEngine/commit/25c85124769eb0c92ad4d4c51bc950d9c319c994))
12
+
13
+
14
+
15
+
16
+
6
17
  # [10.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/conditions@10.6.0...@quenty/conditions@10.7.0) (2024-09-12)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/conditions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/conditions",
3
- "version": "10.7.0",
3
+ "version": "10.7.1-canary.497.2df557a.0",
4
4
  "description": "Adornee based conditional system that is sufficiently generic to script gameplay.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -23,14 +23,14 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@quenty/attributeutils": "^14.5.0",
27
- "@quenty/brio": "^14.5.0",
28
- "@quenty/instanceutils": "^13.5.0",
29
- "@quenty/loader": "^10.4.0",
30
- "@quenty/maid": "^3.3.0",
31
- "@quenty/rx": "^13.5.0",
32
- "@quenty/statestack": "^14.6.0",
33
- "@quenty/tie": "^10.7.0"
26
+ "@quenty/attributeutils": "14.5.1-canary.497.2df557a.0",
27
+ "@quenty/brio": "14.5.1-canary.497.2df557a.0",
28
+ "@quenty/instanceutils": "13.5.1-canary.497.2df557a.0",
29
+ "@quenty/loader": "10.4.1-canary.497.2df557a.0",
30
+ "@quenty/maid": "3.3.0",
31
+ "@quenty/rx": "13.5.1-canary.497.2df557a.0",
32
+ "@quenty/statestack": "14.6.1-canary.497.2df557a.0",
33
+ "@quenty/tie": "10.7.1-canary.497.2df557a.0"
34
34
  },
35
35
  "contributors": [
36
36
  "Quenty"
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "fb172906f3ee725269ec1e5f4daf9dca227e729d"
41
+ "gitHead": "2df557a9a5463c2c7beb257ff9f7786ac8ad746a"
42
42
  }
@@ -146,7 +146,7 @@ function AdorneeConditionUtils.createRequiredProperty(propertyName: string, requ
146
146
  end);
147
147
  })
148
148
  end)
149
- condition.Name = ("RequiredProperty%s_%s_%s"):format(
149
+ condition.Name = string.format("RequiredProperty%s_%s_%s",
150
150
  AdorneeConditionUtils.getConditionNamePostfix(),
151
151
  tostring(propertyName),
152
152
  tostring(requiredValue))
@@ -171,7 +171,7 @@ function AdorneeConditionUtils.createRequiredAttribute(attributeName: string, at
171
171
  })
172
172
  end)
173
173
 
174
- condition.Name = ("RequiredAttribute%s_%s_%s"):format(
174
+ condition.Name = string.format("RequiredAttribute%s_%s_%s",
175
175
  AdorneeConditionUtils.getConditionNamePostfix(),
176
176
  tostring(attributeName),
177
177
  tostring(attributeValue))
@@ -190,7 +190,7 @@ function AdorneeConditionUtils.createRequiredTieInterface(tieInterfaceDefinition
190
190
  return tieInterfaceDefinition:ObserveIsImplemented(adornee)
191
191
  end)
192
192
 
193
- condition.Name = ("RequiredInterface%s_%s"):format(
193
+ condition.Name = string.format("RequiredInterface%s_%s",
194
194
  AdorneeConditionUtils.getConditionNamePostfix(),
195
195
  tieInterfaceDefinition:GetName())
196
196
 
@@ -213,7 +213,7 @@ function AdorneeConditionUtils.createOrConditionGroup(): BindableFunction
213
213
  })
214
214
  end)
215
215
 
216
- container.Name = ("OrConditionGroup%s"):format(AdorneeConditionUtils.getConditionNamePostfix())
216
+ container.Name = string.format("OrConditionGroup%s", AdorneeConditionUtils.getConditionNamePostfix())
217
217
  AdorneeConditionUtils.setValueWhenEmpty(container, true)
218
218
 
219
219
  return container
@@ -235,7 +235,7 @@ function AdorneeConditionUtils.createAndConditionGroup(): BindableFunction
235
235
  })
236
236
  end)
237
237
 
238
- container.Name = ("AndConditionGroup%s"):format(AdorneeConditionUtils.getConditionNamePostfix())
238
+ container.Name = string.format("AndConditionGroup%s", AdorneeConditionUtils.getConditionNamePostfix())
239
239
  AdorneeConditionUtils.setValueWhenEmpty(container, true)
240
240
 
241
241
  return container
@@ -486,15 +486,13 @@ function AdorneeConditionUtils._getObservableFromConditionObj(conditionObj: Inst
486
486
 
487
487
  -- TODO: Allow yielding here
488
488
  if coroutine.status(current) ~= "dead" then
489
- warn(("[AdorneeConditionUtils.observeAllowed] - Getting condition yielded from %q")
490
- :format(conditionObj:GetFullName()))
489
+ warn(string.format("[AdorneeConditionUtils.observeAllowed] - Getting condition yielded from %q", conditionObj:GetFullName()))
491
490
  return Rx.EMPTY
492
491
  end
493
492
 
494
493
  -- TODO: Allow non-observables.
495
494
  if not (observable and Observable.isObservable(observable)) then
496
- warn(("[AdorneeConditionUtils.observeAllowed] - Failed to get observable from %q. Got %q")
497
- :format(conditionObj:GetFullName(), tostring(observable)))
495
+ warn(string.format("[AdorneeConditionUtils.observeAllowed] - Failed to get observable from %q. Got %q", conditionObj:GetFullName(), tostring(observable)))
498
496
  return Rx.EMPTY
499
497
  end
500
498