Divergent/mods/Hideout Furniture/gamedata/scripts/hf_mcm.script

52 lines
2.2 KiB
Plaintext

local mcm_keybinds = ui_mcm and ui_mcm.key_hold
function on_mcm_load()
local options = {
id = "aol_hf",
gr = {
{
id = "controls",
sh = true,
gr = {
{id = "ctrl_title", type = "slide", link = "ui_options_slider_player", text = "ui_mcm_menu_controls", size = {512, 50}, spacing = 20},
{id = "bind_collision", type = "key_bind", val = 2, def=DIK_keys.DIK_TAB},
{id = "bind_alignment", type = "key_bind", val = 2, def=DIK_keys.DIK_CAPITAL},
{id = "bind_place_mode", type = "key_bind", val = 2, def=DIK_keys.DIK_HOME},
}
},
{
id = "gameplay",
sh = true,
gr = {
{id = "game_title", type = "slide", link = "ui_options_slider_player", text = "ui_mcm_menu_gameplay", size = {512, 50}, spacing = 20},
{id = "uniform_trade_profiles", type = "check", val = 1, def=false},
{id = "use_ingame_time", type = "check", val = 1, def=false},
}
},
{
id = "world_obj",
sh = true,
gr = {
{id = "world_obj_title", type = "slide", link = "ui_options_slider_player", text = "ui_mcm_menu_world_obj", size = {512, 50}, spacing = 20},
{id = "flag_record_on_place", type = "check", val = 1, def=false},
{id = "flag_record_on_keypress", type = "check", val = 1, def=false},
{id = "bind_record", type = "key_bind", val = 2, def=DIK_keys.DIK_APOSTROPHE},
}
},
{
id = "debug",
sh = true,
gr = {
{id = "debug_title", type = "slide", link = "ui_options_slider_player", text = "ui_mcm_menu_debug", size = {512, 50}, spacing = 20},
{id = "bind_creative_mode", type = "key_bind", val = 2, def=DIK_keys.DIK_SEMICOLON},
{id = "location_offset", type = "input", val = 0, def="0,0,0"},
}
}
}
}
return options
end