DayZ
27 ratings
EatWorms
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
44.167 KB
6 Jun, 2023 @ 3:38pm
9 Jul, 2023 @ 3:04pm
9 Change Notes ( view )

Subscribe to download
EatWorms

Description
What Is This?

You can finally try those tasty worms!

A minimod that allows players to eat and cook worms. You can toggle the salmonella. vomit and food poisoning as well as set their odds of happening and their penalty values.

The mod supports any insects implemented by other mods as long as they subclass the Worm type.

Settings

The settings will be found inside your server's profile folder under "SweetCaptnMinimods" inside "EatWorms.json".

{ "IsActive": 1, "EnableVomit": 1, "EnableFoodPoisoning": 1, "EnableSalmonella": 1, "EnablePenaltiesOnVomit": 1, "VomitChance": 0.3499999940395355, "FoodPoisoningChance": 1.0, "FoodPoisoningPenalty": 10.0, "SalmonellaChance": 0.6000000238418579, "SalmonellaPenalty": 15.0, "VomitWaterDrain": 70.0, "VomitEnergyDrain": 55.0 }

Options
  • IsActive. Whether the mod is active.
  • EnableVomit. Whether to enable vomit on eating a worm. (1 is True, 0 is False)
  • EnableFoodPoisoning. Whether to apply food poisoning after eating a worm.
  • EnableSalmonella. Whether to apply salmonella after eating a worm.
  • EnablePenaltiesOnVomit. Whether to enable penalties on vomiting.
  • VomitChance. If vomit is enabled, the chance to vomit after eating a worm. (0.35 is 35%)
  • FoodPoisoningChance. If food poisoning is enabled, the chance to apply it.
  • FoodPoisoningPenalty. The amount of food poisoning to apply on the player.
  • SalmonellaChance. If salmonella is enabled, the chance to apply it.
  • SalmonellaPenalty. The amount of salmonella to apply on the player.
  • VomitWaterDrain. The amount of drain to the player's water stat when vomiting if EnablePenaltiesOnVomit set to 1.
  • VomitEnergyDrain. The amount of drain to the player's energy when vomiting if EnablePenaltiesOnVomit set to 1.

Compatibility and Issues

Needs more testing. Make sure to report any issues and incompatibilities in the comments section or the discussions.

Installation

This is both a client and a server mod. For the client, just install through the workshop and activate on the launcher. For the server install as usual, copying the mod into the server folder and including the mod's folder name in the "-mod" parameter of your server start file. Don't forget to copy the key in the "keys" folder to your server's keys folder.

"-mod=@YourOtherMods;@EatWorms;@YourOtherMods"


Planned
Make suggestions in the discussions or the comments section.
  • Make worms cookable. Done!

Notes

Please report any problems in the comments section and I'll try to get them fixed as soon as I can.

Credits

All the credits go to the modders who open-source and/or allow their projects to be used as learning material, with special mention to Zenarchist, Hunterz and Lucian.

Feel free to unpack, repack or do whatever you want with the mod, as long as you can credit its source.

Remember to always look at the change notes.
Popular Discussions View All (2)
1
12 Jun, 2023 @ 1:05pm
PINNED: Suggestions
SweetCaptn
0
6 Jun, 2023 @ 3:38pm
PINNED: Compatibility & Issues
SweetCaptn
18 Comments
3RA_[x]YouTeN[z]☢ 27 May @ 9:10am 
When you turn on the mod, the crafting: hook + worm - It's broken...
Paulo 21 Dec, 2024 @ 10:07pm 
What difference between...

EnableFoodPoisoning.
EnableSalmonella.

Poisoining is treatable?
Ruger 4 Dec, 2024 @ 5:53pm 
When you eat the worms, does it help with hunger?
mestisteam 20 Nov, 2024 @ 12:27pm 
You cant attach worms to hooks now, seems to be hapening after 1.26
SweetCaptn  [author] 9 Sep, 2024 @ 11:17am 
Of course you can ;) You can do whatever you want with the mod
Deadly3ric 8 Sep, 2024 @ 4:26pm 
Can I possibly repack this into a server pack?
Ruger 22 Jan, 2024 @ 7:16am 
Does eating the worms provide any nutrition or just make you sick? If it gives nutrition I would love to try it!
BrandedGuts 14 Sep, 2023 @ 1:23pm 
It would be sweet to be able to control how much food/water the worms give!
Shaggoth (Ищезаяц) 9 Jul, 2023 @ 10:05am 
Sweet, captn :)
SweetCaptn  [author] 9 Jul, 2023 @ 7:12am 
Hey Shaggoth! I've been out of the game for a couple of weeks but I'm finally back. I've fixed it so no penalties are applied when consuming cooked worms. I'll try to upload it tonight along with an option to toggle it off in the settings.