mirror of
https://github.com/Mestima/wanda.git
synced 2025-05-03 13:40:15 +00:00
106 lines
2.4 KiB
Lua
106 lines
2.4 KiB
Lua
name = "Wanda's pocket watch bag (advanced)"
|
|
description = "An advanced version of Wanda's pocket watch bag"
|
|
author = "非自然对数㏑x & Mestima"
|
|
version = "1.0.3"
|
|
|
|
forumthread = ""
|
|
|
|
api_version = 6
|
|
api_version_dst = 10
|
|
|
|
dst_compatible = true
|
|
|
|
dont_starve_compatible = false
|
|
reign_of_giants_compatible = false
|
|
shipwrecked_compatible = false
|
|
|
|
all_clients_require_mod = true
|
|
|
|
icon_atlas = "images/modicon_pocketwatchpack.xml"
|
|
icon = "modicon_pocketwatchpack.tex"
|
|
|
|
priority = 0
|
|
|
|
server_filter_tags = {"Wanda's bag"}
|
|
|
|
local keys = {
|
|
"None",
|
|
"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z",
|
|
"LSHIFT","LALT","LCTRL","TAB","BACKSPACE","PERIOD","SLASH","TILDE"
|
|
}
|
|
|
|
configuration_options = {
|
|
{
|
|
name = "lang",
|
|
label = "Language",
|
|
hover = "Choose a language",
|
|
options = {
|
|
{ description = "English", data = "eng" },
|
|
{ description = "Русский", data = "ru" },
|
|
{ description = "中文", data = "chi" },
|
|
{ description = "Português", data = "pt" }
|
|
},
|
|
default = "eng"
|
|
},
|
|
{
|
|
name = "clock_tools",
|
|
label = "Clockmaker's Tools storable",
|
|
hover = "Can store Clockmaker's Tools or not",
|
|
options = {
|
|
{ description = "you can", data = true },
|
|
{ description = "you can't", data = false }
|
|
},
|
|
default = true
|
|
},
|
|
{
|
|
name = "time_pieces",
|
|
label = "Time Pieces storable",
|
|
hover = "Can store Time Pieces or not",
|
|
options = {
|
|
{ description = "you can", data = true },
|
|
{ description = "you can't", data = false }
|
|
},
|
|
default = true
|
|
},
|
|
{
|
|
name = "key_binds",
|
|
label = "Enable Keybinds",
|
|
hover = "Enable Wanda's Keybinds or not",
|
|
options = {
|
|
{ description = "enable", data = true },
|
|
{ description = "disable", data = false }
|
|
},
|
|
default = true
|
|
},
|
|
{
|
|
name = "ageless_key",
|
|
label = "Ageless watch Keybind",
|
|
hover = "Use available Ageless Watch with...",
|
|
options = {},
|
|
default = "X"
|
|
},
|
|
{
|
|
name = "backstep_key",
|
|
label = "Backstep watch Keybind",
|
|
hover = "Use available Backstep Watch with...",
|
|
options = {},
|
|
default = "Z"
|
|
},
|
|
{
|
|
name = "backtrek_key",
|
|
label = "Backtrek watch Keybind",
|
|
hover = "Use available Backtrek Watch with...",
|
|
options = {},
|
|
default = "C"
|
|
}
|
|
}
|
|
|
|
local function filltable(tbl)
|
|
for i=1, #keys do
|
|
tbl[i] = {description = keys[i], data = keys[i]}
|
|
end
|
|
end
|
|
filltable(configuration_options[5].options)
|
|
filltable(configuration_options[6].options)
|
|
filltable(configuration_options[7].options)
|