Mods / Fruit in troughs

Tags: #QoL #Tweak
Author: LivCi
Side: Server
Created: 3 days ago
Last modified: 2 days ago
Downloads: 294
Follow Unfollow 26

Recommended download (for Vintage Story 1.21.5):
fruitintroughs-1.0.1.zip  1-click install


You can now finally feed your animals all the delicious vanilla fruits that they couldn't enjoy before!

 

Here is a list of what can be placed in each type of trough:

 

Small trough:

  • Blueberries
  • Cranberries
  • Black currants
  • Red currants
  • White currants
  • Cherries
  • Lychees

 

Large troughs:

  • Saguaros
  • Red apples
  • Pink apples
  • Yellow apples
  • Peaches
  • Pears
  • Oranges
  • Mangoes
  • Pomegranates
  • Breadfruits
  • Pineapples (whole and sliced)
  • ... and all the fruits that can fit in the small trough

 

 

Feel free to check out my other mods too!

  1. Snowshoes: Travel winter terrain without the slowdown of deep snow
  2. Aluminum from bauxite: Adds aluminum metal to the game, as well as recipes to refine it from bauxite rock
  3. Craftable wattle and daub: Adds a recipe for crafting wattle and daub blocks
  4. Handy daub: Makes adding daub to wattle fences easier by automatically swapping it to the hotbar
  5. Splittable stone paths: Split stone path blocks into stairs, slabs and quarters, or combine them back into full blocks
  6. Burnable roofs: Allow all flammable roofing to be used as fuel. That's it

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
1.0.1 185 2 days ago fruitintroughs-1.0.1.zip 1-click install
  • Fixed food tag patch for fruits. Now it can handle the absence of the "foodTags" attribute
1.0.0 109 3 days ago Empty fruitintroughs-1.0.0.zip 1-click install

9 Comments (oldest first | newest first)

💬 LivCi , 2 days ago

GodzillaFan_13 sure, I will add that once I get the time

💬 GodzillaFan_13, 2 days ago

if you're open too it, i would love to see compat w/ https://news.kalataka.ru/realgrapes

💬 Echoweaver, 2 days ago

It sounds like you wouldn't have to do anything. I know those animals can eat fruit. The fruit just can't be placed in troughs. So I was just curious if there was anything else that needed to be done to a create such that they would eat the fruit out of troughs. Sounds like not.

💬 LivCi , 2 days ago (modified 2 days ago)

Echoweaver the animals must have the "fruit" food tag in their JSON. For this mod, I just gave all the fruits the "tastyvegetable" food tag, so I wouldn't have to patch all the animals individually, which will allow them to eat fruits from the trough. I quickly glanced through The Critters Pack files and noticed that creatures like the hedgehog should already be able to eat from troughs because they have the "fruit" tag in their diet. I could add a compat patch for any animals that don't have it, but idk what animals from that mod can be domesticated and farmed for offspring lol

💬 Echoweaver, 2 days ago

I don't quite know how feeding works. If a modded animal eats food thrown on the ground, will they eat it from a trough? I'm thinking of animals from The Critter Pack, which eat fruit thrown on the ground.

💬 Damonicus1986, 2 days ago

quite big modpack :D  to be honest however this update fixed those errors thank you 

 

💬 LivCi , 2 days ago

Released a new version for this error. Hopefully that will fix it! But I would still check why "foodTags" is missing from your game files. It could either be another mod that patches the fruit.json file and removes the attribute, or you modified that file directly, which should never be done

💬 LivCi , 2 days ago

Damonicus1986 what were you doing before you got this error? It's strange because it shouldn't happen, the "foodTags" attribute always exists inside the fruit itemtype JSON. I cannot reproduce the error.

 

What version of the game and what mods are you using? If you can, please reach out to me on Vintage Story's official Discord server

💬 Damonicus1986, 2 days ago

lots of errors like this Error] Patch 1 (target: game:itemtypes/food/fruit.json) in fruitintroughs:patches/add-food-tags.json failed because supplied path /attributes/foodTags/- is invalid: The json path /attributes/foodTags/- was not found. Could traverse until /attributes, but then 'foodTags' does not exist. Full json at this path: {
"nutritionPropsWhenInMeal": {
"satietyByType": {
"*-saguaro": 90,
"*-cranberry": 90,
"*-lychee": 90,
"*-breadfruit": 450,
"*-*grapes": 120,
"@*-(redapple|yellowapple|pinkapple|peach|pear|orange|mango|pomegranate)": 150,
"*": 120
},
"foodcategory": "Fruit"

 

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом