PEAK

Details

Last Updated
2 months ago
First Uploaded
2 months ago
Downloads
55K
Likes
0
Size
69KB
Dependency string
tony4twenty-Full_Belly-3.1.1
Dependants

๐Ÿฅ˜ Full Belly - Hunger Control for PEAK

Full Belly v3.1.1 - A comprehensive hunger management system that tracks food consumption, prevents hunger while full or bloated, and includes overeating penalties with custom affliction UI.

๐Ÿ”ง Features

  • ๐Ÿ›‘ Blocks hunger gain when full or bloated - hunger is completely paused while you have these labels
  • ๐Ÿ— Tracks all food consumption - accumulates food values to determine fullness
  • ๐Ÿ’ฏ Fullness system - reach a threshold to become "full" and block hunger
  • ๐ŸŽˆ Overeating/Bloating system - eat while full to become bloated with custom UI affliction
  • ๐Ÿ’จ Farting mechanics - random chance to fart when eating while full or during bloated decay
  • โณ Decay system - fullness and bloated status decay over time back to normal
  • ๐Ÿ“Š Percentage display - shows current fullness and bloated percentages on screen with keyboard positioning
  • ๐ŸŽฎ Keyboard UI positioning - use Ctrl+Arrow keys to move UI, Ctrl+Enter to toggle edit mode, Ctrl+Tab to cycle move speeds
  • ๐ŸŽจ Custom Bloated affliction - visual status bar integrated with vanilla UI
  • ๐Ÿ”— StaminaInfoForked compatible - automatically hides bloated percentage when StaminaInfoForked is detected
  • ๐ŸŒ Multiplayer sync - host configuration syncs to all clients automatically
  • ๐Ÿ”’ Anti-cheat handshake - clients can only use mod features if host has the mod
  • โŒ Ignore items - configure items that shouldn't count toward fullness

๐Ÿง  How It Works

Fullness System

  • Food consumption values are tracked and accumulated
  • When you reach the Fullness Threshold (default: 40%), you become labeled as "FULL"
  • While labeled as FULL, hunger gain is completely blocked
  • Fullness decays over time (default: 1% every 3 seconds) until it reaches 0%
  • Once fullness reaches 0%, the FULL label is removed and hunger resumes normally

Overeating/Bloating System

  • If you eat while already FULL, the excess food value becomes Bloated
  • Bloated status appears as a custom pink affliction bar in your stamina UI
  • While bloated, hunger remains blocked
  • Bloated amount decays separately (default: 1% every 3 seconds) until it reaches 0%
  • Once bloated reaches 0%, the BLOATED label is removed (but you may still be FULL)
  • Being bloated makes you full for a longer time but gives you less stamina

Farting System

  • While FULL: Random chance to fart when eating (default: 1% chance)
  • While BLOATED: Random chance to fart during decay (default: 5% chance per decay interval)
  • Farting reduces fullness/bloated amount slightly

Label Persistence

  • Labels persist until the associated value reaches 0%, not just when crossing the threshold
  • This means you stay FULL/BLOATED even if the value drops below the threshold until it fully decays (must reach threshold to become full first)

โš™๏ธ Configuration

A config file is auto-generated at:
BepInEx/config/tony4twentys.full_belly.cfg

Configs are organized into sections for easier navigation:

Full Belly (Core Settings)

Key Description Default
FullnessThreshold Food consumption value needed to become full (0โ€“1 float). Example: 0.40 = 40% 0.40
IgnoredItems Comma-separated item names to ignore. Consume items and check logs to find exact names. (empty)

Full Belly - UI (UI Customization)

Key Description Default
ShowPercentageDisplay Display food consumption percentage on screen. true
PercentageFontSize Font size for the percentage display text. 24
PercentageOffsetX X offset from center (adjusted via Ctrl+Arrow keys in edit mode). 0
PercentageOffsetY Y offset from center for lower third positioning (adjusted via Ctrl+Arrow keys in edit mode). 0
PercentageColor Percentage text color (hex only, #RRGGBB or #RRGGBBAA). #FFFFFFFF
UIEditModeKey Key to press with Ctrl to toggle UI edit mode (default: Enter/Return). Return
UISpeedCycleKey Key to press with Ctrl to cycle through move speeds (5, 10, 25, 50, 100 px/s). Tab

UI Positioning Controls:

  • Ctrl + Enter (or configured key): Toggle edit mode (unlock/lock UI for positioning)
  • Ctrl + Tab (or configured key): Cycle move speeds (5 โ†’ 10 โ†’ 25 โ†’ 50 โ†’ 100 pixels/second)
  • Ctrl + Arrow Keys: Move UI in edit mode (only works when edit mode is active)
  • UI automatically centers in the lower third of the screen, then applies your offset
  • Position saves automatically when you exit edit mode

Full Belly - Decay (Decay Settings)

Key Description Default
FullnessDecayInterval Seconds between fullness decay ticks. 3
FullnessDecayAmount Fullness percentage decayed per tick (relative to threshold, e.g., 0.01 = 1% of threshold per interval). 0.01
BloatedDecayInterval Seconds between bloated decay ticks. 3
BloatedDecayAmount Bloated percentage decayed per tick (actual food value, not relative to threshold). 0.01

Full Belly - Overeating (Overeating Settings)

Key Description Default
EnableOvereating Enable overeating penalties - eating while full can cause Bloated affliction. true

Full Belly - Farting (Farting Settings)

Key Description Default
EnableFarting Enable random farting when eating while full. true
FartChance Chance to fart when eating while full (0.01 = 1% chance). 0.01
DecayFartChance Chance to fart during bloated decay tick (0.05 = 5% chance per decay interval). 0.05

๐Ÿ“‹ Example Logs

[Info :Full Belly] Ate Airplane Food, value: 40.00%, Total consumption: 40.00% [Info :Full Belly] Player labeled as FULL. Consumption: 40.00%, Threshold: 40.00% [Info :Full Belly] Player labeled as BLOATED. Bloated amount: 20.00% [Info :Full Belly] Bloated Affliction Created [Info :Full Belly] Fart triggered!

๐ŸŒ Multiplayer Support

  • Host Config Sync: Host's configuration automatically syncs to all clients
  • Anti-Cheat Handshake: Clients can only use mod features if the host has the mod installed
  • Room Properties: Config and handshake data are stored in Photon room properties for reliable synchronization
  • Late Join Support: Players joining mid-game will automatically receive the host's configuration

โš ๏ธ Important Notes

  • No Reconnect State: Player fullness/bloated state is NOT preserved on disconnect/reconnect (players restart fresh)
  • No External Dependencies: Uses Photon PUN2 directly (no PhotonCustomPropsUtils dependency anymore)
  • Bloated Affliction: Requires PEAKLib mods for custom Bloated affliction UI. Falls back to Weight status if PEAKLib is not available.
  • StaminaInfoForked Compatibility: This mod is compatible with StaminaInfoForked. When StaminaInfoForked is detected, Full Belly automatically hides its bloated percentage display to avoid duplication (StaminaInfoForked already shows this information on the stamina bar).

๐Ÿ› ๏ธ Requirements

  • BepInEx
  • Optional: PEAKLib - For custom Bloated affliction UI (falls back to Weight status if not installed)

๐Ÿ“ฆ Installation

  1. Download via Thunderstore or manual install
  2. Place the .dll file in: /PEAK/BepInEx/plugins/
  3. Launch game to generate config ๐Ÿ”ฅ or use the thunderstore mod manager app ๐Ÿ”ฅ

๐Ÿ‘จโ€๐Ÿณ Credits

Author tony4twenty]

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.