local mod = get_mod("StaminaVis")

return {
	name = mod:localize("mod_name"),
	description = mod:localize("mod_description"),
	is_togglable = true,
	options = {
		widgets = {
			{
				setting_id = "vis_behavior",
				type = "dropdown",
				default_value = 0,
				options = {
					{ text = "behave_normal", value = 0 },
					{ text = "force_visible", value = 1 },
					{ text = "force_hidden",  value = -1 },
				},
				sub_widgets = {
					{
						setting_id = "vanish_delay",
						type = "numeric",
						default_value = 2.5,
						range = { 0, 15 },
						decimals_number = 1,
					},
					{
						setting_id = "vanish_speed",
						type = "numeric",
						default_value = 1,
						range = { 0, 10 },
						decimals_number = 1,
					},
					{
						setting_id = "appear_delay",
						type = "numeric",
						default_value = 0,
						range = { 0, 15 },
						decimals_number = 1,
					},
					{
						setting_id = "appear_speed",
						type = "numeric",
						default_value = 0,
						range = { 0, 10 },
						decimals_number = 1,
					},
				}
			}
		}
	}
}
