Mods / Fruit in troughs

Tags: #QoL #Tweak
Author: LivCi
Side: Server
Created: Nov 3rd at 4:22 PM
Last modified: Nov 9th at 7:57 PM
Downloads: 1234
Follow Unfollow 50

Recommended download (for Vintage Story 1.21.5):
fruitintroughs-1.0.2.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

 

Compatible mods:

 

 

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 Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.2 fruitintroughs 656 Nov 9th at 7:57 PM fruitintroughs-1.0.2.zip 1-click install
  • Added compatibility with Real Grapes
    • Red and green grapes can be added to both small and large troughs
1.0.1 fruitintroughs 428 Nov 4th at 3:42 PM 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 fruitintroughs 150 Nov 3rd at 4:44 PM Empty fruitintroughs-1.0.0.zip 1-click install

10 Comments (oldest first | newest first)

💬 NC_WOLFF, Nov 10th at 8:40 PM

looking forward to try this mod, thx 

💬 LivCi , Nov 5th at 8:04 AM

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

💬 GodzillaFan_13, Nov 4th at 9:50 PM

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

💬 Echoweaver, Nov 4th at 8:55 PM

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 , Nov 4th at 5:38 PM (modified Nov 4th at 5:39 PM)

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, Nov 4th at 4:00 PM

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, Nov 4th at 3:54 PM

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

 

💬 LivCi , Nov 4th at 3:44 PM

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 , Nov 4th at 3:30 PM

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, Nov 4th at 3:12 PM

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 | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом