@quenty/actionmanager 13.4.0 → 13.5.1-canary.497.25c8512.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,22 @@
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
+ ## [13.5.1-canary.497.25c8512.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/actionmanager@13.5.0...@quenty/actionmanager@13.5.1-canary.497.25c8512.0) (2024-09-20)
7
+
8
+ **Note:** Version bump only for package @quenty/actionmanager
9
+
10
+
11
+
12
+
13
+
14
+ # [13.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/actionmanager@13.4.0...@quenty/actionmanager@13.5.0) (2024-09-12)
15
+
16
+ **Note:** Version bump only for package @quenty/actionmanager
17
+
18
+
19
+
20
+
21
+
6
22
  # [13.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/actionmanager@13.3.0...@quenty/actionmanager@13.4.0) (2024-08-09)
7
23
 
8
24
  **Note:** Version bump only for package @quenty/actionmanager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/actionmanager",
3
- "version": "13.4.0",
3
+ "version": "13.5.1-canary.497.25c8512.0",
4
4
  "description": "Holds single toggleable actions (like a tool system)",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,14 +25,14 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/enabledmixin": "^11.3.0",
29
- "@quenty/loader": "^10.3.0",
30
- "@quenty/maid": "^3.2.0",
31
- "@quenty/signal": "^7.3.0",
32
- "@quenty/valueobject": "^13.4.0"
28
+ "@quenty/enabledmixin": "11.4.1-canary.497.25c8512.0",
29
+ "@quenty/loader": "10.4.1-canary.497.25c8512.0",
30
+ "@quenty/maid": "3.3.0",
31
+ "@quenty/signal": "7.4.1-canary.497.25c8512.0",
32
+ "@quenty/valueobject": "13.5.1-canary.497.25c8512.0"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "ba466bdbc05c42fb607cf5e228c16339201d21d7"
37
+ "gitHead": "25c85124769eb0c92ad4d4c51bc950d9c319c994"
38
38
  }
@@ -52,7 +52,7 @@ function ActionManager.new()
52
52
 
53
53
  -- Immediately deactivate
54
54
  if value and not value.IsActivatedValue.Value then
55
- warn(("[ActionManager.ActiveAction.Changed] - Immediate deactivation of %q"):format(tostring(value:GetName())))
55
+ warn(string.format("[ActionManager.ActiveAction.Changed] - Immediate deactivation of %q", tostring(value:GetName())))
56
56
  self.ActiveAction.Value = nil
57
57
  end
58
58
  end))
@@ -69,7 +69,7 @@ function ActionManager:ActivateAction(name, ...)
69
69
  if action then
70
70
  action:Activate(...)
71
71
  else
72
- error(("[ActionManager] - No action with name '%s'"):format(tostring(name)))
72
+ error(string.format("[ActionManager] - No action with name '%s'", tostring(name)))
73
73
  end
74
74
  end
75
75
 
@@ -91,7 +91,7 @@ function ActionManager:AddAction(action)
91
91
  local name = action:GetName()
92
92
 
93
93
  if self._actions[name] then
94
- error(("[ActionManager] - action with name '%s' already exists"):format(tostring(name)))
94
+ error(string.format("[ActionManager] - action with name '%s' already exists", tostring(name)))
95
95
  return
96
96
  end
97
97
 
@@ -29,7 +29,7 @@ function BaseAction.new(actionData)
29
29
 
30
30
  self._maid = Maid.new()
31
31
  self._name = actionData.Name or error("No name")
32
- self._contextActionKey = ("%s_ContextAction"):format(tostring(self._name))
32
+ self._contextActionKey = string.format("%s_ContextAction", tostring(self._name))
33
33
  self._activateData = nil -- Data to be fired with the Activated event
34
34
 
35
35
  self.Activated = Signal.new() -- :Fire(actionMaid, ... (activateData))
@@ -147,7 +147,7 @@ function BaseAction:Activate(...)
147
147
  if self:IsEnabled() then
148
148
  self.IsActivatedValue.Value = true
149
149
  else
150
- warn(("[%s.Activate] - Not activating. Disabled!"):format(self:GetName()))
150
+ warn(string.format("[%s.Activate] - Not activating. Disabled!", self:GetName()))
151
151
  end
152
152
  end
153
153