Mods / Better item flags

Tags: #Tweak #Utility
Authors: Ritzga, Syd
Side: Both
Created: Mar 10th 2024 at 1:18 PM
Last modified: Sep 25th at 8:14 PM
Downloads: 2472
Follow Unfollow 19

Latest release (for Vintage Story 1.20.0-pre.0 - 1.21.2-rc.2, potentially outdated):
betteritemflags-v0.1.2-1.21.0.zip  1-click install


Description

Adds missing flags (see Item flags in source code) to items like for items storable in the mining bag: Mining bag.
Its not realy a user mod it's just a helper mod for others, which use the flags.

Whats the Content ?

  • currently flags for gardening based items/blocks
Patched items
survival-blocktypes-plant-bamboo.json
survival-blocktypes-plant-barrelcactus.json
survival-blocktypes-plant-bigberrybush.json
survival-blocktypes-plant-crop-amaranth.json
survival-blocktypes-plant-crop-bellpepper.json
survival-blocktypes-plant-crop-cabbage.json
survival-blocktypes-plant-crop-carrot.json
survival-blocktypes-plant-crop-cassava.json
survival-blocktypes-plant-crop-dead.json
survival-blocktypes-plant-crop-flax.json
survival-blocktypes-plant-crop-onion.json
survival-blocktypes-plant-crop-parsnip.json
survival-blocktypes-plant-crop-peanut.json
survival-blocktypes-plant-crop-pineapple.json
survival-blocktypes-plant-crop-rice.json
survival-blocktypes-plant-crop-rye.json
survival-blocktypes-plant-crop-soybean.json
survival-blocktypes-plant-crop-spelt.json
survival-blocktypes-plant-crop-sunflower.json
survival-blocktypes-plant-crop-turnip.json
survival-blocktypes-plant-croton.json
survival-blocktypes-plant-fern.json
survival-blocktypes-plant-ferntree.json
survival-blocktypes-plant-flower-lupine.json
survival-blocktypes-plant-flower.json
survival-blocktypes-plant-fruittreebranch.json
survival-blocktypes-plant-fruittreefoliage.json
survival-blocktypes-plant-hanginglichen.json
survival-blocktypes-plant-hay.json
survival-blocktypes-plant-herb.json
survival-blocktypes-plant-leaves-bamboo.json
survival-blocktypes-plant-leaves-branchy.json
survival-blocktypes-plant-leaves-fallen.json
survival-blocktypes-plant-leaves-narrow.json
survival-blocktypes-plant-leaves-normal.json
survival-blocktypes-plant-lichen.json
survival-blocktypes-plant-mushroom-side.json
survival-blocktypes-plant-mushroom.json
survival-blocktypes-plant-plaintreesapling.json
survival-blocktypes-plant-pumpkin-fruit.json
survival-blocktypes-plant-pumpkin-motherplant.json
survival-blocktypes-plant-pumpkin-vine.json
survival-blocktypes-plant-rafflesia.json
survival-blocktypes-plant-reedpapyrus.json
survival-blocktypes-plant-saguarocactus.json
survival-blocktypes-plant-seaweed.json
survival-blocktypes-plant-silvertorchcactus.json
survival-blocktypes-plant-smallberrybush.json
survival-blocktypes-plant-tallfern.json
survival-blocktypes-plant-tallgrass.json
survival-blocktypes-plant-waterlily.json
survival-blocktypes-plant-wildvine.json
survival-blocktypes-soil-farmland.json
survival-itemtypes-food-bambooshoot.json
survival-itemtypes-food-fruit.json
survival-itemtypes-food-grain.json
survival-itemtypes-food-legume.json
survival-itemtypes-food-ontree.json
survival-itemtypes-food-vegetable.json
survival-itemtypes-resource-bamboostakes.json
survival-itemtypes-resource-catttailroot.json
survival-itemtypes-resource-catttailtops.json
survival-itemtypes-resource-compost.json
survival-itemtypes-resource-drygrass.json
survival-itemtypes-resource-flaxfibers.json
survival-itemtypes-resource-flaxtwine.json
survival-itemtypes-resource-herbbundle.json
survival-itemtypes-resource-oakbark.json
survival-itemtypes-resource-papyrusroot.json
survival-itemtypes-resource-papyrustops.json
survival-itemtypes-resource-resin.json
survival-itemtypes-resource-seeds.json
survival-itemtypes-resource-treeseed.json
survival-itemtypes-resource-tuleroot.json

Whats planned ?

  • Set flags to all itmes and blocks

Known Bugs

  • missing flags or possible wrong flags?

Changelog

Spoiler!
  •  0.1.2
    • Updated to VS 1.21.
  •  0.1.1
    • Finally fixed the carrots bug
  • 0.1.0
    • Init mod upload

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
0.1.2 betteritemflags
1.20.0-pre.0 - 1.21.2-rc.2
576 Sep 25th at 8:14 PM betteritemflags-v0.1.2-1.21.0.zip 1-click install
  • Made it compatible with VS 1.21
0.1.1 betteritemflags
1.19.0-pre.0 - 1.20.4
827 Dec 13th 2024 at 9:06 PM betteritemflags-v0.1.1-1.19.0.zip 1-click install
  • Finally fixed the carrots bug
0.1.0 betteritemflags
1.19.0 - 1.19.5-rc.1
1068 Mar 16th 2024 at 9:58 AM better-item-flags-v0.1.0-1.19.0.zip 1-click install

<p>added plant and gardening flags to items</p>


6 Comments (oldest first | newest first)

💬 Juppi, Oct 31st at 7:58 AM

Hi Ritzga & Syd.  Thank you for this mod.  It's going to be a big help sorting item types into dedicated containers such as farming bags.  How is it that the VS team hasn't implemented this code across the board?  

It's new?  I installed this mod for the first time and picked up a patch error for compost.json.  I'm no coder, but I think the patch op line should be "add" instead of "replace". 

For the time being, I made the edit on my end and it seems to work.  It didn't throw-back any errors.   I can't test it atm as I don't have any farming bag mods loaded.

I just started learning C# and am poking out a mod for just such a bag.  Anyhoo, have a nice one.  Cheers.

 

💬 NastyFlytrap, Dec 26th 2024 at 5:11 PM

Please update the changelog in the description

💬 Ritzga , Dec 13th 2024 at 9:07 PM

Finally fixed!

💬 Elimy, Sep 20th 2024 at 5:11 AM

Hey there,  it does appear that carrots values are all replaced with your mod.  can be found in the json file in your patches folder.

💬 Ritzga , Jun 15th 2024 at 9:18 PM

Corajor do you have any other mods who cause this ? I only change the storage flags and no other setting.

💬 Corajor, May 31st 2024 at 11:20 PM

for some reason, this mod makes my carrots have a 1 day growth period, 0 min and max temperature...

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