Mods / Realistic Starvation - Fixed for 1.20 + Support for Combat Overhaul

Tags: #Food #QoL
Author: Lil_Wojtyla
Side: Both
Created: Jan 29th at 5:13 PM
Last modified: Jan 29th at 8:22 PM
Downloads: 654
Follow Unfollow 31

For testers:
starvation_1.0.7.zip


TL;DR realistic starvation and energy managment like in real life

Works with 1.20!

This mod is fork from https://news.kalataka.ru/show/mod/10343

It means that I am not creator, I've just coppied this mod and fixed for 1.20 so people can enjoy this masterpice and creator can chill out - I've also submitted fix for original mod, so when author will update his mod (requires one click btw), I will remove mine to not confuse people and leave credit for original author.

 

I've also fixed animations which was big issue - they worked only for third person, basically based on animation this mod calculates how much energy to consume, for first person it worked only for Idle and Sprint

Now same anims works on first person and third person, also added basic support for Spears from Combat Overhaul

 

I've created also second mod for hunger management, which is much simpler, but basically have same purpose, just easier implementation and better compatibility
https://news.kalataka.ru/hunger (Important, these 2 mods are not compatible with each other)

Mod Version Downloads Released Changelog Download
1.0.7 555 Jan 29th at 8:22 PM starvation_1.0.7.zip

Critical update for first person view

Fixed:

  • Calculating usage of calories for players who use first person view - before it basically didn't work for other things than being idle or sprinting

Added:

  • Support for spears from Combat Overhaul
1.0.6 99 Jan 29th at 5:16 PM starvation_1.0.6.zip

Works with 1.20


17 Comments (oldest first | newest first)

💬 SkyKi, Nov 12th at 10:36 PM

please fix this mod , i want to play it on my server

💬 Rex87, Oct 21st at 3:15 PM

well looks like this mod already is broken, getting kicked out from my world because game has too many errors, this would be really cool mod to play with but yeah no longer works, also would be amazing if it did work in multiplayer.

💬 YOHarbinger, Feb 20th at 5:54 PM

This is a problem with base Realistic Starvation, where it's utterly incompatible with multiplayer. You won't be able to play this with multiple people. Modrome

💬 Modrome, Feb 5th at 2:59 AM

Error when a second player tries to join the world in Ad-hoc MP:

4.2.2025 21:54:15 [Error] Exception: Object reference not set to an instance of an object.
at Starvation.ModSystemStarvation.GetRainfallAtEntity(Entity entity) in C:\Projects\Starvation\starvation\src\ModSystemStarvation.cs:line 311
at Starvation.ModSystemStarvation.GetHumidityAtEntity(Entity entity) in C:\Projects\Starvation\starvation\src\ModSystemStarvation.cs:line 321
at Starvation.EntityBehaviorStarve.ServerTickSlow(Single deltaTime) in C:\Projects\Starvation\starvation\src\EntityBehaviorStarve.cs:line 115
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 27
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 57
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 897

This error loops until the host crashes.

💬 Lil_Wojtyla , Feb 1st at 8:07 PM

I've released second mod with same purpose, but they're not compatible

https://news.kalataka.ru/hunger

Why?

  • I just wanted to fix compatibility of this mod, but I don't like many mechanisms and I think these are too complicated for players in general
  • I can develop it my way without breaking experience of people who enjoys Realistic Starvation system
  • New mod will hit wider target of players, people who needs hard experience will enjoy it as much as people who likes game to be simple (planning to make it configurable, and it can be less or more punishing, and less or more rewarding)
  • Better compatibility with other food mods - basically my mod will work with anything except this mod, because this mod actually breaks the eating system

Why these mods are not compatible?

  • Because Realistic Starvation "reinwents wheel", that's also why other mods wont support it
💬 DeviousDoge, Jan 31st at 11:30 PM

That sounds like a good plan. I'm a sucker for things that get way too into immersion, personally, but I think choosing to go in a direction of "deepen the existing hunger system without going overboard" is a great direction to go. :)

💬 Lil_Wojtyla , Jan 31st at 2:24 PM

After longer research turns out that giving it support for different types of food seems very hard (especially vanilla pies, didn't even dig into supporting external mods), in general I don't like the idea in this mod that every food have overriten calories because it means every mod needs to be manually supported, every update which adds new food will make this mod deprecated, even update for already supported mods will make it deprecated

I am considering making mod from scratch which will solve hunger a little better, still realistic but not mathematicly realistic

What would the mod do?
1. All foods have same amounts of satiety - this way EVERY mod is supported
2. There's no such concept as Calories and calories per day - it seems a little redundant to the vanilla system
3. Activities which you do influence your satiety, you lose more when you run, swim, dig, build, fight

💬 Lil_Wojtyla , Jan 31st at 11:54 AM

Right, I agree with you guys, will focus more to give it better support instead of making it even more immersive 

💬 Kalmorph, Jan 31st at 4:08 AM

I like the idea of consuming more energy when sprinting and when only concluding actions (like cutting tress and mining). Anything else would be going too far and make it too much intrusive. As DeviousDoge mentioned, without an dedicated button to be unarmed, it would create barriers on gameplay elements that the mod shouldn't affect (in this case, inventory management).

Also, I suggest you talk with sekelsta. She has an mod that overhaul nutrition for animals and she had plans on making a new mod that uses the same nutrition system for players. I think this mod and these ideas has ton of sense to be merged with that system.

💬 DeviousDoge, Jan 30th at 10:41 PM

"- Have ability to consume more energy when you sprint+hold things - for now doesnt matter if you sprint with spear or bare hands (Not sure if I'll be able to do this as this mod depends on animations and you can read only one animation at time, but I'll give it a try)"

I like the idea of this, but I feel like it would kind of come off as unfair/tedious without a dedicated "unarmed" button. having to always clear out a hotbar slot instead of just having something like an offhand slot where we can just press, say, X, and we switch to that always empty slot, would honestly get very tedious and lead to most people probably just... sprinting with stuff in their hands, even when they don't need it. So I feel like, as a QoL thing, not having this unless a system like that exists would be valid.

 

Just my 2 cents on the matter. I can't wait to give this mod a spin when it works with expanded foods :D

💬 LunaGore, Jan 29th at 11:24 PM

Glad someone took up this task! Now to wait patiently for other mod compats.

💬 Lil_Wojtyla , Jan 29th at 10:09 PM

No, it's not because this mod redeclares saturation of each food - I think I can try to extend it, can't promise but will give it a try

From incoming features I would also love to:
- Consume energy when block is being destroyed or placed (not only for swinging pickaxe because it's not precise enough)
- Have ability to consume more energy when you sprint+hold things - for now doesnt matter if you sprint with spear or bare hands (Not sure if I'll be able to do this as this mod depends on animations and you can read only one animation at time, but I'll give it a try)
- Support for more weapons from different mods
- Expanded foods

💬 Kalmorph, Jan 29th at 9:32 PM

Since you messed with the code from the original mod, do you know if the mod is compatible with other food mods, like Expanded Foods?

💬 Lil_Wojtyla , Jan 29th at 8:56 PM

I have no idea how to make it work I never created any mod for vintagestory (except fixing this one) If you know I'll love to fix it

For now use manual installation process

💬 rhino1998, Jan 29th at 8:25 PM

Are the 1-click mod install buttons broken for you? They're not appearing for me

💬 Lil_Wojtyla , Jan 29th at 8:23 PM

If you downloaded first version - update it ASAP, huge feature didn't work for First person view, now it's fixed

💬 nacnud, Jan 29th at 5:23 PM

thanks!!!!

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