About this mod
Forces Pals to recover at least 95% Satiety whenever they eat, instead of returning to work after exceeding 50%. Also allows changing the time it takes for them to eat.
- Requirements
- Permissions and credits
- Changelogs
- Donations
This is a very simple script that hooks into the base camp hunger logic and replaces the `RecoverSatietyTo` value. By checking what Pal is triggering the hook, it grabs their max satiety and then sets the RecoverSatietyTo value to 95% of their max. This means that no matter what their max Satiety is, they will always eat until they get to at least 95% of their max. It also can change EatTime to whatever value you would like, allowing you to change how long it takes for them to eat.
IMPORTANT: If you are using this mod with my Hungry Pal Rescuer mod use the alternate HUNGRY PAL RESCUER COMPATIBLE VERSION. Due to how UE4SS hooks functions, mods that hook the same function can cause conflicts. The alternate version hooks a separate (less efficient) function. It should work the same, as the main version it just fires a bit more. I need more feedback and testing from this alternate version to see if it's going to cause any lag spikes or anything before I replace it as the main version.
Disclaimer:
As with any mod, PLEASE back up your world save files before attempting to install and use this mod.
This mod still needs vigorous testing and may have unforeseen bugs, use at your own risk.
The newest version of UE4SS (v3.0.0) no longer requires an injector for PalServer.exe to load it, meaning the installation process is mostly the same regardless of local or dedicated server
Installation (Windows):
- Download the mod
- Download the latest version of UE4SS
- Extract the UE4SS folder contents into Pal/Binaries/Win64
- Extract the mod into the Mods folder extracted from UE4SS
- If you'd like, you can edit the config values by editing TehForceFeedMod/Scripts/config.lua
- That's it!
Linux: As of now I don't know of any consistent solution beyond using Wine. I don't personally have a Linux server to test mods on, and as such I don't intend to cover how to install/if the mod is even compatible on Linux systems at the moment.
Known Issues:
- If you severely neglect your Pals, you can end up giving them the "Overfull" debuff for eating so much at once. This is a bit beyond the scope of this mod, so just keep your pals healthy.
- Pals eating animation continues even after they're full. This isn't a bug or anything, it's just that the satiety tick happens at the start of the animation, not the end. They aren't consuming any more food, they're just finishing their last meal.
- Can cause moderate lag spikes when a user logs into the game as it runs the script calculation for every hungry pet they have. I recommend asking your players to stash their pals before they log off (also helps prevent the Overfull issue in case your pets start starving while you're offline)
if you want to support me and my mods, feel free to buy me a coffee