Barotrauma

Barotrauma

Not enough ratings
[Main] Hunger and thirst system
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
381.191 KB
7 Feb, 2023 @ 12:32am
7 Feb, 2023 @ 12:25pm
4 Change Notes ( view )

Subscribe to download
[Main] Hunger and thirst system

Description
COMPATIBILITY:
- Override Human.xml in next lines.
...
<ragdolls folder="Content/Characters/Human/Ragdolls" />
<animations folder="Content/Characters/Human/Animations" />
...
...
<StatusEffect type="Always" target="Character" >
<Conditional durationincrease="lte 0" />
<Affliction identifier="hunger" strength="0.015"/>
<Affliction identifier="thirst" strength="0.045"/>
</StatusEffect>
<StatusEffect type="Always" target="Character">
<Conditional durationincrease="gt 0" />
<Affliction identifier="hunger" strength="0.07"/>
<Affliction identifier="thirst" strength="0.022"/>
</StatusEffect>
<StatusEffect type="Always" target="Character">
<Conditional nausea="gt 0" />
<Affliction identifier="hunger" strength="0.01"/>
<Affliction identifier="thirst" strength="0.03"/>
</StatusEffect>
</Character>
...


The rest of the content is added without changes in the game.

<=========================================================================>
This mod add hunger, thirst and items as an example of using this mod.

This mod is the BASIS for others mods that add food. But it still have some items for playing without other mods.
<=========================================================================>
Please note, this mod do not change vanilla food. This means that you cannot get rid of hunger with standard food from the game. Only mod food can restore your hunger.

NEW AFFLICTIONS:
Hunger
  • This is what it is to be a live.
  • Over time or due to poor health, this effect will accumulate. At high values, he imposes debuffs. Deadly at high values.
  • Slow metabolism affects the speed of accumulation.

Thrist
  • This is what it is to be a live.
  • Over time or due to poor health, this effect will accumulate. At high values, he imposes debuffs. Deadly at high values.
  • Slow metabolism affects the speed of accumulation.

Well-fed
  • This effect accumulates when you eat.
  • Slowly removes hunger.
  • If you overtake, then you will feel bad.
  • At medium-high values, buff gives the maximum health.

Well-thrist
  • This effect accumulates when you drink.
  • Slowly removes thirst.
  • If you drink too much water, then you will feel bad.

Food poisoning
  • If you eat and drink something raw, there is a chance to get this effect.
  • It causes nausea and increases hunger and thirst.
  • In addition to this, raw food can also be infected with parasites.

Fat
  • If you eat a lot of food for a large time, then this effect will appear. At high values, he imposes debuffs. Deadly at high values.
  • At medium-high values, buff gives the maximum health and resistance to the flow of water.

Empty
  • Technical affliction. Nothing interesting.

<=========================================================================>

NEW ITEMS:
Knife for meat
  • This knife works like an ordinary diving knife. But only it allows you to extract meat from bodies.
  • Just hit them with a dead body!

Raw meat
  • Restores a little hunger. Deteriorate outside the frige crate.
  • In raw state, can cause illness.

Cooked meat
  • Restores hunger. Deteriorate outside the frige crate.
  • Tasty, hearty, absolutely harmless.

Salty meat
  • Restores hunger a little more. Add thirst. Deteriorate slowly outside the frige crate.
  • Tasty, hearty, absolutely harmless.

Tobacco bread
  • Restores hunger. Deteriorate outside the frige crate.
  • Tasty, hearty, absolutely harmless. Gives a little psychosis resistance.

Promegrenade soup
  • Restores hunger. Deteriorate outside the frige crate.
  • Tasty, hearty. Gives a little buffs like a promegrenade extract.
<=========================================================================>
Bottle
  • Empty bottle from aluminium. Need to create another drinks.
  • Requires additional processing for storing dirty water.

Dirty water
  • Raw water. It is obtained by dipping the bottle into the water.
  • Requires additional processing.
  • In raw state, can cause illness.

Clean water
  • Clean and fresh water. Deteriorate outside the frige crate.
  • Tasty, hearty, absolutely harmless.

RaptorBane 100500
  • Cheap energy drink. Do not recommend drink this. Deteriorate outside the frige crate.

Activated coal
  • Helps against food poisoning and nausea.

Fridge container
  • When active, keeps food and water in integrity.
  • A power source is required for work.

-= Bonus! New flags for npc conversations. =-


Do you want to offer an idea? Found a mistake? Created own mod with based on mine? Tell me about this in the comments or discussions.
And, please, if you use the contents of the mod to create and lay out your project, leave a link to the source. I do not oblige, but as a request.
5 Comments
TheNylan 31 Aug, 2024 @ 12:18pm 
i think he means the food items from dynamic europa
Fagottini  [author] 29 Feb, 2024 @ 3:27pm 
@Jeroop5

I do not rememer this moment right now.
Dynamic Europa changes only map and do not touch Human file. OR you can always put this mode higher if you need. :)
Jeroop5 29 Feb, 2024 @ 11:50am 
Is this mod compatible with dynamic europa? if not, could you please make a patch?
Fagottini  [author] 17 Mar, 2023 @ 6:14am 
Should. Mod was made after the pre-release patch
Grimfrad 17 Mar, 2023 @ 4:05am 
work with 1.0 update?