Back to mods

Vintage Story Mod DB · Vintage Story mod

Hunger Effects - Barebones Framework

What it is [[Designed for as a barebones framework for modders to flesh out!]] A small code mod: it does not replace the game. It reads the vanilla food/satiety bar (the same hunger / currentsaturation / maxsaturation the base game uses), maps that to one ki

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Hunger Effects - Barebones Framework release should I use?

Updated 3 months ago
Latest stable file 0.1.0
Game version 1.22.0
Loader Built-in Vintage Story mod system

Hunger Effects - Barebones Framework 0.1.0 targets 1.22.0. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Hunger Effects - Barebones Framework required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does Hunger Effects - Barebones Framework 0.1.0 need?

0.1.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Hunger Effects - Barebones Framework without breaking your instance.

Built for Hunger Effects - Barebones Framework 0.1.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.1.0. It targets 1.22.0; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.1.0. It opens that exact file at the source.

About this project

What does Hunger Effects - Barebones Framework add?

What it is

[[Designed for as a barebones framework for modders to flesh out!]]

small code mod: it does not replace the game. It reads the vanilla food/satiety bar (the same hunger / currentsaturation / maxsaturation the base game uses), maps that to one kind of server consequence here (walkspeed on a named stat layer), and shows a teach panel on the Character (C) screen in the same style as HealthEffects (not a separate keybind). This allows you to bind a stat to the hunger bar. The vision is: the more full you are you get buffs. The less full you are, you get debuffs. 

Purpose

Intent is the link between how full the hunger bar is and how the character is allowed to movenot the specific numbers, which are loud, testable placeholders. The “vision” is a reusable bridge: one fullness read, one place for your policy (curves + steps), one server application point, one layer so other mods and yours don’t trample each other, and an optional client block that matches the server for honesty.


How it works (in the doc)

  • Fullness = clamped current / max satiety.
  • Policy: “smooth” buff above 50% (one linear formula in code), step debuff below 50% (by integer % bands), 0 at 50%.
  • Server tick: Entity.Stats walkspeed on layer hungereffects (or clear if no hunger data).
  • Client attaches a composer when the character dialog is open, refreshes text, stacks under the HealthEffects panel if that mod is there.



Flavor

Flavor is your story on top of the belly: feels like fed enough you move well, hungry enough to slog;

License / use
Free to use, copy, modify, and redistribute this mod and derived works for any purpose (including commercial packs), provided you credit the original author (Squidbat) in your readme, ModDB page, or in-repo credits so others can find the upstream author for questions, debugging, or merge requests. Provide link to my profile. Same caveat as above regarding formal licenses if you need one.

Github Link: https://github.com/19HarryHaller27/-Hunger-Effects 

Project description from Vintage Story Mod DB.

Pick your setup

Hunger Effects - Barebones Framework releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Hunger Effects - Barebones Framework versions and loaders

1 of 1 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.