From 44da7a0564412a4e096de1d0cca8334412e04825 Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Thu, 10 Mar 2022 08:16:22 -0600 Subject: [PATCH] Mindful eating configuration --- config/appleskin-client.toml | 24 +++++++++ config/armorpointspp-client.toml | 88 +++++++++++++++++++++++++++++++ config/diet-client.toml | 13 +++++ config/mantle-client.toml | 2 +- config/mindful_eating-common.toml | 31 +++++++++++ config/quark-common.toml | 6 +-- defaultconfigs/diet-effects.toml | 0 defaultconfigs/diet-groups.toml | 45 ++++++++++++++++ 8 files changed, 205 insertions(+), 4 deletions(-) create mode 100644 config/appleskin-client.toml create mode 100644 config/armorpointspp-client.toml create mode 100644 config/diet-client.toml create mode 100644 config/mindful_eating-common.toml create mode 100644 defaultconfigs/diet-effects.toml create mode 100644 defaultconfigs/diet-groups.toml diff --git a/config/appleskin-client.toml b/config/appleskin-client.toml new file mode 100644 index 0000000..258212a --- /dev/null +++ b/config/appleskin-client.toml @@ -0,0 +1,24 @@ + +[client] + #If true, shows the hunger (and saturation if showSaturationHudOverlay is true) that would be restored by food you are currently holding + showFoodValuesHudOverlay = true + #If true, shows your food exhaustion as a progress bar behind the hunger bars + showFoodExhaustionHudUnderlay = false + #Alpha value of the flashing icons at their most visible point (1.0 = fully opaque, 0.0 = fully transparent) + #Range: 0.0 ~ 1.0 + maxHudOverlayFlashAlpha = 0.65 + #If true, health/hunger overlay will shake to match Minecraft's icon animations + showVanillaAnimationsOverlay = true + #If true, adds a line that shows your hunger, saturation, and exhaustion level in the F3 debug overlay + showFoodStatsInDebugOverlay = true + #If true, shows the hunger and saturation values of food in its tooltip while holding SHIFT + showFoodValuesInTooltip = true + #If true, shows the hunger and saturation values of food in its tooltip automatically (without needing to hold SHIFT) + showFoodValuesInTooltipAlways = true + #If true, shows estimated health restored by food on the health bar + showFoodHealthHudOverlay = true + #If true, shows your current saturation level overlayed on the hunger bar + showSaturationHudOverlay = true + #If true, enables the hunger/saturation/health overlays for food in your off-hand + showFoodValuesHudOverlayWhenOffhand = true + diff --git a/config/armorpointspp-client.toml b/config/armorpointspp-client.toml new file mode 100644 index 0000000..ec8c328 --- /dev/null +++ b/config/armorpointspp-client.toml @@ -0,0 +1,88 @@ + +[general] + # Show protection as overlay over armor + # Available: true, false [default: true] + showProtection = true + # Show toughness as overlay over armor + # Available: true, false [default: true] + showToughness = true + # Show absorption as border around health + # Available: true, false [default: true] + showAbsorption = true + # Show health value text next to bar + # Available: true, false [default: true] + showHealthValue = false + # Show armor value text next to bar + # Available: true, false [default: true] + showArmorValue = false + # Show armor bar when armor is zero + # Available: true, false [default: false] + showArmorWhenZero = false + # Suffix type used for displaying armor values + # Available: SI, SCI, GER, ENG [default: SI] + suffix = "ENG" + # Show resistance as border around armor + # Available: true, false [default: true] + showResistance = true + # Enable custom health bar + # Available: true, false [default: true] + enableHealthBar = true + # Enable custom armor bar + # Available: true, false [default: true] + enableArmorBar = true + + [general.debug] + # You don't want this to be on. Believe me + # Available: true, false [default: false] + debug = false + +[representative] + # Number of pixels to show an absorption of 1 + # Available: 0.0 ~ 200.0 [default: 0.25] + #Range: 0.0 ~ 200.0 + absorption = 0.25 + # Number of icons to show a protection of 1 + # Available: 0.0 ~ 10.0 [default: 0.5] + #Range: 0.0 ~ 10.0 + protection = 0.5 + # Number of icons to show a armor toughness of 1 + # Available: 0.0 ~ 10.0 [default: 0.5] + #Range: 0.0 ~ 10.0 + toughness = 0.5 + # Number of icons to show a resistance of 1 + # Available: 0.0 ~ 10.0 [default: 2.0] + #Range: 0.0 ~ 10.0 + resistance = 2.0 + +[textcolors] + # Color when armor = 25 + # Available: 0x000000 ~ 0xffffff [default: 0xff8811] + armorEQ25 = "0xff8811" + # Color when armor > 25 + # Available: 0x000000 ~ 0xffffff [default: 0xff3311] + armorGT25 = "0xff3311" + # Color when poisoned + # Available: 0x000000 ~ 0xffffff [default: 0x947818] + heartPoison = "0x947818" + # Color when armor < 25 + # Available: 0x000000 ~ 0xffffff [default: 0x44ff11] + armorLT25 = "0x44ff11" + # Color when withered + # Available: 0x000000 ~ 0xffffff [default: 0x2b2b2b] + heartWither = "0x2b2b2b" + # Color of absorption + # Available: 0x000000 ~ 0xffffff [default: 0xffc300] + absorption = "0xffc300" + # Color when resistance > 5 + # Available: 0x000000 ~ 0xffffff [default: 0x4c0000] + resistanceFull = "0x4c0000" + # Color of separator + # Available: 0x000000 ~ 0xffffff [default: 0x3d3d3d] + separator = "0x3d3d3d" + # Color when armor = 0 + # Available: 0x000000 ~ 0xffffff [default: 0x3d3d3d] + armor0 = "0x3d3d3d" + # Color normal status + # Available: 0x000000 ~ 0xffffff [default: 0xff1313] + heart = "0xff1313" + diff --git a/config/diet-client.toml b/config/diet-client.toml new file mode 100644 index 0000000..0ff78b3 --- /dev/null +++ b/config/diet-client.toml @@ -0,0 +1,13 @@ + +[gui] + #The x-position of the GUI button + #Range: -10000 ~ 10000 + buttonX = 126 + #The y-position of the GUI button + #Range: -10000 ~ 10000 + buttonY = -22 + #True to add the Diet button to the inventory GUI, false otherwise + addButton = false + #The main text color for the GUI + textColor = "4210752" + diff --git a/config/mantle-client.toml b/config/mantle-client.toml index 27a812a..88f3a8e 100644 --- a/config/mantle-client.toml +++ b/config/mantle-client.toml @@ -1,4 +1,4 @@ #If true, enables the Mantle heart renderer, which stacks hearts by changing the color instead of vertically stacking them. #Mod authors: this config is not meant for compatibility with your heart renderer, cancel the RenderGameOverlayEvent.Pre event and our logic won't run -extraHeartRenderer = true +extraHeartRenderer = false diff --git a/config/mindful_eating-common.toml b/config/mindful_eating-common.toml new file mode 100644 index 0000000..7000be5 --- /dev/null +++ b/config/mindful_eating-common.toml @@ -0,0 +1,31 @@ + +#MindfulEating common configuration +[common] + + [common.mode] + #Whether the buffs added by the Diet mod are enabled. Default: false + "Native Diet Buffs" = false + #The amount exhaustion is reduced by (if the above config is false). Default: 0.75 + "Exhaustion Reduction" = 0.75 + #Whether the saturation bonus is dependent on Diet's mechanics. If false, it will instead be based on the last food eaten. Default: false + "Proportional Diet" = false + + #For multiple food groups, separate groups with a /, for example: fruits/vegetables. + [common."exhaustion sources"] + #The food group/s corresponding to the heal exhaustion source. Default: sugars + "Food Group - heal" = "sugars" + #The food group/s corresponding to the effect exhaustion source. Default: sugars + "Food Group - effect" = "sugars" + #The food group/s corresponding to the sprint exhaustion source. Default: vegetables + "Food Group - sprint" = "vegetables" + #The food group/s corresponding to the mine exhaustion source. Default: grains + "Food Group - mine" = "grains" + #The food group/s corresponding to the attack exhaustion source. Default: proteins + "Food Group - attack" = "proteins" + #The food group/s corresponding to the jump exhaustion source. Default: vegetables + "Food Group - jump" = "vegetables" + #The food group/s corresponding to the hurt exhaustion source. Default: proteins + "Food Group - hurt" = "proteins" + #The food group/s corresponding to the swim exhaustion source. Default: fruits + "Food Group - swim" = "fruits" + diff --git a/config/quark-common.toml b/config/quark-common.toml index 687d81e..e3300d6 100644 --- a/config/quark-common.toml +++ b/config/quark-common.toml @@ -1913,7 +1913,7 @@ "Enable Shiny Dolphin" = true [client.improved_tooltips] - "Shulker Box Require Shift" = false + "Shulker Box Require Shift" = true "Shulker Box Use Colors" = true "Attribute Tooltips" = true "Enchanting Tooltips" = true @@ -1928,8 +1928,8 @@ "Food Compression Threshold" = 4 "Map Require Shift" = false "Shulker Tooltips" = true - "Food Tooltips" = true - "Show Saturation" = true + "Food Tooltips" = false + "Show Saturation" = false "Map Tooltips" = true "Enchanting Stacks" = ["minecraft:diamond_sword", "minecraft:diamond_pickaxe", "minecraft:diamond_shovel", "minecraft:diamond_axe", "minecraft:diamond_hoe", "minecraft:diamond_helmet", "minecraft:diamond_chestplate", "minecraft:diamond_leggings", "minecraft:diamond_boots", "minecraft:shears", "minecraft:bow", "minecraft:fishing_rod", "minecraft:crossbow", "minecraft:trident", "minecraft:elytra", "quark:pickarang"] diff --git a/defaultconfigs/diet-effects.toml b/defaultconfigs/diet-effects.toml new file mode 100644 index 0000000..e69de29 diff --git a/defaultconfigs/diet-groups.toml b/defaultconfigs/diet-groups.toml new file mode 100644 index 0000000..8afe356 --- /dev/null +++ b/defaultconfigs/diet-groups.toml @@ -0,0 +1,45 @@ +[[groups]] + name = "proteins" + icon = "minecraft:cooked_beef" + color = "#d4781c" + order = 0 + default_value = 0.0 + gain_multiplier = 1.0 + decay_multiplier = 1.0 + beneficial = true +[[groups]] + name = "grains" + icon = "minecraft:bread" + color = "#d4a31c" + order = 0 + default_value = 0.0 + gain_multiplier = 1.0 + decay_multiplier = 1.0 + beneficial = true +[[groups]] + name = "vegetables" + icon = "minecraft:carrot" + color = "#31d41c" + order = 0 + default_value = 0.0 + gain_multiplier = 1.0 + decay_multiplier = 1.0 + beneficial = true +[[groups]] + name = "fruits" + icon = "minecraft:apple" + color = "#d41c53" + order = 0 + default_value = 0.0 + gain_multiplier = 1.0 + decay_multiplier = 1.0 + beneficial = true +[[groups]] + name = "sugars" + icon = "minecraft:honey_bottle" + color = "#ff8fe9" + order = 1 + default_value = 0.0 + gain_multiplier = 1.0 + decay_multiplier = 1.0 + beneficial = true \ No newline at end of file