Fixed more breaking changes

This commit is contained in:
Cooldude2606
2024-10-19 17:49:04 +01:00
parent 88cd64e422
commit 90d0a122cd
10 changed files with 39 additions and 29 deletions

View File

@@ -60,7 +60,8 @@ Permission_Groups.new_group("Standard")
"admin_action", -- trusted
"change_programmable_speaker_alert_parameters", -- standard
"drop_item",
"change_rocket_silo_mode",
"open_new_platform_button_from_rocket_silo",
"set_rocket_silo_send_to_orbit_automated_mode",
}
Permission_Groups.new_group("Guest")
@@ -81,7 +82,8 @@ Permission_Groups.new_group("Guest")
"admin_action", -- trusted
"change_programmable_speaker_alert_parameters", -- standard
"drop_item",
"change_rocket_silo_mode",
"open_new_platform_button_from_rocket_silo",
"set_rocket_silo_send_to_orbit_automated_mode",
"change_programmable_speaker_parameters", -- guest
"change_train_stop_station",
-- 'deconstruct',

View File

@@ -1,8 +1,6 @@
--- This file contains all the different settings for the autofill system and gui
-- @config Autofill
local table = require("modules.exp_legacy.overrides.table") -- @dep overrides.table
local config = {
-- General config
icon = "item/piercing-rounds-magazine", -- @setting icon that will be used for the toolbar

View File

@@ -33,6 +33,7 @@ local function error_handler(err)
log("[ERROR] Failed to load: " .. currently_loading)
errors[error_count] = debug.traceback(error_format:format(currently_loading, err))
end
return err
end
-- Loads all files from the config and logs that they are loaded

View File

@@ -11,11 +11,11 @@ local Commands = require("modules.exp_legacy.expcore.commands") --- @dep expcore
local interface_modules = {
["Commands"] = Commands,
["output"] = Commands.print,
["Group"] = "expcore.permission_groups",
["Roles"] = "expcore.roles",
["Gui"] = "expcore.gui",
["Datastore"] = "expcore.datastore",
["External"] = "expcore.external",
["Group"] = "modules.exp_legacy.expcore.permission_groups",
["Roles"] = "modules.exp_legacy.expcore.roles",
["Gui"] = "modules.exp_legacy.expcore.gui",
["Datastore"] = "modules.exp_legacy.expcore.datastore",
["External"] = "modules.exp_legacy.expcore.external",
}
-- loads all the modules given in the above table

View File

@@ -10,7 +10,6 @@ local Roles = require("modules.exp_legacy.expcore.roles") -- @dep expcore.gui
local Storage = require("modules/exp_util/storage") -- @dep utils.global
local config = require("modules.exp_legacy.config.gui.autofill") -- @dep config.gui.autofill
local Event = require("modules/exp_legacy/utils/event") -- @dep utils.event
local table = require("modules.exp_legacy.overrides.table") -- @dep overrides.table
--- Table that stores if autofill is enabled or not
local autofill_player_settings = {}

View File

@@ -1,5 +1,4 @@
local Event = require("modules/exp_legacy/utils/event")
local table = require("modules.exp_legacy.overrides.table")
local Gui = require("modules.exp_legacy.utils.gui")
local Model = require("modules.exp_legacy.modules.gui.debug.model")

View File

@@ -1,5 +1,4 @@
local Gui = require("modules.exp_legacy.utils.gui") --- @dep utils.gui
local table = require("modules.exp_legacy.overrides.table") --- @dep overrides.table
local gui_names = Gui.names
local type = type