vlayer info add quick action (#438)

* Update vlayer.lua

* Add vlayer command to quick actions
This commit is contained in:
2026-06-25 23:14:14 +01:00
committed by GitHub
parent 9863412177
commit aa7fe73bb0
2 changed files with 11 additions and 1 deletions
+9 -1
View File
@@ -5,8 +5,12 @@ Adds a virtual layer to store power to save space.
local Commands = require("modules/exp_commands")
local vlayer = require("modules.exp_legacy.modules.control.vlayer")
--- @class ExpCommand_vlayer.commands
local commands = {}
--- Print all vlayer information
Commands.new("vlayer-info", { "exp-commands_vlayer.description" })
--- @class ExpCommands_vlayer.commands.vlayer: ExpCommand
commands.vlayer = Commands.new("vlayer-info", { "exp-commands_vlayer.description" })
:register(function(player)
local index = 3
local response = { "", "exp-commands_vlayer.title" } --- @type LocalisedString
@@ -16,3 +20,7 @@ Commands.new("vlayer-info", { "exp-commands_vlayer.description" })
end
return Commands.status.success(response)
end)
return {
commands = commands,
}