I love the mod, and the whole idea behind it, but is their any way to remove the tooltip on food items about the diminishing returns? I find it kind of annoying having that always there, in your face.
I love the mod, and the whole idea behind it, but is their any way to remove the tooltip on food items about the diminishing returns? I find it kind of annoying having that always there, in your face.
What do you suggest instead? Just not having that information shown at all?
And how I have to add these .json file in SpiceOfLife.cfg?
##########################################################################################################
# foodgroups
#--------------------------------------------------------------------------------------------------------#
# Food groups are defined using .json files in /config/SpiceOfLife/
# See /config/SpiceOfLife/example-food-group.json
##########################################################################################################
foodgroups {
}
I tried:
foodgroups {aquaculture
}
---------------
foodgroups {
aquaculture
}
---------------
foodgroups {spiceoflife.foodgroup.aquaculture
}
---------------
foodgroups {
spiceoflife.foodgroup.aquaculture
}
---------------
foodgroups {
B:spiceoflife.foodgroup.aquaculture
}
---------------
But always the SpiceOfLife.cfg file, the section of groups, are reset to:
The Meaning of Life, the Universe, and Everything.
Location:
Las Vegas
Join Date:
12/15/2012
Posts:
103
Member Details
Is there any way that I'm missing to move the diminishing returns bar somewhere else? Maybe above the food bar, instead of below? We use the Dual Hotbar mod, and the 2nd bar blocks the Spice of Life bar.
Is there any way that I'm missing to move the diminishing returns bar somewhere else? Maybe above the food bar, instead of below? We use the Dual Hotbar mod, and the 2nd bar blocks the Spice of Life bar.
Thanks!
That is a bug with the Dual Hotbar mod that I've provided the fix for, but the author of that mod seems to no longer update it. There's not much that I can do about it, sorry.
That is a bug with the Dual Hotbar mod that I've provided the fix for, but the author of that mod seems to no longer update it. There's not much that I can do about it, sorry.
Ah, I see. I'll go ahead and recompile mine to fix the issue. Hopefully someone will jump on the dual bandwagon and take over. Thanks for the update!
sorry if this is a nooby question, But how exactly do I go about creating a blacklist for foods?
Create a .json file with any name in the /config/SpiceOfLife/ folder (e.g. blacklist.json), and then put something like this in that file:
{
// Food included in the food group
"food": {
// A list of Ore Dictionary entries
// This example adds two oredictionary entries created by Pam's HarvestCraft,
// including all fruit and all berries
"oredict": [
"listAllfruit",
"listAllberry"
],
// A list of items in "mod:name:meta" format
// This example adds red apples and golden apples (golden_apple with metadata 0),
// thereby excluding enchanted golden apples (golden_apple with metadata 1)
"items": [
"minecraft:apple",
"minecraft:golden_apple:0"
]
},
// If true, the foods in this food group will be excluded from diminishing returns
// Optional; default if not defined: false
"blacklist": true
}
Create a .json file with any name in the /config/SpiceOfLife/ folder (e.g. blacklist.json), and then put something like this in that file:
{
// Food included in the food group
"food": {
// A list of Ore Dictionary entries
// This example adds two oredictionary entries created by Pam's HarvestCraft,
// including all fruit and all berries
"oredict": [
"listAllfruit",
"listAllberry"
],
// A list of items in "mod:name:meta" format
// This example adds red apples and golden apples (golden_apple with metadata 0),
// thereby excluding enchanted golden apples (golden_apple with metadata 1)
"items": [
"minecraft:apple",
"minecraft:golden_apple:0"
]
},
// If true, the foods in this food group will be excluded from diminishing returns
// Optional; default if not defined: false
"blacklist": true
}
See /config/SpiceOfLife/example-food-group.json.
I see... okay so Now that I've created the Json (which I named "Potion-Blacklist"), what's the next step? Is there anywhere in the SpiceOfLife cfg where I'm supposed to reference "Potion-Blacklist"? this is what I entered for the blacklist config, by the way... would this be correct?
{
// Food included in the food group
"food": {
// A list of Ore Dictionary entries
// This example adds two oredictionary entries created by Pam's HarvestCraft,
// including all fruit and all berries
"oredict": [
"listAllfruit",
"listAllberry"
],
// A list of items in "mod:name:meta" format
// This example adds red apples and golden apples (golden_apple with metadata 0),
// thereby excluding enchanted golden apples (golden_apple with metadata 1)
"items": [
"zeldaswordskills:zss.potion_red",
"zeldaswordskills:zss.potion_green",
"zeldaswordskills:zss.potion_blue",
"zeldaswordskills:zss.potion_yellow"
]
},
// If true, the foods in this food group will be excluded from diminishing returns
// Optional; default if not defined: false
"blacklist": true
}
I see... okay so Now that I've created the Json (which I named "Potion-Blacklist"), what's the next step? Is there anywhere in the SpiceOfLife cfg where I'm supposed to reference "Potion-Blacklist"? this is what I entered for the blacklist config, by the way... would this be correct?
{
// Food included in the food group
"food": {
// A list of Ore Dictionary entries
// This example adds two oredictionary entries created by Pam's HarvestCraft,
// including all fruit and all berries
"oredict": [
"listAllfruit",
"listAllberry"
],
// A list of items in "mod:name:meta" format
// This example adds red apples and golden apples (golden_apple with metadata 0),
// thereby excluding enchanted golden apples (golden_apple with metadata 1)
"items": [
"zeldaswordskills:zss.potion_red",
"zeldaswordskills:zss.potion_green",
"zeldaswordskills:zss.potion_blue",
"zeldaswordskills:zss.potion_yellow"
]
},
// If true, the foods in this food group will be excluded from diminishing returns
// Optional; default if not defined: false
"blacklist": true
}
That's all you have to do. To disable it you'd add a
"enabled": false
key. Note you can/should also delete the "oredict" key (or make it empty) if you're not using it.
The tooltip will still show how many times blacklisted foods were eaten recently (because they still count towards the food history, so that information is relevant), but they will never have decreased nutritional value.
- Added support for foods in multiple food groups
--- A food that is in multiple food groups will get its nutritional value % from an average of all of its food groups, where each food group calculates its nutritional value % independently.
--- Replaced food group priority system with an "exclude" property in the food group json, to be able to exclude certain foods from a food group even if they would otherwise be caught by a wildcard metadata/oredict entry. For example, you can include "listAllBerry" oredict and then exclude "harvestcraft:strawberryItem". See example-food-group.json
- Added "color" property to food group json format (draws the food group name in the specified color in tooltips, etc)
- Added formula variable food_group_count : The number of food groups that the food belongs to
- Added formula variable distinct_food_groups_eaten : The number of distinct food groups in the player's current food history
- Added formula variable total_food_groups : The total number of enabled food groups
- Added more info to the food journal
--- Replaced page numbers with the count of total foods in the history and which food numbers are visible
--- Added tooltip to each food in the food journal showing how long ago the food was eaten and what needs to happen for it to expire from the food history
- Fixed errors when dumping food container contents into certain inventories
- Updated EvalEx expression parser to latest
I will be attempting to use this in my minecraftedu environment, but I don't want to use it with additional food modifications, and there are parts of the config I am not quite understanding.
My ultimate goal: Students will have diminishing benefits from consuming the same two foods over and over again encouraging diversity within the limited food supplies of vanilla minecraft. I also want this to kick in relatively quickly (say after eating three times) when players are consuming the same two foods.
So do I have: food.history.length=2
and: new.player.food.eaten.threshold=3
??
Thanks for any guidance. I am no programmer and lost all semblance of understanding when I got to the EvalEx part of the config.
I will be attempting to use this in my minecraftedu environment, but I don't want to use it with additional food modifications, and there are parts of the config I am not quite understanding.
My ultimate goal: Students will have diminishing benefits from consuming the same two foods over and over again encouraging diversity within the limited food supplies of vanilla minecraft. I also want this to kick in relatively quickly (say after eating three times) when players are consuming the same two foods.
So do I have: food.history.length=2
and: new.player.food.eaten.threshold=3
Yes, those values would work. However, the formula is more important than the history length in this instance, as you'd want to make the formula diminish foods heavily after they've been eaten once. Something like:
MAX(0, (1 - count))
would mean that any food eaten more than zero times would have a nutritional value of 0%. Changing that to
MAX(0, (1 - count/2))
would mean that any food eaten once would have a nutritional value of 50% and any food eaten twice would have a nutritional value of 0%.
With a harsh formula like that, you could play around with the history length until you think it feels right. The longer it is, the more variety people will be required to eat.
For example, with a length of 2, someone could cycle between 3 different foods over and over with no consequences. With a length of 3, however, it'd require 6.
I love the mod, and the whole idea behind it, but is their any way to remove the tooltip on food items about the diminishing returns? I find it kind of annoying having that always there, in your face.
What do you suggest instead? Just not having that information shown at all?
I just think to option should be added in the config, that's all.
Sure, I can add that.
How I can add meals of the mod "Aquaculture" to be recognized in you mod?.
I tried to create a .json file including all of meals I want to add:
http://pastebin.com/MsUDktKy
And how I have to add these .json file in SpiceOfLife.cfg?
##########################################################################################################
# foodgroups
#--------------------------------------------------------------------------------------------------------#
# Food groups are defined using .json files in /config/SpiceOfLife/
# See /config/SpiceOfLife/example-food-group.json
##########################################################################################################
foodgroups {
}
I tried:
foodgroups {aquaculture
}
---------------
foodgroups {
aquaculture
}
---------------
foodgroups {spiceoflife.foodgroup.aquaculture
}
---------------
foodgroups {
spiceoflife.foodgroup.aquaculture
}
---------------
foodgroups {
B:spiceoflife.foodgroup.aquaculture
}
---------------
But always the SpiceOfLife.cfg file, the section of groups, are reset to:
foodgroups {
}
Sorry for my english. And thanks in advance.
That mod will have to make their foods compatible. Direct the mod authors to this: https://github.com/squeek502/AppleCore/wiki/Integrating-food-items-with-AppleCore
Actually, that should have already been fixed (https://github.com/TeamMetallurgy/Aquaculture/issues/8).
What version of Aquaculture are you using?
The 1.7.2 version (I can't update forge to 1.7.10 for many reasons). The 1.7.10 is compatible with forge 1.7.2?
No. The 1.7.2 version of TSoL is no longer supported, sorry.
ok im fastly running out of things to eat any suggestions?
awesome mod btw playing it as part of Blightfall
Is there any way that I'm missing to move the diminishing returns bar somewhere else? Maybe above the food bar, instead of below? We use the Dual Hotbar mod, and the 2nd bar blocks the Spice of Life bar.
Thanks!
That is a bug with the Dual Hotbar mod that I've provided the fix for, but the author of that mod seems to no longer update it. There's not much that I can do about it, sorry.
Ah, I see. I'll go ahead and recompile mine to fix the issue. Hopefully someone will jump on the dual bandwagon and take over. Thanks for the update!
sorry if this is a nooby question, But how exactly do I go about creating a blacklist for foods?
Create a .json file with any name in the /config/SpiceOfLife/ folder (e.g. blacklist.json), and then put something like this in that file:
See /config/SpiceOfLife/example-food-group.json.
I see... okay so Now that I've created the Json (which I named "Potion-Blacklist"), what's the next step? Is there anywhere in the SpiceOfLife cfg where I'm supposed to reference "Potion-Blacklist"? this is what I entered for the blacklist config, by the way... would this be correct?
That's all you have to do. To disable it you'd add a key. Note you can/should also delete the "oredict" key (or make it empty) if you're not using it.
The tooltip will still show how many times blacklisted foods were eaten recently (because they still count towards the food history, so that information is relevant), but they will never have decreased nutritional value.
Updated to v1.3.0
Changelog
- Added support for foods in multiple food groups
--- A food that is in multiple food groups will get its nutritional value % from an average of all of its food groups, where each food group calculates its nutritional value % independently.
--- Replaced food group priority system with an "exclude" property in the food group json, to be able to exclude certain foods from a food group even if they would otherwise be caught by a wildcard metadata/oredict entry. For example, you can include "listAllBerry" oredict and then exclude "harvestcraft:strawberryItem". See example-food-group.json
- Added "color" property to food group json format (draws the food group name in the specified color in tooltips, etc)
- Added formula variable food_group_count : The number of food groups that the food belongs to
- Added formula variable distinct_food_groups_eaten : The number of distinct food groups in the player's current food history
- Added formula variable total_food_groups : The total number of enabled food groups
- Added more info to the food journal
--- Replaced page numbers with the count of total foods in the history and which food numbers are visible
--- Added tooltip to each food in the food journal showing how long ago the food was eaten and what needs to happen for it to expire from the food history
- Fixed errors when dumping food container contents into certain inventories
- Updated EvalEx expression parser to latest
Download v1.3.0 (for Minecraft 1.7.10, requires AppleCore):
CurseForge | Github | Adf.ly
I will be attempting to use this in my minecraftedu environment, but I don't want to use it with additional food modifications, and there are parts of the config I am not quite understanding.
My ultimate goal: Students will have diminishing benefits from consuming the same two foods over and over again encouraging diversity within the limited food supplies of vanilla minecraft. I also want this to kick in relatively quickly (say after eating three times) when players are consuming the same two foods.
So do I have: food.history.length=2
and: new.player.food.eaten.threshold=3
??
Thanks for any guidance. I am no programmer and lost all semblance of understanding when I got to the EvalEx part of the config.
-David
Yes, those values would work. However, the formula is more important than the history length in this instance, as you'd want to make the formula diminish foods heavily after they've been eaten once. Something like:
would mean that any food eaten more than zero times would have a nutritional value of 0%. Changing that to
would mean that any food eaten once would have a nutritional value of 50% and any food eaten twice would have a nutritional value of 0%.
With a harsh formula like that, you could play around with the history length until you think it feels right. The longer it is, the more variety people will be required to eat.
For example, with a length of 2, someone could cycle between 3 different foods over and over with no consequences. With a length of 3, however, it'd require 6.
EDIT: Here's a spreadsheet of the second formula so you can visualize it:
https://docs.google.com/spreadsheets/d/12xO6bd6RBbFSrl2UQNdRVlwSCjcMKLJvmKar9YBFdtc/edit?usp=sharing