Files
wnsrc/lua/terrortown/menus/gamemode/addons/arccw.lua
lifestorm 94063e4369 Upload
2024-08-04 22:55:00 +03:00

37 lines
1.1 KiB
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
CLGAMEMODESUBMENU.base = "base_gamemodesubmenu"
CLGAMEMODESUBMENU.priority = 0
CLGAMEMODESUBMENU.title = "ArcCW"
local TTTPanel = {
{ type = "h", text = "#arccw.ttt_clienthelp" },
{ type = "b", text = "#arccw.cvar.ttt_inforoundstart", var = "arccw_ttt_rolecrosshair"},
{ type = "b", text = "#arccw.cvar.ttt_rolecrosshair", var = "arccw_ttt_inforoundstart"},
}
local clientpanels = {
"ArcCW_Options_Client",
"ArcCW_Options_Crosshair",
"ArcCW_Options_HUD",
"ArcCW_Options_Viewmodel",
"ArcCW_Options_Perf",
--"ArcCW_Options_Binds",
}
function CLGAMEMODESUBMENU:Populate(parent)
ArcCW.TTT2_PopulateSettings(parent, "arccw.menus.ttt_client", TTTPanel)
for _, pnlname in pairs(clientpanels) do
local pnl = ArcCW.ClientMenus[pnlname]
ArcCW.TTT2_PopulateSettings(parent, pnl.text, pnl.tbl)
end
end