made spring water drinkable

This commit is contained in:
Pyritie
2025-12-01 15:16:16 +00:00
parent 06e7df4cdf
commit 5ecd67c42d
3 changed files with 16 additions and 0 deletions

View File

@@ -371,4 +371,7 @@ const registerTooltips = (event) => {
text.add(1, Text.of("Strength (02:40)").blue());
text.add(2, Text.translate('tfg.tooltip.cooling_foods'));
})
event.addAdvanced(['tfc:bucket/spring_water'], (item, advanced, text) => {
text.add(1, Text.translate('tfg.tooltip.warming_foods'));
})
}

View File

@@ -0,0 +1,11 @@
{
"ingredient": "tfc:spring_water",
"thirst": 10,
"effects": [
{
"type": "tfg:warming",
"duration": 20,
"amplifier": 0
}
]
}

View File

@@ -715,6 +715,7 @@ function registerTFCFluidTags(event) {
/***********************************************************************************************************/
event.add("tfc:ingredients", "tfc:spring_water");
event.add('tfc:drinkables', 'tfc:spring_water')
event.add("tfc:alcohols", "tfcagedalcohol:aged_beer");
event.add("tfc:alcohols", "tfcagedalcohol:aged_cider");
@@ -725,6 +726,7 @@ function registerTFCFluidTags(event) {
event.add("tfc:alcohols", "tfcagedalcohol:aged_corn_whiskey");
event.add("tfc:alcohols", "tfcagedalcohol:aged_rye_whiskey");
event.add("tfc:alcohols", "tfcagedalcohol:aged_mead");
event.add("tfc:alcohols", "tfc_gurman:nalivka");
// Добавляем тег для скрытия в EMI
event.add("c:hidden_from_recipe_viewers", "tfc:metal/bismuth");