Description
Tired of your Pals nibbling on a tiny bite of food, going back to work, and then revisiting the feed box thirty seconds later because they only ate one berry? Not anymore! Pal Force Feeder makes sure your pals get a healthy meal every time they visit the feed box, ensuring they get to at least 95% Satiety before they return to work.
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.
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.
Install (Singleplayer/Coop):
- Download the mod
- Download the latest version of UE4SS XInput
- Extract the UE4SS folder contents into Palworld/Pal/Binaries/Win64
- Launch the game once and then close it (not sure if this is necessary, I forget)
- Extract this mods' zip into your Palworld/Pal/Binaries/Win64/Mods folder
- If you'd like, you can edit the config values by editing TehForceFeedMod/Scripts/config.lua
- That's it!
Important Note: You must be the host of the game for the script to work correctly! This will not work if you are not the host, and any of your friends playing with you do not need to also install the script.
Install (Dedicated Server):
- Download the mod
- You must use PalWorld-ServerInjector to inject UE4SS into the server process. Set it up according to the GitHub readme.
- Extract the zip into your Palserver/Pal/Binaries/Win64/Mods folder
- Start your server with PalServerInject.exe
- If you'd like, you can edit the config values by editing TehForceFeedMod/Scripts/config.lua
- That's it!
Important Note: Your players do not need to install this mod for use on a dedicated server!
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 animations continue 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)