repair add quick action, changed to selection (#437)

* Update repair.lua

* Update repair.lua

* Update quick_actions.lua

* Update en.cfg

* Update repair.lua

* Refactor repair command to use area selection

* Update en.cfg

* Fixes

---------

Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
This commit is contained in:
2026-06-26 11:43:09 +01:00
committed by GitHub
co-authored by Cooldude2606
parent 8190b2165d
commit d548cebc17
4 changed files with 68 additions and 56 deletions
@@ -13,6 +13,7 @@ local addon_teleport = require("modules/exp_scenario/commands/teleport")
local addon_waterfill = require("modules/exp_scenario/commands/waterfill")
local addon_home = require("modules/exp_scenario/commands/home")
local addon_vlayer = require("modules/exp_scenario/commands/vlayer")
local addon_repair = require("modules/exp_scenario/commands/repair")
--- @class ExpGui_QuickActions.elements
local Elements = {}
@@ -58,6 +59,7 @@ new_quick_action("return", addon_home.commands._return)
new_quick_action("set-home", addon_home.commands.set_home)
new_quick_action("get-home", addon_home.commands.get_home)
new_quick_action("vlayer", addon_vlayer.commands.vlayer)
new_quick_action("repair", addon_repair.commands.repair)
--- Container added to the left gui flow
--- @class ExpGui_QuickActions.elements.container: ExpElement